WriteAccessAlowed Interface
{
"id": 2842,
"name": "WriteAccessAlowed",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2845,
"name": "fromAttachmentMenu",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the access was granted when the bot was added to the attachment or side menu"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 2325,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2843,
"name": "fromRequest",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the access was granted after the user accepted an explicit request from a Web App"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 2321,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2844,
"name": "webAppName",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Name of the Web App, if the access was granted when the Web App was launched from a link"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 2323,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2845,
2843,
2844
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 2319,
"character": 17
}
]
}