copyWith method

  1. @override
InputInlineQueryResultSticker copyWith({
  1. String? id,
  2. String? thumbnailUrl,
  3. String? stickerUrl,
  4. int? stickerWidth,
  5. int? stickerHeight,
  6. ReplyMarkup? replyMarkup,
  7. InputMessageContent? inputMessageContent,
})
override

Implementation

@override
InputInlineQueryResultSticker copyWith({
  String? id,
  String? thumbnailUrl,
  String? stickerUrl,
  int? stickerWidth,
  int? stickerHeight,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) =>
    InputInlineQueryResultSticker(
      id: id ?? this.id,
      thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
      stickerUrl: stickerUrl ?? this.stickerUrl,
      stickerWidth: stickerWidth ?? this.stickerWidth,
      stickerHeight: stickerHeight ?? this.stickerHeight,
      replyMarkup: replyMarkup ?? this.replyMarkup,
      inputMessageContent: inputMessageContent ?? this.inputMessageContent,
    );