toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"message_edits": messageEdits,
"message_deletions": messageDeletions,
"message_pins": messagePins,
"member_joins": memberJoins,
"member_leaves": memberLeaves,
"member_invites": memberInvites,
"member_promotions": memberPromotions,
"member_restrictions": memberRestrictions,
"info_changes": infoChanges,
"setting_changes": settingChanges,
"invite_link_changes": inviteLinkChanges,
"video_chat_changes": videoChatChanges,
};
}