Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot API 6.9 #1427

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
### Notes
- [:ledger: View file changes][Unreleased] ∙ [:page_with_curl: DB migration script][unreleased-sql-migration]
### Added
- Bot API 6.8 (@noplanman)
- Bot API 6.8, 6.9 (@noplanman)
### Changed
### Deprecated
### Removed
Expand Down
6 changes: 6 additions & 0 deletions src/Entities/ChatAdministratorRights.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
* @method bool getCanPostMessages() Optional. True, if the administrator can post in the channel; channels only
* @method bool getCanEditMessages() Optional. True, if the administrator can edit messages of other users and can pin messages; channels only
* @method bool getCanPinMessages() Optional. True, if the user is allowed to pin messages; groups and supergroups only
* @method bool getCanPostStories() Optional. True, if the administrator can post stories in the channel; channels only
* @method bool getCanEditStories() Optional. True, if the administrator can edit stories posted by other users; channels only
* @method bool getCanDeleteStories() Optional. True, if the administrator can delete stories posted by other users; channels only
* @method bool getCanManageTopics() Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only
*
* @method $this setIsAnonymous(bool $is_anonymous) True, if the user's presence in the chat is hidden
Expand All @@ -29,6 +32,9 @@
* @method $this setCanPostMessages(bool $can_post_messages) Optional. True, if the administrator can post in the channel; channels only
* @method $this setCanEditMessages(bool $can_edit_messages) Optional. True, if the administrator can edit messages of other users and can pin messages; channels only
* @method $this setCanPinMessages(bool $can_pin_messages) Optional. True, if the user is allowed to pin messages; groups and supergroups only
* @method $this setCanPostStories(bool $can_post_stories) Optional. True, if the administrator can post stories in the channel; channels only
* @method $this setCanEditStories(bool $can_edit_stories) Optional. True, if the administrator can edit stories posted by other users; channels only
* @method $this setCanDeleteStories(bool $can_delete_stories) Optional. True, if the administrator can delete stories posted by other users; channels only
* @method $this setCanManageTopics(bool $can_manage_topics) Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only
*/
class ChatAdministratorRights extends Entity
Expand Down
3 changes: 3 additions & 0 deletions src/Entities/ChatMember/ChatMemberAdministrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
* @method bool getCanPostMessages() Optional. True, if the administrator can post in the channel; channels only
* @method bool getCanEditMessages() Optional. True, if the administrator can edit messages of other users and can pin messages; channels only
* @method bool getCanPinMessages() Optional. True, if the user is allowed to pin messages; groups and supergroups only
* @method bool getCanPostStories() Optional. True, if the administrator can post stories in the channel; channels only
* @method bool getCanEditStories() Optional. True, if the administrator can edit stories posted by other users; channels only
* @method bool getCanDeleteStories() Optional. True, if the administrator can delete stories posted by other users; channels only
* @method bool getCanManageTopics() Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only
* @method string getCustomTitle() Custom title for this user
*/
Expand Down
4 changes: 3 additions & 1 deletion src/Entities/WriteAccessAllowed.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
*
* @link https://core.telegram.org/bots/api#writeaccessallowed
*
* @method string getWebAppName() Optional. Name of the Web App which was launched from a link
* @method bool getFromRequest() Optional. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess
* @method string getWebAppName() Optional. Name of the Web App, if the access was granted when the Web App was launched from a link
* @method bool getFromAttachmentMenu() Optional. True, if the access was granted when the bot was added to the attachment or side menu
*/
class WriteAccessAllowed extends Entity
{
Expand Down