fromJson static method
Inherited by: InputMessageReplyToEphemeralMessage InputMessageReplyToExternalMessage InputMessageReplyToMessage InputMessageReplyToStory
Implementation
static InputMessageReplyToStory? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputMessageReplyToStory(
storyPosterChatId: (json['story_poster_chat_id'] as int?) ?? 0,
storyId: (json['story_id'] as int?) ?? 0,
);
}