Class SendMediaGroupMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, array<mixed,\TgBotApi\BotApiBase\Type\InputMedia\InputMediaPhotoType>|array<mixed,\TgBotApi\BotApiBase\Type\InputMedia\InputMediaVideoType> $media, array $data = null
Static

Parameters

$chatId

integerstring

$media

array<mixed,\TgBotApi\BotApiBase\Type\InputMedia\InputMediaPhotoType>array<mixed,\TgBotApi\BotApiBase\Type\InputMedia\InputMediaVideoType>

$data

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

fill()

fill(array $data, array $forbidden = array()
Inherited

Parameters

$data

array

$forbidden

array

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

 Properties

 

Optional. Pass True, if the message should be sent even if the specified replied-to message is not found.

$allowSendingWithoutReply : boolean | null

Default

 

Unique identifier for the target chat or username of the target channel (in the format @channelusername).

$chatId : integer | string

Default

 

Optional. Sends the message silently. Users will receive a notification with no sound.

$disableNotification : boolean | null

Default

 

A JSON-serialized array describing photos and videos to be sent, must include 2–10 items.

$media : array<mixed,\TgBotApi\BotApiBase\Type\InputMedia\InputMediaPhotoType> | array<mixed,\TgBotApi\BotApiBase\Type\InputMedia\InputMediaVideoType>

Default

 

Optional. If the message is a reply, ID of the original message.

$replyToMessageId : integer | null

Default