Skip to content

Commit a9b15e8

Browse files
committed
Add new reply_markup field to Message entity
1 parent 1bfd0e9 commit a9b15e8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
66
## [Unreleased]
77
### Added
88
- Bot API 4.3 (Seamless Telegram Login, `LoginUrl`)
9+
- `reply_markup` field to `Message` entity.
910
### Changed
1011
### Deprecated
1112
### Removed

src/Entities/Message.php

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
* @method SuccessfulPayment getSuccessfulPayment() Optional. Message is a service message about a successful payment, information about the payment.
6161
* @method string getConnectedWebsite() Optional. The domain name of the website on which the user has logged in.
6262
* @method PassportData getPassportData() Optional. Telegram Passport data
63+
* @method InlineKeyboard getReplyMarkup() Optional. Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons.
6364
*/
6465
class Message extends Entity
6566
{
@@ -96,6 +97,7 @@ protected function subEntities()
9697
'invoice' => Invoice::class,
9798
'successful_payment' => SuccessfulPayment::class,
9899
'passport_data' => PassportData::class,
100+
'reply_markup' => InlineKeyboard::class,
99101
];
100102
}
101103

0 commit comments

Comments
 (0)