1 | <?php |
||
18 | class SendSticker extends TelegramMethods |
||
19 | { |
||
20 | /** |
||
21 | * Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
||
22 | * @var string |
||
23 | */ |
||
24 | public $chat_id = ''; |
||
25 | |||
26 | /** |
||
27 | * Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass |
||
28 | * an HTTP URL as a String for Telegram to get a .webp file from the Internet, or upload a new one using the |
||
29 | * InputFile class |
||
30 | * @see InputFile |
||
31 | * @var string|InputFile |
||
32 | */ |
||
33 | public $sticker = ''; |
||
34 | |||
35 | /** |
||
36 | * Optional. Sends the message silently. iOS users will not receive a notification, Android users will receive a |
||
37 | * notification with no sound. |
||
38 | * @see https://telegram.org/blog/channels-2-0#silent-messages |
||
39 | * @var bool |
||
40 | */ |
||
41 | public $disable_notification = false; |
||
42 | |||
43 | /** |
||
44 | * Optional. If the message is a reply, ID of the original message |
||
45 | * @var int |
||
46 | */ |
||
47 | public $reply_to_message_id = 0; |
||
48 | |||
49 | /** |
||
50 | * Optional. Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to |
||
51 | * hide keyboard or to force a reply from the user |
||
52 | * @var KeyboardMethods |
||
53 | */ |
||
54 | public $reply_markup; |
||
55 | |||
56 | public function getMandatoryFields(): array |
||
63 | } |
||
64 |