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 be only grouped in an album with messages of the same type. Returns sent messages. Request type for Tdjson#sendMessageAlbum.

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

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.

message_thread_id: number

If not 0, the message thread identifier in which the messages will be sent.

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

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