Interface SendMessageAlbum

Sends 2-10 messages grouped together into an album. Currently, only audio, document, photo, and video messages can be grouped into an album. Documents and audio files can only be grouped in an album with messages of the same type. Returns the sent messages. Request type for Tdjson#sendMessageAlbum.

interface SendMessageAlbum {
    @type: "sendMessageAlbum";
    chat_id: number;
    input_message_contents: InputMessageContent[];
    options: MessageSendOptions;
    reply_to: InputMessageReplyTo;
    topic_id: MessageTopic;
}

Properties

@type: "sendMessageAlbum"
chat_id: number

Target chat.

input_message_contents: InputMessageContent[]

Contents of messages to be sent. At most 10 messages can be added to an album. All messages must have the same value of show_caption_above_media.

Options to be used to send the messages; pass null to use default options.

Information about the message or story to be replied to; pass null if none.

topic_id: MessageTopic

Topic in which the messages will be sent; pass null if none.