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

    Interface PrivateChat

    Internal type for private chats

    interface PrivateChat {
        first_name: string;
        id: number;
        is_direct_messages?: undefined;
        is_forum?: undefined;
        last_name?: string;
        title?: undefined;
        type: "private";
        username?: string;
    }
    Index

    Properties

    first_name: string

    First name of the other party in a private chat

    id: number

    Unique identifier for this chat.

    is_direct_messages?: undefined

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

    is_forum?: undefined

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

    last_name?: string

    Last name of the other party in a private chat

    title?: undefined

    Title, for supergroups, channels and group chats

    type: "private"

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

    username?: string

    Username, for private chats, supergroups and channels if available