toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"chat_id": chatId,
"member_id": memberId.toJson(),
"banned_until_date": bannedUntilDate,
"revoke_messages": revokeMessages,
"@extra": extra,
};
}