Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Message → Send Media Group

AI-generated

Summary

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'.

Links

Discussion