ChatEventForumTopicCreated.fromJson constructor

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

Parses a ChatEventForumTopicCreated from TDLib JSON.

Implementation

factory ChatEventForumTopicCreated.fromJson(Map<String, dynamic> json) =>
    ChatEventForumTopicCreated(
      topicInfo: _readObject(json['topic_info'], ForumTopicInfo.fromJson),
    );