| 1 | <?php |
||
| 21 | class SendMediaGroup extends TelegramMethods |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | public $chat_id = ''; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * A JSON-serialized array describing photos and videos to be sent |
||
| 31 | * @var InputMedia[] |
||
| 32 | */ |
||
| 33 | public $media = []; |
||
| 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 | public function getMandatoryFields(): array |
||
| 56 | |||
| 57 | public static function bindToObject(TelegramResponse $data, LoggerInterface $logger): TelegramTypes |
||
| 61 | } |
||
| 62 |