1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 08:13:47 +00:00

RestrictionsChatPermissions

This commit is contained in:
InsanusMokrassar 2021-02-18 00:28:36 +06:00
parent 0d9f18f346
commit 563d784603
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@
## 0.32.7
* `Core`:
* New variable `LeftRestrictionsChatPermissions`
* New variable `LeftRestrictionsChatPermissions` and `RestrictionsChatPermissions`
* `Extensions Utils`:
* `DiceAnimationType` class casts
* `Behaviour Builder`:

View File

@ -34,3 +34,14 @@ val LeftRestrictionsChatPermissions = ChatPermissions(
canInviteUsers = true,
canPinMessages = true,
)
val RestrictionsChatPermissions = ChatPermissions(
canSendMessages = false,
canSendMediaMessages = false,
canSendPolls = false,
canSendOtherMessages = false,
canAddWebPagePreviews = false,
canChangeInfo = false,
canInviteUsers = false,
canPinMessages = false,
)