{
"id": 2438,
"name": "ChatAdministratorRights",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2445,
"name": "canChangeInfo",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the user is allowed to change the chat title, photo and other settings"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1186,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2441,
"name": "canDeleteMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the administrator can delete messages of other users"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1174,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2448,
"name": "canEditMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the administrator can edit messages of other users and can pin messages; channels only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1192,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2446,
"name": "canInviteUsers",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the user is allowed to invite new users to the chat"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1188,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2440,
"name": "canManageChat",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the administrator can access the chat event log, chat statistics, message statistics in channels,\nsee channel members, see anonymous administrators in supergroups and ignore slow mode.\nImplied by any other administrator privilege"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1172,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2450,
"name": "canManageTopics",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1196,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2442,
"name": "canManageVideoChats",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the administrator can manage video chats"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1176,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2449,
"name": "canPinMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the user is allowed to pin messages; groups and supergroups only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1194,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2447,
"name": "canPostMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the administrator can post in the channel; channels only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1190,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2444,
"name": "canPromoteMembers",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the administrator can add new administrators with a subset of their own privileges\nor demote administrators that he has promoted, directly or indirectly\n(promoted by administrators that were appointed by the user)"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1184,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2443,
"name": "canRestrictMembers",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the administrator can restrict, ban or unban chat members"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1178,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2439,
"name": "isAnonymous",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "*true*, if the user's presence in the chat is hidden"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1166,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2445,
2441,
2448,
2446,
2440,
2450,
2442,
2449,
2447,
2444,
2443,
2439
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1164,
"character": 17
}
]
}