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

    Interface TelegramFrom

    This object represents a Telegram user or bot.

    interface TelegramFrom {
        added_to_attachment_menu?: true;
        first_name: string;
        id: number;
        is_bot: boolean;
        is_premium?: true;
        language_code?: string;
        last_name?: string;
        username?: string;
    }
    Index

    Properties

    added_to_attachment_menu?: true

    True, if this user added the bot to the attachment menu

    first_name: string

    User's or bot's first name

    id: number

    Unique identifier for this user or bot.

    is_bot: boolean

    True, if this user is a bot

    is_premium?: true

    True, if this user is a Telegram Premium user

    language_code?: string

    IETF language tag of the user's language

    last_name?: string

    User's or bot's last name

    username?: string

    User's or bot's username