copyWith method
InlineQueryResultCachedMpeg4Gif
copyWith({
- String? id,
- String? mpeg4FileId,
- String? title,
- ParseMode? parseMode,
- InlineKeyboardMarkup? replyMarkup,
- InputMessageContent? inputMessageContent,
- bool? showCaptionAboveMedia,
Copy method
Implementation
InlineQueryResultCachedMpeg4Gif copyWith({
String? id,
String? mpeg4FileId,
String? title,
String? caption,
ParseMode? parseMode,
List<MessageEntity>? captionEntities,
InlineKeyboardMarkup? replyMarkup,
InputMessageContent? inputMessageContent,
bool? showCaptionAboveMedia,
}) {
return InlineQueryResultCachedMpeg4Gif(
id: id ?? this.id,
mpeg4FileId: mpeg4FileId ?? this.mpeg4FileId,
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,
);
}