| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.ToggleChatIsPinned
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
Constructors
| ToggleChatIsPinned | |
Instances
| ToJSON ToggleChatIsPinned Source # | |
Defined in TD.Query.ToggleChatIsPinned Methods toJSON :: ToggleChatIsPinned -> Value # toEncoding :: ToggleChatIsPinned -> Encoding # toJSONList :: [ToggleChatIsPinned] -> Value # toEncodingList :: [ToggleChatIsPinned] -> Encoding # | |
| Show ToggleChatIsPinned Source # | |
Defined in TD.Query.ToggleChatIsPinned Methods showsPrec :: Int -> ToggleChatIsPinned -> ShowS # show :: ToggleChatIsPinned -> String # showList :: [ToggleChatIsPinned] -> ShowS # | |
| Eq ToggleChatIsPinned Source # | |
Defined in TD.Query.ToggleChatIsPinned Methods (==) :: ToggleChatIsPinned -> ToggleChatIsPinned -> Bool # (/=) :: ToggleChatIsPinned -> ToggleChatIsPinned -> Bool # | |
| ShortShow ToggleChatIsPinned Source # | |
Defined in TD.Query.ToggleChatIsPinned Methods shortShow :: ToggleChatIsPinned -> String Source # | |