{
"id": 2361,
"name": "KeyboardButtonData",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2364,
"name": "requestChat",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If specified, pressing the button will open a list of suitable chats"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 921,
"character": 1
}
],
"type": {
"type": "reference",
"target": 2725,
"name": "KeyboardButtonRequestChat",
"package": "tgkit"
}
},
{
"id": 2365,
"name": "requestContact",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If *true*, the user's phone number will be sent as a contact when the button is pressed.\nAvailable in private chats only."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 926,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2366,
"name": "requestLocation",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If *true*, the user's current location will be sent when the button is pressed.\nAvailable in private chats only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 931,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2367,
"name": "requestPoll",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If specified, the user will be asked to create a poll and send it to the bot when the button is pressed.\nAvailable in private chats only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 936,
"character": 1
}
],
"type": {
"type": "reference",
"target": 2059,
"name": "KeyboardButtonPollType",
"package": "tgkit"
}
},
{
"id": 2363,
"name": "requestUser",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If specified, pressing the button will open a list of suitable users"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 919,
"character": 1
}
],
"type": {
"type": "reference",
"target": 2718,
"name": "KeyboardButtonRequestUser",
"package": "tgkit"
}
},
{
"id": 2362,
"name": "text",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Text of the button.\nIf none of the optional fields are used, it will be sent as a message when the button is pressed"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 917,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2368,
"name": "webApp",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If specified, the described Web App will be launched when the button is pressed.\nAvailable in private chats only."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 941,
"character": 1
}
],
"type": {
"type": "reference",
"target": 2334,
"name": "WebAppInfo",
"package": "tgkit"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2364,
2365,
2366,
2367,
2363,
2362,
2368
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 912,
"character": 17
}
]
}