toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'text': text,
'icon_custom_emoji_id': iconCustomEmojiId.toString(),
'style': style.toJson(),
'type': type.toJson(),
};