fix(client): gallery defaults to true for answerInlineQuery
This commit is contained in:
parent
f3e7de5c8c
commit
87de39a6fb
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ export async function answerInlineQuery(
|
|||
* Whether the results should be displayed as a gallery instead
|
||||
* of a vertical list. Only applicable to some media types.
|
||||
*
|
||||
* Defaults to `false`
|
||||
* Defaults to `true`
|
||||
*/
|
||||
gallery?: boolean
|
||||
|
||||
|
@ -102,7 +102,7 @@ export async function answerInlineQuery(
|
|||
queryId,
|
||||
results: tlResults,
|
||||
cacheTime: params.cacheTime ?? 300,
|
||||
gallery: params.gallery,
|
||||
gallery: params.gallery ?? true,
|
||||
private: params.private,
|
||||
nextOffset: params.nextOffset,
|
||||
switchPm: params.switchPm
|
||||
|
|
Loading…
Reference in a new issue