copyWith method

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

Implementation

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