Skip to main content
Module

x/grammy_menu/deps.deno.ts>Chat.SupergroupChat

Interactive menus for grammY.
Latest
interface Chat.SupergroupChat
import { type Chat } from "https://deno.land/x/grammy_menu@v1.2.2/deps.deno.ts";
const { SupergroupChat } = Chat;

Internal type for supergroup chats

Properties

id: number

Unique identifier for this chat.

type: "supergroup"

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: true

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