Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data ToggleChatIsPinned Source #
Changes the pinned state of a chat. There can be up to getOption("pinned_chat_count_max")getOption("pinned_archived_chat_count_max") pinned non-secret chats and the same number of secret chats in the mainarchive chat list. The limit can be increased with Telegram Premium. Returns Ok
Instances
ToJSON ToggleChatIsPinned Source # | |
Defined in TD.Query.ToggleChatIsPinned toJSON :: ToggleChatIsPinned -> Value # toEncoding :: ToggleChatIsPinned -> Encoding # toJSONList :: [ToggleChatIsPinned] -> Value # toEncodingList :: [ToggleChatIsPinned] -> Encoding # | |
Show ToggleChatIsPinned Source # | |
Defined in TD.Query.ToggleChatIsPinned showsPrec :: Int -> ToggleChatIsPinned -> ShowS # show :: ToggleChatIsPinned -> String # showList :: [ToggleChatIsPinned] -> ShowS # | |
Eq ToggleChatIsPinned Source # | |
Defined in TD.Query.ToggleChatIsPinned (==) :: ToggleChatIsPinned -> ToggleChatIsPinned -> Bool # (/=) :: ToggleChatIsPinned -> ToggleChatIsPinned -> Bool # | |
ShortShow ToggleChatIsPinned Source # | |
Defined in TD.Query.ToggleChatIsPinned shortShow :: ToggleChatIsPinned -> String Source # |