Azure Connectors Node.js SDK
    Preparing search index...

    Interface PostMessageRequest

    Definition: PostMessageRequest

    interface PostMessageRequest {
        as_user?: boolean;
        channel: string;
        icon_emoji?: string;
        icon_url?: string;
        link_names?: number;
        mrkdwn?: boolean;
        parse?: string;
        text: string;
        unfurl_links?: boolean;
        unfurl_media?: boolean;
        username?: string;
    }
    Index
    as_user?: boolean

    Pass true to post the message as the authenticated user, instead of as a bot.

    channel: string

    Channel, private group, or IM channel to send message to. Can be a name(ex: #general) or an encoded ID.

    icon_emoji?: string

    Emoji to use as an icon for this message.

    icon_url?: string

    URL to an image to use as an icon for this message.

    link_names?: number

    Find and link channel names and usernames.

    mrkdwn?: boolean

    Slack markup parsing setting. Enabled by default.

    parse?: string

    Change how messages are treated. For details, see https://api.slack.com/docs/formatting

    text: string

    Body of the message to send. Slack API will truncate messages containing more than 40,000 characters. For formatting options, see https://api.slack.com/docs/formatting

    unfurl_links?: boolean

    Pass true to enable unfurling of primarily text-based content.

    unfurl_media?: boolean

    Pass false to disable unfurling of media content.

    username?: string

    Name of the bot.