{
  "name": "sendMediaGroup",
  "anchor": "sendmediagroup",
  "description": [
    "Use this method to 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 Message objects that were sent is returned."
  ],
  "table": {
    "headers": [
      "Parameter",
      "Type",
      "Required",
      "Description"
    ],
    "rows": [
      {
        "parameter": "business_connection_id",
        "type": "String",
        "required": "Optional",
        "description": "Unique identifier of the business connection on behalf of which the message will be sent"
      },
      {
        "parameter": "chat_id",
        "type": "Integer or String",
        "required": "Yes",
        "description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername )"
      },
      {
        "parameter": "message_thread_id",
        "type": "Integer",
        "required": "Optional",
        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only"
      },
      {
        "parameter": "direct_messages_topic_id",
        "type": "Integer",
        "required": "Optional",
        "description": "Identifier of the direct messages topic to which the messages will be sent; required if the messages are sent to a direct messages chat"
      },
      {
        "parameter": "media",
        "type": "Array of InputMediaAudio , InputMediaDocument , InputMediaPhoto and InputMediaVideo",
        "required": "Yes",
        "description": "A JSON-serialized array describing messages to be sent, must include 2-10 items"
      },
      {
        "parameter": "disable_notification",
        "type": "Boolean",
        "required": "Optional",
        "description": "Sends messages silently . Users will receive a notification with no sound."
      },
      {
        "parameter": "protect_content",
        "type": "Boolean",
        "required": "Optional",
        "description": "Protects the contents of the sent messages from forwarding and saving"
      },
      {
        "parameter": "allow_paid_broadcast",
        "type": "Boolean",
        "required": "Optional",
        "description": "Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance"
      },
      {
        "parameter": "message_effect_id",
        "type": "String",
        "required": "Optional",
        "description": "Unique identifier of the message effect to be added to the message; for private chats only"
      },
      {
        "parameter": "reply_parameters",
        "type": "ReplyParameters",
        "required": "Optional",
        "description": "Description of the message to reply to"
      }
    ]
  },
  "notes": []
}