toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'is_public': isPublic,
'chat_id': chatId,
'message_thread_id': messageThreadId,
'message': message?.toJson(),
'media_timestamp': mediaTimestamp,
'for_album': forAlbum,
};