File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 8
8
use unreal4u \TelegramAPI \Telegram \Types \Custom \MessageEntityArray ;
9
9
use unreal4u \TelegramAPI \Telegram \Types \Custom \PhotoSizeArray ;
10
10
use unreal4u \TelegramAPI \Telegram \Types \Custom \UserArray ;
11
+ use unreal4u \TelegramAPI \Telegram \Types \Inline \Keyboard \Markup ;
11
12
12
13
/**
13
14
* This object represents a message.
@@ -292,6 +293,11 @@ class Message extends TelegramTypes
292
293
*/
293
294
public $ connected_website = '' ;
294
295
296
+ /**
297
+ * @var Markup
298
+ */
299
+ public $ reply_markup ;
300
+
295
301
/**
296
302
* A message may contain one or more subobjects, map them always in this function
297
303
*
@@ -347,6 +353,8 @@ protected function mapSubObjects(string $key, array $data): TelegramTypes
347
353
return new Invoice ($ data , $ this ->logger );
348
354
case 'successful_payment ' :
349
355
return new SuccessfulPayment ($ data , $ this ->logger );
356
+ case 'reply_markup ' :
357
+ return new Markup ($ data , $ this ->logger );
350
358
}
351
359
352
360
// Return always null if none of the objects above matches
You can’t perform that action at this time.
0 commit comments