Class TdApi.AddQuickReplyShortcutMessageAlbum

Enclosing class:
TdApi

public static class TdApi.AddQuickReplyShortcutMessageAlbum extends TdApi.Function<TdApi.QuickReplyMessages>
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.

Returns QuickReplyMessages

  • Field Details

    • shortcutName

      public String shortcutName
      Name of the target shortcut.
    • replyToMessageId

      public long replyToMessageId
      Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none.
    • inputMessageContents

      public TdApi.InputMessageContent[] inputMessageContents
      Contents of messages to be sent. At most 10 messages can be added to an album. All messages must have the same value of showCaptionAboveMedia.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • AddQuickReplyShortcutMessageAlbum

      public AddQuickReplyShortcutMessageAlbum()
      Default constructor for a function, which 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.

      Returns QuickReplyMessages

    • AddQuickReplyShortcutMessageAlbum

      public AddQuickReplyShortcutMessageAlbum(String shortcutName, long replyToMessageId, TdApi.InputMessageContent[] inputMessageContents)
      Creates a function, which 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.

      Returns QuickReplyMessages

      Parameters:
      shortcutName - Name of the target shortcut.
      replyToMessageId - Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none.
      inputMessageContents - Contents of messages to be sent. At most 10 messages can be added to an album. All messages must have the same value of showCaptionAboveMedia.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR