copyWith method
InputInlineQueryResultLocation
copyWith({
- String? id,
- Location? location,
- int? livePeriod,
- String? title,
- String? thumbnailUrl,
- int? thumbnailWidth,
- int? thumbnailHeight,
- ReplyMarkup? replyMarkup,
- InputMessageContent? inputMessageContent,
override
Implementation
@override
InputInlineQueryResultLocation copyWith({
String? id,
Location? location,
int? livePeriod,
String? title,
String? thumbnailUrl,
int? thumbnailWidth,
int? thumbnailHeight,
ReplyMarkup? replyMarkup,
InputMessageContent? inputMessageContent,
}) =>
InputInlineQueryResultLocation(
id: id ?? this.id,
location: location ?? this.location,
livePeriod: livePeriod ?? this.livePeriod,
title: title ?? this.title,
thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
replyMarkup: replyMarkup ?? this.replyMarkup,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);