copyWith method

  1. @override
InputInlineQueryResultAudio copyWith({
  1. String? id,
  2. String? title,
  3. String? performer,
  4. String? audioUrl,
  5. int? audioDuration,
  6. ReplyMarkup? replyMarkup,
  7. InputMessageContent? inputMessageContent,
})
override

Implementation

@override
InputInlineQueryResultAudio copyWith({
  String? id,
  String? title,
  String? performer,
  String? audioUrl,
  int? audioDuration,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) =>
    InputInlineQueryResultAudio(
      id: id ?? this.id,
      title: title ?? this.title,
      performer: performer ?? this.performer,
      audioUrl: audioUrl ?? this.audioUrl,
      audioDuration: audioDuration ?? this.audioDuration,
      replyMarkup: replyMarkup ?? this.replyMarkup,
      inputMessageContent: inputMessageContent ?? this.inputMessageContent,
    );