Total Complexity | 5 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class UpdateChatReplyMarkup extends Update |
||
15 | { |
||
16 | public const TYPE_NAME = 'updateChatReplyMarkup'; |
||
17 | |||
18 | /** |
||
19 | * Chat identifier. |
||
20 | * |
||
21 | * @var int |
||
22 | */ |
||
23 | protected int $chatId; |
||
24 | |||
25 | /** |
||
26 | * Identifier of the message from which reply markup needs to be used; 0 if there is no default custom reply markup in the chat. |
||
27 | * |
||
28 | * @var int |
||
29 | */ |
||
30 | protected int $replyMarkupMessageId; |
||
31 | |||
32 | public function __construct(int $chatId, int $replyMarkupMessageId) |
||
38 | } |
||
39 | |||
40 | public static function fromArray(array $array): UpdateChatReplyMarkup |
||
45 | ); |
||
46 | } |
||
47 | |||
48 | public function typeSerialize(): array |
||
54 | ]; |
||
55 | } |
||
56 | |||
57 | public function getChatId(): int |
||
60 | } |
||
61 | |||
62 | public function getReplyMarkupMessageId(): int |
||
67 |