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