Documentation - v1.6.0-beta.24
    Preparing search index...

    The raw Slack event envelope provided by Azure Bot Service in activity.channelData.SlackMessage.

    interface SlackEventEnvelope {
        actions?: SlackAction[];
        api_app_id?: string;
        event?: {
            channel: string;
            team: string;
            text?: string;
            thread_ts?: string;
            ts: string;
            type: string;
            user: string;
            [key: string]: unknown;
        };
        event_id?: string;
        event_time?: number;
        team_id?: string;
        type?: string;
    }
    Index

    Properties

    actions?: SlackAction[]

    Interactive actions present for block_actions payloads.

    api_app_id?: string

    Slack app ID.

    event?: {
        channel: string;
        team: string;
        text?: string;
        thread_ts?: string;
        ts: string;
        type: string;
        user: string;
        [key: string]: unknown;
    }

    The inner Slack event object.

    Type Declaration

    • [key: string]: unknown
    • channel: string

      Channel ID where the event occurred.

    • team: string

      Workspace ID.

    • Optionaltext?: string

      Message text.

    • Optionalthread_ts?: string

      Thread timestamp, present when the message is part of a thread.

    • ts: string

      Timestamp of the message.

    • type: string

      Slack event type (e.g. 'message', 'app_mention').

    • user: string

      User ID of the sender.

    event_id?: string

    Unique event identifier.

    event_time?: number

    Unix timestamp when the event was dispatched.

    team_id?: string

    Slack workspace ID.

    type?: string

    Outer event type (e.g. 'event_callback', 'block_actions').