UpdateChatPosition.fromJson constructor

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

Parse from a json

Implementation

factory UpdateChatPosition.fromJson(Map<String, dynamic> json) => UpdateChatPosition(
  chatId: json['chat_id'],
  position: ChatPosition.fromJson(json['position']),
  extra: json['@extra'],
  clientId: json['@client_id'],
);