fromJson static method
Inherited by: BotSettingAllowsUsersToCreateTopics BotSettingCallbackQueryMode BotSettingCanCommunicateWithBots BotSettingCanConnectToBusiness BotSettingCanJoinGroups BotSettingCanManageBots BotSettingCanReadAllGroupMessages BotSettingHasTopicSidebar BotSettingHasTopics BotSettingInlineFeedback BotSettingInlineQueryPlaceholder BotSettingIsGuard BotSettingIsInline BotSettingNeedLocation BotSettingSupportsGuestQueries
Implementation
static BotSettingSupportsGuestQueries? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return BotSettingSupportsGuestQueries(
supportsGuestQueries: (json['supports_guest_queries'] as bool?) ?? false,
);
}