copyWith method
InputInlineQueryResultPhoto
copyWith({
- String? id,
- String? title,
- String? description,
- String? thumbnailUrl,
- String? photoUrl,
- int? photoWidth,
- int? photoHeight,
- ReplyMarkup? replyMarkup,
- InputMessageContent? inputMessageContent,
override
Implementation
@override
InputInlineQueryResultPhoto copyWith({
String? id,
String? title,
String? description,
String? thumbnailUrl,
String? photoUrl,
int? photoWidth,
int? photoHeight,
ReplyMarkup? replyMarkup,
InputMessageContent? inputMessageContent,
}) => InputInlineQueryResultPhoto(
id: id ?? this.id,
title: title ?? this.title,
description: description ?? this.description,
thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
photoUrl: photoUrl ?? this.photoUrl,
photoWidth: photoWidth ?? this.photoWidth,
photoHeight: photoHeight ?? this.photoHeight,
replyMarkup: replyMarkup ?? this.replyMarkup,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);