copyWith method
AnswerInlineQuery
copyWith({
- int? inlineQueryId,
- bool? isPersonal,
- InlineQueryResultsButton? button,
- List<
InputInlineQueryResult> ? results, - int? cacheTime,
- String? nextOffset,
Implementation
AnswerInlineQuery copyWith({
int? inlineQueryId,
bool? isPersonal,
InlineQueryResultsButton? button,
List<InputInlineQueryResult>? results,
int? cacheTime,
String? nextOffset,
}) =>
AnswerInlineQuery(
inlineQueryId: inlineQueryId ?? this.inlineQueryId,
isPersonal: isPersonal ?? this.isPersonal,
button: button ?? this.button,
results: results ?? this.results,
cacheTime: cacheTime ?? this.cacheTime,
nextOffset: nextOffset ?? this.nextOffset,
);