copyWith method
InputInlineQueryResultContact
copyWith({
- String? id,
- Contact? contact,
- String? thumbnailUrl,
- int? thumbnailWidth,
- int? thumbnailHeight,
- ReplyMarkup? replyMarkup,
- InputMessageContent? inputMessageContent,
override
Implementation
@override
InputInlineQueryResultContact copyWith({
String? id,
Contact? contact,
String? thumbnailUrl,
int? thumbnailWidth,
int? thumbnailHeight,
ReplyMarkup? replyMarkup,
InputMessageContent? inputMessageContent,
}) => InputInlineQueryResultContact(
id: id ?? this.id,
contact: contact ?? this.contact,
thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
replyMarkup: replyMarkup ?? this.replyMarkup,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);