1 | <?php |
||
24 | class EditMessageCaption extends TelegramMethods |
||
25 | { |
||
26 | /** |
||
27 | * Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target |
||
28 | * channel (in the format @channelusername) |
||
29 | * @var string |
||
30 | */ |
||
31 | public $chat_id = ''; |
||
32 | |||
33 | /** |
||
34 | * Required if inline_message_id is not specified. Unique identifier of the sent message |
||
35 | * @var int |
||
36 | */ |
||
37 | public $message_id = 0; |
||
38 | |||
39 | /** |
||
40 | * Required if chat_id and message_id are not specified. Identifier of the inline message |
||
41 | * @var string |
||
42 | */ |
||
43 | public $inline_message_id = ''; |
||
44 | |||
45 | /** |
||
46 | * New caption of the message |
||
47 | * @var string |
||
48 | */ |
||
49 | public $caption = ''; |
||
50 | |||
51 | /** |
||
52 | * Optional. A JSON-serialized object for an inline keyboard. |
||
53 | * @var Markup |
||
54 | */ |
||
55 | public $reply_markup; |
||
56 | |||
57 | public function getMandatoryFields(): array |
||
62 | |||
63 | public static function bindToObject(TelegramRawData $data, LoggerInterface $logger): TelegramTypes |
||
75 | } |
||
76 |