copyWith method

SendMessageAlbum copyWith({
  1. int? chatId,
  2. int? messageThreadId,
  3. int? replyToMessageId,
  4. MessageSendOptions? options,
  5. List<InputMessageContent>? inputMessageContents,
})

Implementation

SendMessageAlbum copyWith({
  int? chatId,
  int? messageThreadId,
  int? replyToMessageId,
  MessageSendOptions? options,
  List<InputMessageContent>? inputMessageContents,
}) => SendMessageAlbum(
  chatId: chatId ?? this.chatId,
  messageThreadId: messageThreadId ?? this.messageThreadId,
  replyToMessageId: replyToMessageId ?? this.replyToMessageId,
  options: options ?? this.options,
  inputMessageContents: inputMessageContents ?? this.inputMessageContents,
);