fix(client): made params optional in InlineQuery#answer
This commit is contained in:
parent
0ea953732b
commit
c826c831e2
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ export class InlineQuery {
|
||||||
*/
|
*/
|
||||||
async answer(
|
async answer(
|
||||||
results: InputInlineResult[],
|
results: InputInlineResult[],
|
||||||
params: Parameters<TelegramClient['answerInlineQuery']>[2]
|
params?: Parameters<TelegramClient['answerInlineQuery']>[2]
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
return this.client.answerInlineQuery(this.raw.queryId, results, params)
|
return this.client.answerInlineQuery(this.raw.queryId, results, params)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue