Slack.postMessage

Sends a message to a channel.

  1. Response postMessage(string msgString)
  2. Response postMessage(JSONValue jsonMsg)
    struct Slack
    const
    postMessage
    (
    JSONValue jsonMsg
    )

Parameters

jsonMsg JSONValue

Message containing either "attachments" or "blocks" for more elaborate formatting

Return Value

Type: Response

JSON response from REST API endpoint.

See Also

Meta