{
"id": 2404,
"name": "ChatMemberPromoteOptions",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2413,
"name": "canChangeInfo",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the administrator can change chat title, photo and other settings"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1084,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2409,
"name": "canDeleteMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the administrator can delete messages of other users"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1072,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2408,
"name": "canEditMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the administrator can edit messages of other users and can pin messages, channels only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1070,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2414,
"name": "canInviteUsers",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the administrator can invite new users to the chat"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1086,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2406,
"name": "canManageChat",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *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": 1066,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2416,
"name": "canManageTopics",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the user is allowed to create, rename, close, and reopen forum topics, supergroups only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1090,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2410,
"name": "canManageVideoChats",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the administrator can manage video chats"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1074,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2415,
"name": "canPinMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the administrator can pin messages, supergroups only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1088,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2407,
"name": "canPostMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the administrator can create channel posts, channels only"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1068,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2412,
"name": "canPromoteMembers",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *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 him)"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1082,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2411,
"name": "canRestrictMembers",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the administrator can restrict, ban or unban chat members"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1076,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2405,
"name": "isAnonymous",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* if the administrator's presence in the chat is hidden"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1060,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2413,
2409,
2408,
2414,
2406,
2416,
2410,
2415,
2407,
2412,
2411,
2405
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1058,
"character": 17
}
]
}