Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data TransferChatOwnership Source #
Changes the owner of a chat; requires owner privileges in the chat. Use the method canTransferOwnership to check whether the ownership can be transferred from the current session. Available only for supergroups and channel chats. Returns Ok
Instances
ToJSON TransferChatOwnership Source # | |
Defined in TD.Query.TransferChatOwnership toJSON :: TransferChatOwnership -> Value # toEncoding :: TransferChatOwnership -> Encoding # toJSONList :: [TransferChatOwnership] -> Value # toEncodingList :: [TransferChatOwnership] -> Encoding # | |
Show TransferChatOwnership Source # | |
Defined in TD.Query.TransferChatOwnership showsPrec :: Int -> TransferChatOwnership -> ShowS # show :: TransferChatOwnership -> String # showList :: [TransferChatOwnership] -> ShowS # | |
Eq TransferChatOwnership Source # | |
Defined in TD.Query.TransferChatOwnership (==) :: TransferChatOwnership -> TransferChatOwnership -> Bool # (/=) :: TransferChatOwnership -> TransferChatOwnership -> Bool # | |
ShortShow TransferChatOwnership Source # | |
Defined in TD.Query.TransferChatOwnership |