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