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