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