toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"chat_id": chatId,
"request": request.toJson(),
"user_chat_id": userChatId,
"invite_link": inviteLink?.toJson(),
};
}