toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'reply_to': replyTo?.toJson(),
'date': date,
'content': content.toJson(),
'effect_id': effectId.toString(),
'suggested_post_info': suggestedPostInfo?.toJson(),
};