StoryFullId.fromJson constructor

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

Parses a StoryFullId from TDLib JSON.

Implementation

factory StoryFullId.fromJson(Map<String, dynamic> json) => StoryFullId(
  posterChatId: _readInt(json['poster_chat_id']),
  storyId: _readInt(json['story_id']),
);