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

LeftRestrictionsChatPermissions

This commit is contained in:
InsanusMokrassar 2021-02-17 22:12:58 +06:00
parent fe2dffd8b5
commit 23ceaf8e97
2 changed files with 13 additions and 0 deletions

View File

@ -2,6 +2,8 @@
## 0.32.7
* `Core`:
* New variable `LeftRestrictionsChatPermissions`
* `Behaviour Builder`:
* Now `doInSubContextWithUpdatesFilter` and `doInSubContext` will automatically subscribe on updates of parent
`BehaviourContext`

View File

@ -23,3 +23,14 @@ data class ChatPermissions(
@SerialName(canPinMessagesField)
val canPinMessages: Boolean = false
)
val LeftRestrictionsChatPermissions = ChatPermissions(
canSendMessages = true,
canSendMediaMessages = true,
canSendPolls = true,
canSendOtherMessages = true,
canAddWebPagePreviews = true,
canChangeInfo = true,
canInviteUsers = true,
canPinMessages = true,
)