copyWith method
InputInlineQueryResultDocument
copyWith({
- String? id,
- String? title,
- String? description,
- String? documentUrl,
- String? mimeType,
- String? thumbnailUrl,
- int? thumbnailWidth,
- int? thumbnailHeight,
- ReplyMarkup? replyMarkup,
- InputMessageContent? inputMessageContent,
override
Implementation
@override
InputInlineQueryResultDocument copyWith({
String? id,
String? title,
String? description,
String? documentUrl,
String? mimeType,
String? thumbnailUrl,
int? thumbnailWidth,
int? thumbnailHeight,
ReplyMarkup? replyMarkup,
InputMessageContent? inputMessageContent,
}) =>
InputInlineQueryResultDocument(
id: id ?? this.id,
title: title ?? this.title,
description: description ?? this.description,
documentUrl: documentUrl ?? this.documentUrl,
mimeType: mimeType ?? this.mimeType,
thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
replyMarkup: replyMarkup ?? this.replyMarkup,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);