{
"id": 2378,
"name": "CallbackQueryAnswerOptions",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2382,
"name": "cacheTime",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "The maximum amount of time in seconds that the result of the callback query may be cached client-side.\nTelegram apps will support caching starting in version 3.14. Defaults to 0."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1003,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2380,
"name": "showAlert",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If true, an alert will be shown by the client instead of a notification at the top of the chat screen. Defaults\nto false."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 991,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2379,
"name": "text",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 986,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2381,
"name": "url",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "URL that will be opened by the user's client. If you have created a Game and accepted the conditions\nvia [@Botfather](https://t.me/BotFather), specify the URL that opens your game — note that this will only work if \nthe query comes from a "
},
{
"kind": "code",
"text": "`callbackGame`"
},
{
"kind": "text",
"text": " button. Otherwise, you may use links like "
},
{
"kind": "code",
"text": "`t.me/your_bot?start=XXXX`"
},
{
"kind": "text",
"text": " that\nopen your bot with a parameter."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 998,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2382,
2380,
2379,
2381
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 984,
"character": 17
}
]
}