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