toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'id': id,
'sending_state': sendingState?.toJson(),
'can_be_edited': canBeEdited,
'reply_to_message_id': replyToMessageId,
'via_bot_user_id': viaBotUserId,
'media_album_id': mediaAlbumId.toString(),
'content': content.toJson(),
'reply_markup': replyMarkup?.toJson(),
};