ChatMemberBanned
Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.
fields
| field | type | required | description |
|---|---|---|---|
status | string | required | The member's status in the chat, always “kicked” |
user | User | required | Information about the user |
until_date | number | required | Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever. |
import
import type { ChatMemberBanned } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#chatmemberbanned