-
Notifications
You must be signed in to change notification settings - Fork 177
/
TwilioMessageOptions.cs
51 lines (46 loc) · 1.56 KB
/
TwilioMessageOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System;
using System.Collections.Generic;
namespace Bot.Builder.Community.Adapters.Twilio
{
/// <summary>
/// Represents an outgoing message content and options for Twilio.
/// </summary>
public class TwilioMessageOptions
{
/// <summary>
/// Gets or sets the destination phone number.
/// </summary>
/// <value>
/// The destination phone number.
/// </value>
public string To { get; set; }
/// <summary>
/// Gets or sets the phone number that initiated the message.
/// </summary>
/// <value>
/// The phone number that initiated the message.
/// </value>
public string From { get; set; }
/// <summary>
/// Gets or sets the text of the message you want to send. Can be up to 1,600 characters in length.
/// </summary>
/// <value>
/// The text of the message you want to send. Can be up to 1,600 characters in length.
/// </value>
public string Body { get; set; }
/// <summary>
/// Gets the URL of the media to send with the message.
/// </summary>
/// <value>
/// The URL of the media to send with the message.
/// </value>
public List<Uri> MediaUrl { get; } = new List<Uri>();
/// <summary>
/// Gets or sets the application to use for callbacks.
/// </summary>
/// <value>
/// The application to use for callbacks.
/// </value>
public string ApplicationSid { get; set; }
}
}