Class SendMediaGroupMethod.
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
integer
string
$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
Unique identifier for the target chat or username of the target channel (in the format @channelusername).
$chatId : integer | string
Optional. Sends the message silently. Users will receive a notification with no sound.
$disableNotification : boolean | null
Optional. If the message is a reply, ID of the original message.
$replyToMessageId : integer | null