UpdateMessageIsPinned.fromJson constructor

UpdateMessageIsPinned.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory UpdateMessageIsPinned.fromJson(Map<String, dynamic> json) =>
    UpdateMessageIsPinned(
      chatId: json['chat_id'],
      messageId: json['message_id'],
      isPinned: json['is_pinned'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );