mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-26 03:58:44 +00:00
RestrictionsChatPermissions
This commit is contained in:
parent
0d9f18f346
commit
563d784603
@ -3,7 +3,7 @@
|
|||||||
## 0.32.7
|
## 0.32.7
|
||||||
|
|
||||||
* `Core`:
|
* `Core`:
|
||||||
* New variable `LeftRestrictionsChatPermissions`
|
* New variable `LeftRestrictionsChatPermissions` and `RestrictionsChatPermissions`
|
||||||
* `Extensions Utils`:
|
* `Extensions Utils`:
|
||||||
* `DiceAnimationType` class casts
|
* `DiceAnimationType` class casts
|
||||||
* `Behaviour Builder`:
|
* `Behaviour Builder`:
|
||||||
|
@ -34,3 +34,14 @@ val LeftRestrictionsChatPermissions = ChatPermissions(
|
|||||||
canInviteUsers = true,
|
canInviteUsers = true,
|
||||||
canPinMessages = true,
|
canPinMessages = true,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
val RestrictionsChatPermissions = ChatPermissions(
|
||||||
|
canSendMessages = false,
|
||||||
|
canSendMediaMessages = false,
|
||||||
|
canSendPolls = false,
|
||||||
|
canSendOtherMessages = false,
|
||||||
|
canAddWebPagePreviews = false,
|
||||||
|
canChangeInfo = false,
|
||||||
|
canInviteUsers = false,
|
||||||
|
canPinMessages = false,
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user