fromJson static method
Inherited by: StoryAreaTypeLink StoryAreaTypeLocation StoryAreaTypeMessage StoryAreaTypeSuggestedReaction StoryAreaTypeUpgradedGift StoryAreaTypeVenue StoryAreaTypeWeather
Implementation
static StoryAreaTypeMessage? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return StoryAreaTypeMessage(
chatId: (json['chat_id'] as int?) ?? 0,
messageId: (json['message_id'] as int?) ?? 0,
);
}