mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
LeftRestrictionsChatPermissions
This commit is contained in:
parent
fe2dffd8b5
commit
23ceaf8e97
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## 0.32.7
|
## 0.32.7
|
||||||
|
|
||||||
|
* `Core`:
|
||||||
|
* New variable `LeftRestrictionsChatPermissions`
|
||||||
* `Behaviour Builder`:
|
* `Behaviour Builder`:
|
||||||
* Now `doInSubContextWithUpdatesFilter` and `doInSubContext` will automatically subscribe on updates of parent
|
* Now `doInSubContextWithUpdatesFilter` and `doInSubContext` will automatically subscribe on updates of parent
|
||||||
`BehaviourContext`
|
`BehaviourContext`
|
||||||
|
@ -23,3 +23,14 @@ data class ChatPermissions(
|
|||||||
@SerialName(canPinMessagesField)
|
@SerialName(canPinMessagesField)
|
||||||
val canPinMessages: Boolean = false
|
val canPinMessages: Boolean = false
|
||||||
)
|
)
|
||||||
|
|
||||||
|
val LeftRestrictionsChatPermissions = ChatPermissions(
|
||||||
|
canSendMessages = true,
|
||||||
|
canSendMediaMessages = true,
|
||||||
|
canSendPolls = true,
|
||||||
|
canSendOtherMessages = true,
|
||||||
|
canAddWebPagePreviews = true,
|
||||||
|
canChangeInfo = true,
|
||||||
|
canInviteUsers = true,
|
||||||
|
canPinMessages = true,
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user