ChatMemberBanned Class
extends BaseRepresents a chat member that was banned in the chat and can't return to the chat or view chat messages.
Properties
bannedUntil:
client: Client
status: ChatMemberStatus
user: User
Methods
{ "id": 1177, "name": "ChatMemberBanned", "variant": "declaration", "kind": 128, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Represents a chat member that was banned in the chat and can't return to the chat or view chat messages." } ] }, "children": [ { "id": 1178, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "packages/tgkit/src/structures/ChatMemberBanned.ts", "line": 11, "character": 1 } ], "signatures": [ { "id": 1179, "name": "new ChatMemberBanned", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "packages/tgkit/src/structures/ChatMemberBanned.ts", "line": 11, "character": 1 } ], "parameters": [ { "id": 1180, "name": "client", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": 1, "name": "Client", "package": "tgkit", "qualifiedName": "default" } }, { "id": 1181, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "reference", "target": 1177, "name": "ChatMemberLeft", "package": "tgkit", "qualifiedName": "default" }, "overwrites": { "type": "reference", "target": 1159, "name": "default.constructor" } } ], "overwrites": { "type": "reference", "target": 1158, "name": "default.constructor" } }, { "id": 1182, "name": "bannedUntil", "variant": "declaration", "kind": 1024, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Date when restrictions will be lifted for this user. If *null*, then the user is banned forever" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/ChatMemberBanned.ts", "line": 8, "character": 1 } ], "type": { "type": "union", "types": [ { "type": "literal", "value": null }, { "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" } ] } }, { "id": 1185, "name": "client", "variant": "declaration", "kind": 1024, "flags": { "isInherited": true }, "sources": [ { "fileName": "packages/tgkit/src/structures/Base.ts", "line": 4, "character": 1 } ], "type": { "type": "reference", "target": 1, "name": "Client", "package": "tgkit", "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", "target": 1164, "name": "default.client" } }, { "id": 1183, "name": "status", "variant": "declaration", "kind": 1024, "flags": { "isInherited": true }, "comment": { "summary": [ { "kind": "text", "text": "The member's status in the chat" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/ChatMember.ts", "line": 10, "character": 1 } ], "type": { "type": "reference", "target": 2009, "name": "ChatMemberStatus", "package": "tgkit" }, "inheritedFrom": { "type": "reference", "target": 1162, "name": "default.status" } }, { "id": 1184, "name": "user", "variant": "declaration", "kind": 1024, "flags": { "isInherited": true }, "comment": { "summary": [ { "kind": "text", "text": "Information about the user" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/ChatMember.ts", "line": 13, "character": 1 } ], "type": { "type": "reference", "target": 1888, "name": "User", "package": "tgkit", "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", "target": 1163, "name": "default.user" } } ], "groups": [ { "title": "Constructors", "children": [ 1178 ] }, { "title": "Properties", "children": [ 1182, 1185, 1183, 1184 ] } ], "sources": [ { "fileName": "packages/tgkit/src/structures/ChatMemberBanned.ts", "line": 6, "character": 21 } ], "extendedTypes": [ { "type": "reference", "target": 1157, "name": "default", "package": "tgkit" } ] }