telegramx.js

ChatMemberBanned

interface

Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.

Declaration

interface ChatMemberBanned 

Properties

statusproperty#
status: 'kicked';

The member's status in the chat, always "kicked"

until_dateproperty#
until_date: number;

Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever.

userproperty#
user: User;

Information about the user