Skip to main content
Module

x/grammy/types.web.ts>Chat.GroupChat

The Telegram Bot Framework.
Very Popular
Latest
interface Chat.GroupChat
import { type Chat } from "https://deno.land/x/grammy@v1.23.1/types.web.ts";
const { GroupChat } = Chat;

Internal type for group chats

Properties

id: number

Unique identifier for this chat.

type: "group"

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

title: string

Title, for supergroups, channels and group chats

optional
username: undefined

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)