Skip to content

Commit a826542

Browse files
authored
Merge pull request #1231 from php-telegram-bot/1228-bot-api-5.3-tweaks
Bot API 5.3 tweaks
2 parents 97bc2c8 + 5f552a7 commit a826542

21 files changed

+45
-85
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +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 5.3 (Personalized Commands, Keyboard Placeholders). (@TiiFuchs, @noplanman) (#1229, #1231)
1011
### Changed
1112
### Deprecated
1213
### Removed

src/Entities/BotCommandScope/BotCommandScope.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<?php
22

3-
43
namespace Longman\TelegramBot\Entities\BotCommandScope;
54

6-
75
interface BotCommandScope
86
{
97

src/Entities/BotCommandScope/BotCommandScopeAllChatAdministrators.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<?php
22

3-
43
namespace Longman\TelegramBot\Entities\BotCommandScope;
54

6-
75
use Longman\TelegramBot\Entities\Entity;
86

97
/**

src/Entities/BotCommandScope/BotCommandScopeAllGroupChats.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<?php
22

3-
43
namespace Longman\TelegramBot\Entities\BotCommandScope;
54

6-
75
use Longman\TelegramBot\Entities\Entity;
86

97
/**

src/Entities/BotCommandScope/BotCommandScopeAllPrivateChats.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<?php
22

3-
43
namespace Longman\TelegramBot\Entities\BotCommandScope;
54

6-
75
use Longman\TelegramBot\Entities\Entity;
86

97
/**

src/Entities/BotCommandScope/BotCommandScopeChat.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<?php
22

3-
43
namespace Longman\TelegramBot\Entities\BotCommandScope;
54

6-
75
use Longman\TelegramBot\Entities\Entity;
86

97
/**

src/Entities/BotCommandScope/BotCommandScopeChatAdministrators.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<?php
22

3-
43
namespace Longman\TelegramBot\Entities\BotCommandScope;
54

6-
75
use Longman\TelegramBot\Entities\Entity;
86

97
/**

src/Entities/BotCommandScope/BotCommandScopeChatMember.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<?php
22

3-
43
namespace Longman\TelegramBot\Entities\BotCommandScope;
54

6-
75
use Longman\TelegramBot\Entities\Entity;
86

97
/**

src/Entities/BotCommandScope/BotCommandScopeDefault.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<?php
22

3-
43
namespace Longman\TelegramBot\Entities\BotCommandScope;
54

6-
75
use Longman\TelegramBot\Entities\Entity;
86
use Longman\TelegramBot\Entities\InputMedia\InputMediaAnimation;
97

src/Entities/ChatMember/ChatMemberAdministrator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<?php
22

3-
43
namespace Longman\TelegramBot\Entities\ChatMember;
54

6-
75
use Longman\TelegramBot\Entities\Entity;
86
use Longman\TelegramBot\Entities\User;
97

@@ -39,5 +37,4 @@ protected function subEntities(): array
3937
'user' => User::class,
4038
];
4139
}
42-
4340
}

0 commit comments

Comments
 (0)