File tree Expand file tree Collapse file tree 5 files changed +368
-211
lines changed Expand file tree Collapse file tree 5 files changed +368
-211
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
10
10
- ` getIsMember() ` method to ` ChatMember ` entity.
11
11
- ` getForwardSenderName() ` method to ` Message ` entity.
12
12
- ` forward_sender_name ` (and forgotten ` forward_signature ` ) DB fields.
13
+ - Added missing API fields to Entities and DB.
14
+ - Created database tables for ` shipping_query ` and ` pre_checkout_query ` .
13
15
### Changed
14
16
### Deprecated
15
17
### Removed
Original file line number Diff line number Diff line change 15
15
use Longman \TelegramBot \Entities \ChosenInlineResult ;
16
16
use Longman \TelegramBot \Entities \InlineQuery ;
17
17
use Longman \TelegramBot \Entities \Message ;
18
+ use Longman \TelegramBot \Entities \Payments \PreCheckoutQuery ;
19
+ use Longman \TelegramBot \Entities \Payments \ShippingQuery ;
20
+ use Longman \TelegramBot \Entities \Poll ;
18
21
use Longman \TelegramBot \Entities \Update ;
19
22
use Longman \TelegramBot \Request ;
20
23
use Longman \TelegramBot \Telegram ;
31
34
* @method InlineQuery getInlineQuery() Optional. New incoming inline query
32
35
* @method ChosenInlineResult getChosenInlineResult() Optional. The result of an inline query that was chosen by a user and sent to their chat partner.
33
36
* @method CallbackQuery getCallbackQuery() Optional. New incoming callback query
37
+ * @method ShippingQuery getShippingQuery() Optional. New incoming shipping query. Only for invoices with flexible price
38
+ * @method PreCheckoutQuery getPreCheckoutQuery() Optional. New incoming pre-checkout query. Contains full information about checkout
39
+ * @method Poll getPoll() Optional. New poll state. Bots receive only updates about polls, which are sent or stopped by the bot
34
40
*/
35
41
abstract class Command
36
42
{
You can’t perform that action at this time.
0 commit comments