Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'checkChatInviteLink', if (extra != null) '@extra': extra, 'invite_link': invite_link }; }