toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'sendMessageAlbum',
if (extra != null) '@extra': extra,
'chat_id': chat_id,
'message_thread_id': message_thread_id,
'reply_to': reply_to,
'options': options,
'input_message_contents': input_message_contents,
'only_preview': only_preview
};
}