copyWith method

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

Implementation

SendBusinessMessageAlbum copyWith({
  String? businessConnectionId,
  int? chatId,
  InputMessageReplyTo? replyTo,
  bool? disableNotification,
  bool? protectContent,
  int? effectId,
  List<InputMessageContent>? inputMessageContents,
}) => SendBusinessMessageAlbum(
  businessConnectionId: businessConnectionId ?? this.businessConnectionId,
  chatId: chatId ?? this.chatId,
  replyTo: replyTo ?? this.replyTo,
  disableNotification: disableNotification ?? this.disableNotification,
  protectContent: protectContent ?? this.protectContent,
  effectId: effectId ?? this.effectId,
  inputMessageContents: inputMessageContents ?? this.inputMessageContents,
);