Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data TopChatCategory Source #
Represents the categories of chats for which a list of frequently used chats can be retrieved
TopChatCategoryUsers | A category containing frequently used private chats with non-bot users |
TopChatCategoryBots | A category containing frequently used private chats with bot users |
TopChatCategoryGroups | A category containing frequently used basic groups and supergroups |
TopChatCategoryChannels | A category containing frequently used channels |
TopChatCategoryInlineBots | A category containing frequently used chats with inline bots sorted by their usage in inline mode |
TopChatCategoryWebAppBots | A category containing frequently used chats with bots, which Web Apps were opened |
TopChatCategoryCalls | A category containing frequently used chats used for calls |
TopChatCategoryForwardChats | A category containing frequently used chats used to forward messages |
Instances
FromJSON TopChatCategory Source # | |
Defined in TD.Data.TopChatCategory parseJSON :: Value -> Parser TopChatCategory # parseJSONList :: Value -> Parser [TopChatCategory] # | |
ToJSON TopChatCategory Source # | |
Defined in TD.Data.TopChatCategory toJSON :: TopChatCategory -> Value # toEncoding :: TopChatCategory -> Encoding # toJSONList :: [TopChatCategory] -> Value # toEncodingList :: [TopChatCategory] -> Encoding # | |
Show TopChatCategory Source # | |
Defined in TD.Data.TopChatCategory showsPrec :: Int -> TopChatCategory -> ShowS # show :: TopChatCategory -> String # showList :: [TopChatCategory] -> ShowS # | |
Eq TopChatCategory Source # | |
Defined in TD.Data.TopChatCategory (==) :: TopChatCategory -> TopChatCategory -> Bool # (/=) :: TopChatCategory -> TopChatCategory -> Bool # | |
ShortShow TopChatCategory Source # | |
Defined in TD.Data.TopChatCategory shortShow :: TopChatCategory -> String Source # |