copyWith method
SendMessageAlbum
copyWith({
- int? chatId,
- int? messageThreadId,
- MessageReplyTo? replyTo,
- MessageSendOptions? options,
- List<
InputMessageContent> ? inputMessageContents, - 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,
);