Skip to content

Commit

Permalink
Merge pull request #1427 from php-telegram-bot/bot-api-6.9
Browse files Browse the repository at this point in the history
Bot API 6.9
  • Loading branch information
noplanman committed Oct 26, 2023
2 parents f3cd211 + 5c1fd15 commit 3c07b04
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
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
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
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
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

0 comments on commit 3c07b04

Please sign in to comment.