WebexMessageRequest Class

Definition

Represents the payload received when a Webex Message is sent to the bot.

public class WebexMessageRequest
type WebexMessageRequest = class
Public Class WebexMessageRequest
Inheritance
WebexMessageRequest

Constructors

WebexMessageRequest()

Initializes a new instance of the WebexMessageRequest class. Represents the request needed to create a message with attachments.

Properties

Attachments

Gets or sets the content attachments to attach to the message.

Files

Gets the URI to a binary file to be posted into the room. Only one file is allowed per message.

Markdown

Gets or sets the message in Markdown format.

RoomId

Gets or sets the room ID of the message.

Text

Gets or sets the text of the message.

ToPersonEmail

Gets or sets the email address of the recipient when sending a private 1:1 message.

ToPersonId

Gets or sets the person ID of the recipient when sending a private 1:1 message.

Methods

ShouldSerializeFiles()

Checks if Files property should be serialized or not.

Applies to