toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'id': id.toString(),
'set_id': setId.toString(),
'width': width,
'height': height,
'emoji': emoji,
'format': format.toJson(),
'full_type': fullType.toJson(),
'outline': [for (final e in outline) e.toJson()],
'thumbnail': thumbnail?.toJson(),
'sticker': sticker.toJson(),
};