toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"chat_id": chatId,
"actor_user_id": actorUserId,
"date": date,
"invite_link": inviteLink?.toJson(),
"old_chat_member": oldChatMember.toJson(),
"new_chat_member": newChatMember.toJson(),
};
}