| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.ToggleCommunityMemberIsBanned
Documentation
data ToggleCommunityMemberIsBanned Source #
Bans or unbans a member of a community; requires can_ban_members administrator right in the community. A banned member is banned in all chats of the community. Administrators of the community can be banned only by the owner of the community and administrators, which can edit administrator rights of the member. If an owner of a chat in the community is banned, then the chat is removed from the community; in this case, can_edit_chat_list administrator right is also required. Returns Ok
Constructors
| ToggleCommunityMemberIsBanned | |
Fields
| |