copyWith method
InputInlineQueryResultVoiceNote
copyWith({
- String? id,
- String? title,
- String? voiceNoteUrl,
- int? voiceNoteDuration,
- ReplyMarkup? replyMarkup,
- InputMessageContent? inputMessageContent,
override
Implementation
@override
InputInlineQueryResultVoiceNote copyWith({
String? id,
String? title,
String? voiceNoteUrl,
int? voiceNoteDuration,
ReplyMarkup? replyMarkup,
InputMessageContent? inputMessageContent,
}) => InputInlineQueryResultVoiceNote(
id: id ?? this.id,
title: title ?? this.title,
voiceNoteUrl: voiceNoteUrl ?? this.voiceNoteUrl,
voiceNoteDuration: voiceNoteDuration ?? this.voiceNoteDuration,
replyMarkup: replyMarkup ?? this.replyMarkup,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);