toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'name': name,
'custom_emoji_id': customEmojiId.toString(),
'title': title,
'is_custom': isCustom,
'is_creator': isCreator,
'install_count': installCount,
'prompt': prompt,
'creator_user_id': creatorUserId,
'english_example': englishExample?.toJson(),
};