toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'min_star_count': minStarCount,
'pin_duration': pinDuration,
'max_text_length': maxTextLength,
'max_custom_emoji_count': maxCustomEmojiCount,
'first_color': firstColor,
'second_color': secondColor,
'background_color': backgroundColor,
};