Interface SendBusinessMessageAlbum

Sends 2-10 messages grouped together into an album on behalf of a business account; for bots only. 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#sendBusinessMessageAlbum.

interface SendBusinessMessageAlbum {
    @type: "sendBusinessMessageAlbum";
    business_connection_id: string;
    chat_id: number;
    disable_notification?: boolean;
    effect_id: string;
    input_message_contents: InputMessageContent[];
    protect_content?: boolean;
    reply_to: InputMessageReplyTo;
}

Properties

@type: "sendBusinessMessageAlbum"
business_connection_id: string

Unique identifier of business connection on behalf of which to send the request.

chat_id: number

Target chat.

disable_notification?: boolean

Pass true to disable notification for the message.

effect_id: string

Identifier of the effect to apply to the message.

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.

protect_content?: boolean

Pass true if the content of the message must be protected from forwarding and saving.

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