Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data SetChatMemberStatus Source #
Changes the status of a chat member; requires can_invite_users member right to add a chat member, can_promote_members administrator right to change administrator rights of the member, and can_restrict_members administrator right to change restrictions of a user. This function is currently not suitable for transferring chat ownership; use transferChatOwnership instead. Use addChatMember or banChatMember if some additional parameters needs to be passed. Returns Ok
SetChatMemberStatus | |
|
Instances
ToJSON SetChatMemberStatus Source # | |
Defined in TD.Query.SetChatMemberStatus toJSON :: SetChatMemberStatus -> Value # toEncoding :: SetChatMemberStatus -> Encoding # toJSONList :: [SetChatMemberStatus] -> Value # toEncodingList :: [SetChatMemberStatus] -> Encoding # | |
Show SetChatMemberStatus Source # | |
Defined in TD.Query.SetChatMemberStatus showsPrec :: Int -> SetChatMemberStatus -> ShowS # show :: SetChatMemberStatus -> String # showList :: [SetChatMemberStatus] -> ShowS # | |
Eq SetChatMemberStatus Source # | |
Defined in TD.Query.SetChatMemberStatus (==) :: SetChatMemberStatus -> SetChatMemberStatus -> Bool # (/=) :: SetChatMemberStatus -> SetChatMemberStatus -> Bool # | |
ShortShow SetChatMemberStatus Source # | |
Defined in TD.Query.SetChatMemberStatus |