ChatMemberBanOptions Interface
{
"id": 2397,
"name": "ChatMemberBanOptions",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2399,
"name": "revokeMessages",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Pass *true* to delete all messages from the chat for the user that is being removed.\nIf *false*, the user will be able to see messages in the group that were sent before the user was removed.\nAlways *true* for supergroups and channels."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1041,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2398,
"name": "untilDate",
"variant": "declaration",
"kind": 1024,
"flags": {
"isOptional": true
},
"comment": {
"summary": [
{
"kind": "text",
"text": "Date when the user will be unbanned.\nIf user is banned for more than 366 days or less than 30 seconds from the current time,\nthey are considered to be banned forever"
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1035,
"character": 1
}
],
"type": {
"type": "reference",
"target": {
"sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
"qualifiedName": "Date"
},
"name": "Date",
"package": "typescript"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2399,
2398
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 1029,
"character": 17
}
]
}