Skip to content

Commit 3c07b04

Browse files
authored
Merge pull request #1427 from php-telegram-bot/bot-api-6.9
Bot API 6.9
2 parents f3cd211 + 5c1fd15 commit 3c07b04

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
77
### Notes
88
- [:ledger: View file changes][Unreleased][:page_with_curl: DB migration script][unreleased-sql-migration]
99
### Added
10-
- Bot API 6.8 (@noplanman)
10+
- Bot API 6.8, 6.9 (@noplanman)
1111
### Changed
1212
### Deprecated
1313
### Removed

src/Entities/ChatAdministratorRights.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
* @method bool getCanPostMessages() Optional. True, if the administrator can post in the channel; channels only
1717
* @method bool getCanEditMessages() Optional. True, if the administrator can edit messages of other users and can pin messages; channels only
1818
* @method bool getCanPinMessages() Optional. True, if the user is allowed to pin messages; groups and supergroups only
19+
* @method bool getCanPostStories() Optional. True, if the administrator can post stories in the channel; channels only
20+
* @method bool getCanEditStories() Optional. True, if the administrator can edit stories posted by other users; channels only
21+
* @method bool getCanDeleteStories() Optional. True, if the administrator can delete stories posted by other users; channels only
1922
* @method bool getCanManageTopics() Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only
2023
*
2124
* @method $this setIsAnonymous(bool $is_anonymous) True, if the user's presence in the chat is hidden
@@ -29,6 +32,9 @@
2932
* @method $this setCanPostMessages(bool $can_post_messages) Optional. True, if the administrator can post in the channel; channels only
3033
* @method $this setCanEditMessages(bool $can_edit_messages) Optional. True, if the administrator can edit messages of other users and can pin messages; channels only
3134
* @method $this setCanPinMessages(bool $can_pin_messages) Optional. True, if the user is allowed to pin messages; groups and supergroups only
35+
* @method $this setCanPostStories(bool $can_post_stories) Optional. True, if the administrator can post stories in the channel; channels only
36+
* @method $this setCanEditStories(bool $can_edit_stories) Optional. True, if the administrator can edit stories posted by other users; channels only
37+
* @method $this setCanDeleteStories(bool $can_delete_stories) Optional. True, if the administrator can delete stories posted by other users; channels only
3238
* @method $this setCanManageTopics(bool $can_manage_topics) Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only
3339
*/
3440
class ChatAdministratorRights extends Entity

src/Entities/ChatMember/ChatMemberAdministrator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
* @method bool getCanPostMessages() Optional. True, if the administrator can post in the channel; channels only
2525
* @method bool getCanEditMessages() Optional. True, if the administrator can edit messages of other users and can pin messages; channels only
2626
* @method bool getCanPinMessages() Optional. True, if the user is allowed to pin messages; groups and supergroups only
27+
* @method bool getCanPostStories() Optional. True, if the administrator can post stories in the channel; channels only
28+
* @method bool getCanEditStories() Optional. True, if the administrator can edit stories posted by other users; channels only
29+
* @method bool getCanDeleteStories() Optional. True, if the administrator can delete stories posted by other users; channels only
2730
* @method bool getCanManageTopics() Optional. True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only
2831
* @method string getCustomTitle() Custom title for this user
2932
*/

src/Entities/WriteAccessAllowed.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
*
1010
* @link https://core.telegram.org/bots/api#writeaccessallowed
1111
*
12-
* @method string getWebAppName() Optional. Name of the Web App which was launched from a link
12+
* @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
13+
* @method string getWebAppName() Optional. Name of the Web App, if the access was granted when the Web App was launched from a link
14+
* @method bool getFromAttachmentMenu() Optional. True, if the access was granted when the bot was added to the attachment or side menu
1315
*/
1416
class WriteAccessAllowed extends Entity
1517
{

0 commit comments

Comments
 (0)