1 | <?php |
||
23 | class SendMediaGroup extends TelegramMethods |
||
24 | { |
||
25 | /** |
||
26 | * Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
||
27 | * @var string |
||
28 | */ |
||
29 | public $chat_id = ''; |
||
30 | |||
31 | /** |
||
32 | * A JSON-serialized array describing photos and videos to be sent |
||
33 | * @var InputMedia[] |
||
34 | */ |
||
35 | public $media = []; |
||
36 | public $mediagroup = []; |
||
37 | |||
38 | /** |
||
39 | * Optional. Sends the message silently. iOS users will not receive a notification, Android users will receive a |
||
40 | * notification with no sound. |
||
41 | * @see https://telegram.org/blog/channels-2-0#silent-messages |
||
42 | * @var bool |
||
43 | */ |
||
44 | public $disable_notification = false; |
||
45 | |||
46 | /** |
||
47 | * Optional. If the message is a reply, ID of the original message |
||
48 | * @var int |
||
49 | */ |
||
50 | public $reply_to_message_id = 0; |
||
51 | |||
52 | public function getMandatoryFields(): array |
||
59 | |||
60 | public static function bindToObject(TelegramResponse $data, LoggerInterface $logger): TelegramTypes |
||
64 | |||
65 | public function performSpecialConditions(): TelegramMethods |
||
80 | |||
81 | public function addMediaStream($path,$caption) |
||
89 | } |
||
90 |