fromJson static method
Inherited by: InviteGroupCallParticipantResultSuccess InviteGroupCallParticipantResultUserAlreadyParticipant InviteGroupCallParticipantResultUserPrivacyRestricted InviteGroupCallParticipantResultUserWasBanned
Implementation
static InviteGroupCallParticipantResultSuccess? fromJson(
Map<String, dynamic>? json,
) {
if (json == null) {
return null;
}
return InviteGroupCallParticipantResultSuccess(
chatId: (json['chat_id'] as int?) ?? 0,
messageId: (json['message_id'] as int?) ?? 0,
);
}