Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data BanChatMember Source #
Bans a member in a chat; requires can_restrict_members administrator right. Members can't be banned in private or secret chats. In supergroups and channels, the user will not be able to return to the group on their own using invite links, etc., unless unbanned first. Returns Ok
BanChatMember | |
|
Instances
ToJSON BanChatMember Source # | |
Defined in TD.Query.BanChatMember toJSON :: BanChatMember -> Value # toEncoding :: BanChatMember -> Encoding # toJSONList :: [BanChatMember] -> Value # toEncodingList :: [BanChatMember] -> Encoding # | |
Show BanChatMember Source # | |
Defined in TD.Query.BanChatMember showsPrec :: Int -> BanChatMember -> ShowS # show :: BanChatMember -> String # showList :: [BanChatMember] -> ShowS # | |
Eq BanChatMember Source # | |
Defined in TD.Query.BanChatMember (==) :: BanChatMember -> BanChatMember -> Bool # (/=) :: BanChatMember -> BanChatMember -> Bool # | |
ShortShow BanChatMember Source # | |
Defined in TD.Query.BanChatMember shortShow :: BanChatMember -> String Source # |