ultra-telegram-framework
    Preparing search index...

    Interface SendChatActionParams

    interface SendChatActionParams {
        action: string;
        business_connection_id?: string;
        chat_id: string | number;
        message_thread_id?: number;
    }
    Index

    Properties

    action: string

    Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_voice or upload_voice for voice notes, upload_document for general files, choose_sticker for stickers, find_location for location data, record_video_note or upload_video_note for video notes.

    business_connection_id?: string

    Unique identifier of the business connection on behalf of which the action will be sent

    chat_id: string | number

    Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username. Channel chats and channel direct messages chats aren't supported.

    message_thread_id?: number

    Unique identifier for the target message thread or topic of a forum; for supergroups and private chats of bots with forum topic mode enabled only