Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy_types/manage.ts>ChatMemberBanned

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface ChatMemberBanned
import { type ChatMemberBanned } from "https://deno.land/x/grammy_types@v3.6.2/manage.ts";

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

Properties

status: "kicked"

The member's status in the chat, always “kicked”

user: User

Information about the user

until_date: number

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