| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.BotSetting
Synopsis
- data BotSetting
- = BotSettingIsInline { }
- | BotSettingInlineQueryPlaceholder {
- placeholder :: Maybe Text
- | BotSettingNeedLocation { }
- | BotSettingInlineFeedback { }
- | BotSettingCanJoinGroups { }
- | BotSettingCanReadAllGroupMessages { }
- | BotSettingCanConnectToBusiness { }
- | BotSettingCanManageBots { }
- | BotSettingSupportsGuestQueries { }
- | BotSettingIsGuard { }
- | BotSettingHasTopics {
- has_topics :: Maybe Bool
- | BotSettingAllowsUsersToCreateTopics { }
- | BotSettingHasTopicSidebar { }
- | BotSettingCanCommunicateWithBots { }
- | BotSettingCallbackQueryMode { }
Documentation
data BotSetting Source #
Describes a setting of a bot
Constructors
| BotSettingIsInline | A setting for managing whether the bot supports inline queries |
| BotSettingInlineQueryPlaceholder | A setting for managing the placeholder for inline queries to the bot |
Fields
| |
| BotSettingNeedLocation | A setting for managing whether the location of the user is expected to be sent with every inline query to the bot |
Fields
| |
| BotSettingInlineFeedback | A setting for managing the share of chosen inline query results that are received by the bot in updateNewChosenInlineResult |
Fields
| |
| BotSettingCanJoinGroups | A setting for managing whether the bot can be invited to basic group and supergroup chats |
Fields
| |
| BotSettingCanReadAllGroupMessages | A setting for managing whether the bot can read all messages in basic group or supergroup chats and not just those addressed to the bot |
Fields
| |
| BotSettingCanConnectToBusiness | A setting for managing whether the bot supports connection to user accounts for chat automation |
Fields
| |
| BotSettingCanManageBots | A setting for managing whether the bot can manage other bots |
Fields
| |
| BotSettingSupportsGuestQueries | A setting for managing whether the bot can be queried by username from any non-secret chat |
Fields
| |
| BotSettingIsGuard | A setting for managing whether the bot can be set as a guard bot in supergroup chats |
| BotSettingHasTopics | A setting for managing whether the bot has topics |
Fields
| |
| BotSettingAllowsUsersToCreateTopics | A setting for managing whether users can create and delete topics in the chat with the bot |
Fields
| |
| BotSettingHasTopicSidebar | A setting for managing whether topics of the bot are shown in a sidebar |
Fields
| |
| BotSettingCanCommunicateWithBots | A setting for managing whether the bot can communicate with other bots in groups, private chats, and through business accounts |
Fields
| |
| BotSettingCallbackQueryMode | A setting for managing how callback queries are received by the bot |
Fields
| |
Instances
| FromJSON BotSetting Source # | |
Defined in TD.Data.BotSetting | |
| ToJSON BotSetting Source # | |
Defined in TD.Data.BotSetting Methods toJSON :: BotSetting -> Value # toEncoding :: BotSetting -> Encoding # toJSONList :: [BotSetting] -> Value # toEncodingList :: [BotSetting] -> Encoding # | |
| Show BotSetting Source # | |
Defined in TD.Data.BotSetting Methods showsPrec :: Int -> BotSetting -> ShowS # show :: BotSetting -> String # showList :: [BotSetting] -> ShowS # | |
| Eq BotSetting Source # | |
Defined in TD.Data.BotSetting | |
| ShortShow BotSetting Source # | |
Defined in TD.Data.BotSetting Methods shortShow :: BotSetting -> String Source # | |