SendMessageByPhoneNumberInput 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.
Send a message to the contact with the given phone number
public class SendMessageByPhoneNumberInput
type SendMessageByPhoneNumberInput = class
Public Class SendMessageByPhoneNumberInput
- Inheritance
-
SendMessageByPhoneNumberInput
Constructors
| Name | Description |
|---|---|
| SendMessageByPhoneNumberInput() | |
Properties
| Name | Description |
|---|---|
| CallbackUrlForLocationRequestsIfThisMessageIncludesOne |
Location callback url to hit with a POST command when the user accesses and approves sharing their location with the sender. To include the link, add [Location Request] to the message body. This callback is not required for location requests, but it can be useful for APIs. |
| CallbackUrlForWhenTheMessageStatusUpdates |
Url for the web app to hit with a POST command whenever this message's status goes from undelivered to sent (or error). |
| MessageBody |
Content of the message to send. |
| MMSMediaAttachmentsForThisMessage |
Array of MMS Media attachments for this message. Attachments must be urls gotten from the post /mms endpoint (not included in this connector). External attachment links will not be accepted. |
| NameOfTheSender |
The name of the message sender. This is shown in the TextRequest web app and api when retrieving this message. |