fromJson static method
Inherited by: InputStoryAreaTypeFoundVenue InputStoryAreaTypeLink InputStoryAreaTypeLocation InputStoryAreaTypeMessage InputStoryAreaTypePreviousVenue InputStoryAreaTypeSuggestedReaction InputStoryAreaTypeUpgradedGift InputStoryAreaTypeWeather
Implementation
static InputStoryAreaTypeMessage? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputStoryAreaTypeMessage(
chatId: (json['chat_id'] as int?) ?? 0,
messageId: (json['message_id'] as int?) ?? 0,
);
}