CF Workers Telegram Bot - v12.6.20
    Preparing search index...

    Interface SupergroupChat

    Internal type for supergroup chats

    interface SupergroupChat {
        first_name?: undefined;
        id: number;
        is_direct_messages?: true;
        is_forum?: true;
        last_name?: undefined;
        title: string;
        type: "supergroup";
        username?: string;
    }
    Index

    Properties

    first_name?: undefined

    First name of the other party in a private chat

    id: number

    Unique identifier for this chat.

    is_direct_messages?: true

    True, if the chat is the direct messages chat of a channel

    is_forum?: true

    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: "supergroup"

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

    username?: string

    Username, for private chats, supergroups and channels if available