ChatEventLinkedChatChanged.fromJson constructor

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

Parses a ChatEventLinkedChatChanged from TDLib JSON.

Implementation

factory ChatEventLinkedChatChanged.fromJson(Map<String, dynamic> json) =>
    ChatEventLinkedChatChanged(
      oldLinkedChatId: _readInt(json['old_linked_chat_id']),
      newLinkedChatId: _readInt(json['new_linked_chat_id']),
    );