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

    Interface DateTimeMessageEntity

    interface DateTimeMessageEntity {
        date_time_format:
            | ""
            | "r"
            | "w"
            | "d"
            | "D"
            | "t"
            | "T"
            | "dt"
            | "dT"
            | "Dt"
            | "DT"
            | "wt"
            | "wT"
            | "wd"
            | "wdt"
            | "wdT"
            | "wD"
            | "wDt"
            | "wDT";
        length: number;
        offset: number;
        type: "date_time";
        unix_time: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    date_time_format:
        | ""
        | "r"
        | "w"
        | "d"
        | "D"
        | "t"
        | "T"
        | "dt"
        | "dT"
        | "Dt"
        | "DT"
        | "wt"
        | "wT"
        | "wd"
        | "wdt"
        | "wdT"
        | "wD"
        | "wDt"
        | "wDT"

    For “date_time” only, the string that defines the formatting of the date and time. See date-time entity formatting for more details.

    length: number

    Length of the entity in UTF-16 code units

    offset: number

    Offset in UTF-16 code units to the start of the entity

    type: "date_time"

    Type of the entity. Currently, can be “mention” (@username), “hashtag” (#hashtag or #hashtag@chatusername), “cashtag” ($USD or $USD@chatusername), “bot_command” (/start@jobs_bot), “url” (https://telegram.org), “email” (do-not-reply@telegram.org), “phone_number” (+1-212-555-0123), “bold” (bold text), “italic” (italic text), “underline” (underlined text), “strikethrough” (strikethrough text), “spoiler” (spoiler message), “blockquote” (block quotation), “expandable_blockquote” (collapsed-by-default block quotation), “code” (monowidth string), “pre” (monowidth block), “text_link” (for clickable text URLs), “text_mention” (for users without usernames), “custom_emoji” (for inline custom emoji stickers), or “date_time” (for formatted date and time).

    unix_time: number

    For “date_time” only, the Unix time associated with the entity