| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.BotCommandScope
Documentation
data BotCommandScope Source #
Represents the scope to which bot commands are relevant
Constructors
| BotCommandScopeDefault | A scope covering all users |
| BotCommandScopeAllPrivateChats | A scope covering all private chats |
| BotCommandScopeAllGroupChats | A scope covering all group and supergroup chats |
| BotCommandScopeAllChatAdministrators | A scope covering all group and supergroup chat administrators |
| BotCommandScopeChat | A scope covering all members of a chat |
| BotCommandScopeChatAdministrators | A scope covering all administrators of a chat |
| BotCommandScopeChatMember | A scope covering a member of a chat |
Instances
| FromJSON BotCommandScope Source # | |
Defined in TD.Data.BotCommandScope Methods parseJSON :: Value -> Parser BotCommandScope # parseJSONList :: Value -> Parser [BotCommandScope] # | |
| ToJSON BotCommandScope Source # | |
Defined in TD.Data.BotCommandScope Methods toJSON :: BotCommandScope -> Value # toEncoding :: BotCommandScope -> Encoding # toJSONList :: [BotCommandScope] -> Value # toEncodingList :: [BotCommandScope] -> Encoding # | |
| Show BotCommandScope Source # | |
Defined in TD.Data.BotCommandScope Methods showsPrec :: Int -> BotCommandScope -> ShowS # show :: BotCommandScope -> String # showList :: [BotCommandScope] -> ShowS # | |
| Eq BotCommandScope Source # | |
Defined in TD.Data.BotCommandScope Methods (==) :: BotCommandScope -> BotCommandScope -> Bool # (/=) :: BotCommandScope -> BotCommandScope -> Bool # | |
| ShortShow BotCommandScope Source # | |
Defined in TD.Data.BotCommandScope Methods shortShow :: BotCommandScope -> String Source # | |