Skip to content

sendBusinessMessageAlbum

Function · TDLib 1.8.67 · d1085f9c

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

sendBusinessMessageAlbum(
  business_connection_id: string,
  chat_id: int53,
  reply_to: InputMessageReplyTo,
  disable_notification: Bool,
  protect_content: Bool,
  effect_id: int64,
  input_message_contents: list of InputMessageContent
) → BusinessMessages

business_connection_id

string

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

chat_id

int53

Target chat

reply_to

InputMessageReplyTo

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

disable_notification

Bool

Pass true to disable notification for the message

protect_content

Bool

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

effect_id

int64

Identifier of the effect to apply to the message

input_message_contents

list of 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