SendBusinessMessageAlbum constructor

const SendBusinessMessageAlbum({
  1. required String businessConnectionId,
  2. required int chatId,
  3. InputMessageReplyTo? replyTo,
  4. required bool disableNotification,
  5. required bool protectContent,
  6. required int effectId,
  7. required List<InputMessageContent> inputMessageContents,
})

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

Implementation

const SendBusinessMessageAlbum({
  required this.businessConnectionId,
  required this.chatId,
  this.replyTo,
  required this.disableNotification,
  required this.protectContent,
  required this.effectId,
  required this.inputMessageContents,
});