1 | <?php |
||
22 | class SendChatAction extends TelegramMethods |
||
23 | { |
||
24 | /** |
||
25 | * Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
||
26 | * @var string |
||
27 | */ |
||
28 | public $chat_id = ''; |
||
29 | |||
30 | /** |
||
31 | * Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text |
||
32 | * messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for |
||
33 | * audio files, upload_document for general files, find_location for location data. |
||
34 | * @var string |
||
35 | */ |
||
36 | public $action = ''; |
||
37 | |||
38 | public function getMandatoryFields(): array |
||
45 | } |
||
46 |