SendMessageAlbum constructor

const SendMessageAlbum({
  1. required int chatId,
  2. required int messageThreadId,
  3. MessageReplyTo? replyTo,
  4. MessageSendOptions? options,
  5. required List<InputMessageContent> inputMessageContents,
  6. required bool onlyPreview,
})

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

Implementation

const SendMessageAlbum({
  required this.chatId,
  required this.messageThreadId,
  this.replyTo,
  this.options,
  required this.inputMessageContents,
  required this.onlyPreview,
});