UpdateMessageIsPinned.fromJson constructor
Parses a UpdateMessageIsPinned from TDLib JSON.
Implementation
factory UpdateMessageIsPinned.fromJson(Map<String, dynamic> json) =>
UpdateMessageIsPinned(
chatId: _readInt(json['chat_id']),
messageId: _readInt(json['message_id']),
isPinned: _readBool(json['is_pinned']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);