{
"id": 2645,
"name": "ChatMemberAdministratorPermissions",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2651,
"name": "canChangeInfo",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "If the administrator can change the chat title, photo and other settings"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1782,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2647,
"name": "canDeleteMessages",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "If the administrator can delete messages of other users"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1770,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2654,
"name": "canEditMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If the administrator can edit messages of other users and can pin messages, channels only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1788,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2652,
"name": "canInviteUsers",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "If the user is allowed to invite new users to the chat"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1784,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2646,
"name": "canManageChat",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "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": 1768,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2656,
"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": 1792,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2648,
"name": "canManageVoiceChats",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "If the administrator can manage video chats"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1772,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2655,
"name": "canPinMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If the user is allowed to pin messages; groups and supergroups only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1790,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2653,
"name": "canPostMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "If the administrator can post in the channel, channels only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1786,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2650,
"name": "canPromoteMembers",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "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": 1780,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2649,
"name": "canRestrictMembers",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "If the administrator can restrict, ban or unban chat members"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1774,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2651,
2647,
2654,
2652,
2646,
2656,
2648,
2655,
2653,
2650,
2649
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1762,
"character": 17
}
]
}