Skip to content

sendMessageAlbum

Function · TDLib 1.8.67 · d1085f9c

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

sendMessageAlbum(
  chat_id: int53,
  topic_id: MessageTopic,
  reply_to: InputMessageReplyTo,
  options: MessageSendOptions,
  input_message_contents: list of InputMessageContent
) → Messages

chat_id

int53

Target chat

topic_id

MessageTopic

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

reply_to

InputMessageReplyTo

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

options

MessageSendOptions

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

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