toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"custom_title": customTitle,
"can_be_edited": canBeEdited,
"can_manage_chat": canManageChat,
"can_change_info": canChangeInfo,
"can_post_messages": canPostMessages,
"can_edit_messages": canEditMessages,
"can_delete_messages": canDeleteMessages,
"can_invite_users": canInviteUsers,
"can_restrict_members": canRestrictMembers,
"can_pin_messages": canPinMessages,
"can_promote_members": canPromoteMembers,
"can_manage_video_chats": canManageVideoChats,
"is_anonymous": isAnonymous,
};
}