Module

x/grammy_types/manage.ts>Chat.ChannelChat

Type declarations of the Telegram Bot API.
Latest
interface Chat.ChannelChat
import { type Chat } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/manage.ts";
const { ChannelChat } = Chat;

Internal type for channel chats

Properties

id: number

Unique identifier for this chat.

type: "channel"

Type of the chat, can be either “private”, “group”, “supergroup” or “channel”

title: string

Title, for supergroups, channels and group chats

optional
username: string

Username, for private chats, supergroups and channels if available

optional
first_name: undefined

First name of the other party in a private chat

optional
last_name: undefined

Last name of the other party in a private chat

optional
is_forum: undefined

True, if the supergroup chat is a forum (has topics enabled)