ChatEventForumTopicEdited.fromJson constructor

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

Parses a ChatEventForumTopicEdited from TDLib JSON.

Implementation

factory ChatEventForumTopicEdited.fromJson(Map<String, dynamic> json) =>
    ChatEventForumTopicEdited(
      oldTopicInfo:
          _readObject(json['old_topic_info'], ForumTopicInfo.fromJson),
      newTopicInfo:
          _readObject(json['new_topic_info'], ForumTopicInfo.fromJson),
    );