copyWith method

InlineQueryResultCachedSticker copyWith({
  1. String? id,
  2. String? stickerFileId,
  3. InlineKeyboardMarkup? replyMarkup,
  4. InputMessageContent? inputMessageContent,
})

Copy method

Implementation

InlineQueryResultCachedSticker copyWith({
  String? id,
  String? stickerFileId,
  InlineKeyboardMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) {
  return InlineQueryResultCachedSticker(
    id: id ?? this.id,
    stickerFileId: stickerFileId ?? this.stickerFileId,
    replyMarkup: replyMarkup ?? this.replyMarkup,
    inputMessageContent: inputMessageContent ?? this.inputMessageContent,
  );
}