Actions101
- Bot Actions
- Chat Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member Count
- Get Chat Member
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Administrator Custom Title
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Photo
- Delete Chat Photo
- Set Chat Title
- Set Chat Description
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Leave Chat
- Set Chat Menu Button
- Get Chat Menu Button
- Set Chat Sticker Set
- Delete Chat Sticker Set
- File Actions
- Forum Actions
- Game Actions
- Inline Actions
- Message Actions
- Send Message
- Forward Message
- Copy Message
- Send Photo
- Send Audio
- Send Document
- Send Video
- Send Animation
- Send Voice
- Send Video Note
- Send Media Group
- Send Location
- Send Venue
- Send Contact
- Send Poll
- Send Dice
- Send Chat Action
- Edit Message Text
- Edit Message Caption
- Edit Message Media
- Edit Message Reply Markup
- Edit Message Live Location
- Stop Message Live Location
- Stop Poll
- Delete Message
- Delete Messages
- Payment Actions
- Sticker Actions
- Update Actions
- Webhook Actions
Message → Send Media Group
AI-generatedSummary
Send a group of media messages (photos or videos) together as a media group to a specified chat.
Inputs
- Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
- Media Group (JSON) (required) — JSON array of InputMediaPhoto and/or InputMediaVideo objects representing the group of media to send.
- Additional Fields — Optional parameters to customize the message, such as disabling notifications, protecting content, replying to a message, sending in a forum topic, disabling web page preview, or allowing sending without replying.
Output shape
a list of message objects representing the sent media group
The output includes each message in the sent media group individually. Optional additional fields can modify message sending behavior.
Examples
Example 1: Send multiple photos and videos as a single media group to a chat
Specify the chat_id of the target chat, provide a JSON array of media objects in 'media_group', and optionally configure additional fields like 'disable_notification'.