typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
21 lines (20 loc) • 575 B
TypeScript
import { User } from './';
/**
* ## ChatMemberBanned
* Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.
* @see https://core.telegram.org/bots/api#chatmemberbanned
*/
export type ChatMemberBanned = {
/**
* The member's status in the chat, always “kicked”
*/
status: 'kicked';
/**
* Information about the user
*/
user: User;
/**
* Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever
*/
until_date: number;
};