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