copyWith method

  1. @override
InputInlineQueryResultContact copyWith({
  1. String? id,
  2. Contact? contact,
  3. String? thumbnailUrl,
  4. int? thumbnailWidth,
  5. int? thumbnailHeight,
  6. ReplyMarkup? replyMarkup,
  7. InputMessageContent? inputMessageContent,
})
override

Implementation

@override
InputInlineQueryResultContact copyWith({
  String? id,
  Contact? contact,
  String? thumbnailUrl,
  int? thumbnailWidth,
  int? thumbnailHeight,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) => InputInlineQueryResultContact(
  id: id ?? this.id,
  contact: contact ?? this.contact,
  thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
  thumbnailWidth: thumbnailWidth ?? this.thumbnailWidth,
  thumbnailHeight: thumbnailHeight ?? this.thumbnailHeight,
  replyMarkup: replyMarkup ?? this.replyMarkup,
  inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);