copyWith method
Copy method
Implementation
InlineQueryResultMpeg4Gif copyWith({
String? id,
String? mpeg4Url,
int? mpeg4Width,
int? mpeg4Height,
int? mpeg4Duration,
String? thumbnailUrl,
String? thumbnailMimeType,
String? title,
String? caption,
ParseMode? parseMode,
List<MessageEntity>? captionEntities,
InlineKeyboardMarkup? replyMarkup,
InputMessageContent? inputMessageContent,
bool? showCaptionAboveMedia,
}) {
return InlineQueryResultMpeg4Gif(
id: id ?? this.id,
mpeg4Url: mpeg4Url ?? this.mpeg4Url,
mpeg4Width: mpeg4Width ?? this.mpeg4Width,
mpeg4Height: mpeg4Height ?? this.mpeg4Height,
mpeg4Duration: mpeg4Duration ?? this.mpeg4Duration,
thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
thumbnailMimeType: thumbnailMimeType ?? this.thumbnailMimeType,
title: title ?? this.title,
caption: caption ?? this.caption,
parseMode: parseMode ?? this.parseMode,
captionEntities: captionEntities ?? this.captionEntities,
replyMarkup: replyMarkup ?? this.replyMarkup,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
showCaptionAboveMedia:
showCaptionAboveMedia ?? this.showCaptionAboveMedia,
);
}