sendMediaGroup
Send multiple photos, videos, documents, or audio files as a single album to a Telegram chat. Returns the sent messages.
Instructions
Send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes | A JSON-serialized array describing messages to be sent, must include 2-10 items. Each item is an InputMediaAudio, InputMediaDocument, InputMediaPhoto and InputMediaVideo. | |
| chat_id | Yes | Unique identifier for the target chat or username of the target channel (in the format @channelusername). | |
| protect_content | No | Protects the contents of the sent messages from forwarding and saving. | |
| reply_parameters | No | Description of the message to reply to. | |
| message_effect_id | No | Unique identifier of the message effect to be added to the message; for private chats only. | |
| message_thread_id | No | Unique identifier for the target message thread (topic) of the forum; for forum supergroups only. | |
| allow_paid_broadcast | No | Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. | |
| disable_notification | No | Sends messages silently. Users will receive a notification with no sound. | |
| business_connection_id | No | Unique identifier of the business connection on behalf of which the message will be sent. | |
| direct_messages_topic_id | No | Unique identifier for the target direct messages topic; for bots only. |