copyWith method
InputInlineQueryResultAnimation
copyWith({
- String? id,
- String? title,
- String? thumbnailUrl,
- String? thumbnailMimeType,
- String? videoUrl,
- String? videoMimeType,
- int? videoDuration,
- int? videoWidth,
- int? videoHeight,
- ReplyMarkup? replyMarkup,
- InputMessageContent? inputMessageContent,
override
Implementation
@override
InputInlineQueryResultAnimation copyWith({
String? id,
String? title,
String? thumbnailUrl,
String? thumbnailMimeType,
String? videoUrl,
String? videoMimeType,
int? videoDuration,
int? videoWidth,
int? videoHeight,
ReplyMarkup? replyMarkup,
InputMessageContent? inputMessageContent,
}) =>
InputInlineQueryResultAnimation(
id: id ?? this.id,
title: title ?? this.title,
thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
thumbnailMimeType: thumbnailMimeType ?? this.thumbnailMimeType,
videoUrl: videoUrl ?? this.videoUrl,
videoMimeType: videoMimeType ?? this.videoMimeType,
videoDuration: videoDuration ?? this.videoDuration,
videoWidth: videoWidth ?? this.videoWidth,
videoHeight: videoHeight ?? this.videoHeight,
replyMarkup: replyMarkup ?? this.replyMarkup,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);