ChatEventForumTopicPinned.fromJson constructor
Parse from a json
Implementation
factory ChatEventForumTopicPinned.fromJson(Map<String, dynamic> json) =>
ChatEventForumTopicPinned(
oldTopicInfo: json['old_topic_info'] == null
? null
: ForumTopicInfo.fromJson(json['old_topic_info']),
newTopicInfo: json['new_topic_info'] == null
? null
: ForumTopicInfo.fromJson(json['new_topic_info']),
);