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