Interface GroupChat

Internal type for group chats

interface GroupChat {
    first_name?: undefined;
    id: number;
    is_forum?: undefined;
    last_name?: undefined;
    title: string;
    type: "group";
    username?: undefined;
}

Properties

first_name?: undefined

First name of the other party in a private chat

id: number

Unique identifier for this chat.

is_forum?: undefined

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

last_name?: undefined

Last name of the other party in a private chat

title: string

Title, for supergroups, channels and group chats

type: "group"

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

username?: undefined

Username, for private chats, supergroups and channels if available