PostMessageRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
PostMessageRequest
public class PostMessageRequest
type PostMessageRequest = class
Public Class PostMessageRequest
- Inheritance
-
PostMessageRequest
Constructors
| Name | Description |
|---|---|
| PostMessageRequest() | |
Properties
| Name | Description |
|---|---|
| BotName |
Name of the bot. |
| ChannelName |
Channel, private group, or IM channel to send message to. Can be a name(ex: #general) or an encoded ID. |
| IconEmoji |
Emoji to use as an icon for this message. |
| IconUrl |
URL to an image to use as an icon for this message. |
| LinkNames |
Find and link channel names and usernames. |
| MessageText |
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 |
| ParseMode |
Change how messages are treated. For details, see https://api.slack.com/docs/formatting |
| PostAsUser |
Pass true to post the message as the authenticated user, instead of as a bot. |
| SlackMarkupParsing |
Slack markup parsing setting. Enabled by default. |
| UnfurlLinks |
Pass true to enable unfurling of primarily text-based content. |
| UnfurlMedia |
Pass false to disable unfurling of media content. |