Skip to content

addQuickReplyShortcutMessageAlbum

Function · TDLib 1.8.67 · d1085f9c

Adds 2-10 messages grouped together into an album to a quick reply shortcut. 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

addQuickReplyShortcutMessageAlbum(
  shortcut_name: string,
  reply_to_message_id: int53,
  input_message_contents: list of InputMessageContent
) → QuickReplyMessages

shortcut_name

string

Name of the target shortcut

reply_to_message_id

int53

Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none

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