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