Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data BotCommandScope Source #
Represents the scope to which bot commands are relevant
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 parseJSON :: Value -> Parser BotCommandScope # parseJSONList :: Value -> Parser [BotCommandScope] # | |
ToJSON BotCommandScope Source # | |
Defined in TD.Data.BotCommandScope toJSON :: BotCommandScope -> Value # toEncoding :: BotCommandScope -> Encoding # toJSONList :: [BotCommandScope] -> Value # toEncodingList :: [BotCommandScope] -> Encoding # | |
Show BotCommandScope Source # | |
Defined in TD.Data.BotCommandScope showsPrec :: Int -> BotCommandScope -> ShowS # show :: BotCommandScope -> String # showList :: [BotCommandScope] -> ShowS # | |
Eq BotCommandScope Source # | |
Defined in TD.Data.BotCommandScope (==) :: BotCommandScope -> BotCommandScope -> Bool # (/=) :: BotCommandScope -> BotCommandScope -> Bool # | |
ShortShow BotCommandScope Source # | |
Defined in TD.Data.BotCommandScope shortShow :: BotCommandScope -> String Source # |