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