copyWith method
SendInlineQueryResultMessage
copyWith({
- int? chatId,
- int? messageThreadId,
- MessageReplyTo? replyTo,
- MessageSendOptions? options,
- int? queryId,
- String? resultId,
- bool? hideViaBot,
Implementation
SendInlineQueryResultMessage copyWith({
int? chatId,
int? messageThreadId,
MessageReplyTo? replyTo,
MessageSendOptions? options,
int? queryId,
String? resultId,
bool? hideViaBot,
}) =>
SendInlineQueryResultMessage(
chatId: chatId ?? this.chatId,
messageThreadId: messageThreadId ?? this.messageThreadId,
replyTo: replyTo ?? this.replyTo,
options: options ?? this.options,
queryId: queryId ?? this.queryId,
resultId: resultId ?? this.resultId,
hideViaBot: hideViaBot ?? this.hideViaBot,
);