1 | <?php |
||
18 | class EditMessageText extends TelegramMethods |
||
19 | { |
||
20 | /** |
||
21 | * Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target |
||
22 | * channel (in the format @channelusername) |
||
23 | * @var string |
||
24 | */ |
||
25 | public $chat_id = ''; |
||
26 | |||
27 | /** |
||
28 | * Required if inline_message_id is not specified. Unique identifier of the sent message |
||
29 | * @var int |
||
30 | */ |
||
31 | public $message_id = 0; |
||
32 | |||
33 | /** |
||
34 | * Required if chat_id and message_id are not specified. Identifier of the inline message |
||
35 | * @var string |
||
36 | */ |
||
37 | public $inline_message_id = ''; |
||
38 | |||
39 | /** |
||
40 | * New text of the message |
||
41 | * @var string |
||
42 | */ |
||
43 | public $text = ''; |
||
44 | |||
45 | /** |
||
46 | * Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs |
||
47 | * in your bot's message |
||
48 | * @var string |
||
49 | */ |
||
50 | public $parse_mode = ''; |
||
51 | |||
52 | /** |
||
53 | * Optional. Disables link previews for links in this message |
||
54 | * @var boolean |
||
55 | */ |
||
56 | public $disable_web_page_preview = false; |
||
57 | |||
58 | /** |
||
59 | * Optional. A JSON-serialized object for an inline keyboard. |
||
60 | * @var Markup |
||
61 | */ |
||
62 | public $reply_markup = null; |
||
63 | |||
64 | public function getMandatoryFields(): array |
||
70 | } |
||
71 |