Add new reply_markup field to Message entity

parent 1bfd0e9a
...@@ -6,6 +6,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ...@@ -6,6 +6,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
## [Unreleased] ## [Unreleased]
### Added ### Added
- Bot API 4.3 (Seamless Telegram Login, `LoginUrl`) - Bot API 4.3 (Seamless Telegram Login, `LoginUrl`)
- `reply_markup` field to `Message` entity.
### Changed ### Changed
### Deprecated ### Deprecated
### Removed ### Removed
......
...@@ -60,6 +60,7 @@ use Longman\TelegramBot\Entities\TelegramPassport\PassportData; ...@@ -60,6 +60,7 @@ use Longman\TelegramBot\Entities\TelegramPassport\PassportData;
* @method SuccessfulPayment getSuccessfulPayment() Optional. Message is a service message about a successful payment, information about the payment. * @method SuccessfulPayment getSuccessfulPayment() Optional. Message is a service message about a successful payment, information about the payment.
* @method string getConnectedWebsite() Optional. The domain name of the website on which the user has logged in. * @method string getConnectedWebsite() Optional. The domain name of the website on which the user has logged in.
* @method PassportData getPassportData() Optional. Telegram Passport data * @method PassportData getPassportData() Optional. Telegram Passport data
* @method InlineKeyboard getReplyMarkup() Optional. Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons.
*/ */
class Message extends Entity class Message extends Entity
{ {
...@@ -96,6 +97,7 @@ class Message extends Entity ...@@ -96,6 +97,7 @@ class Message extends Entity
'invoice' => Invoice::class, 'invoice' => Invoice::class,
'successful_payment' => SuccessfulPayment::class, 'successful_payment' => SuccessfulPayment::class,
'passport_data' => PassportData::class, 'passport_data' => PassportData::class,
'reply_markup' => InlineKeyboard::class,
]; ];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment