toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'is_public': isPublic,
'chat_id': chatId,
'topic_id': topicId?.toJson(),
'message': message?.toJson(),
'media_timestamp': mediaTimestamp,
'checklist_task_id': checklistTaskId,
'poll_option_id': pollOptionId,
'for_album': forAlbum,
'@type': constructor,
};