Share via


TwilioMessage Class

Definition

Caution

The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.

A class wrapping Twilio request parameters.

[System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")]
public class TwilioMessage
[<System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")>]
type TwilioMessage = class
Public Class TwilioMessage
Inheritance
TwilioMessage
Attributes

Remarks

These parameters can be included in an HTTP request that contains a Twilio message.

Constructors

TwilioMessage()

Properties

AccountSid

Gets or sets the Sid of the Account that sent the message that created the resource.

ApiVersion

Gets or sets the API version used to process the message.

Author

Gets or sets the Author of the message.

Body

Gets or sets the message text.

EventType

Gets or sets the event type for using with Twilio Conversation API.

From

Gets or sets the sender phone number.

FromCity

Gets or sets the sender's city.

FromCountry

Gets or sets the sender's country.

FromState

Gets or sets the sender's state or province.

FromZip

Gets or sets the sender's postal code.

MediaContentTypes

Gets the content types for the media included with the message, if any.

MediaUrls

Gets the URLs referencing the media content included with the message, if any.

MessageSid

Gets or sets the security identifier of the message.

NumMedia

Gets or sets the number of media files associated with the message.

NumSegments

Gets or sets the number of segments that make up the complete message.

SmsMessageSid

Gets or sets the sms_id found in the response of a phone verification start.

SmsSid

Gets or sets the SMS security identifier.

SmsStatus

Gets or sets the status of the message.

To

Gets or sets the phone number in E.164 format that received the message.

ToCity

Gets or sets the receiver's city.

ToCountry

Gets or sets the receiver's country.

ToState

Gets or sets the receiver's state or province.

ToZip

Gets or sets the recipient's postal code.

Applies to