SendMessageOptions Constructors
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.
Overloads
SendMessageOptions(String, IEnumerable<String>, MessageTemplate) |
Initializes a new instance of the SendMessageOptions class for sending a Template message. |
SendMessageOptions(String, IEnumerable<String>, String) |
Initializes a new instance of the SendMessageOptions class for sending a Text message. |
SendMessageOptions(String, IEnumerable<String>, Uri, String) |
Initializes a new instance of the SendMessageOptions class for sending a Media message. |
SendMessageOptions(String, IEnumerable<String>, MessageTemplate)
- Source:
- SendMessageOptions.cs
Initializes a new instance of the SendMessageOptions class for sending a Template message.
public SendMessageOptions (string channelRegistrationId, System.Collections.Generic.IEnumerable<string> to, Azure.Communication.Messages.MessageTemplate template);
new Azure.Communication.Messages.SendMessageOptions : string * seq<string> * Azure.Communication.Messages.MessageTemplate -> Azure.Communication.Messages.SendMessageOptions
Public Sub New (channelRegistrationId As String, to As IEnumerable(Of String), template As MessageTemplate)
Parameters
- channelRegistrationId
- String
- to
- IEnumerable<String>
- template
- MessageTemplate
Applies to
SendMessageOptions(String, IEnumerable<String>, String)
- Source:
- SendMessageOptions.cs
Initializes a new instance of the SendMessageOptions class for sending a Text message.
public SendMessageOptions (string channelRegistrationId, System.Collections.Generic.IEnumerable<string> to, string content);
new Azure.Communication.Messages.SendMessageOptions : string * seq<string> * string -> Azure.Communication.Messages.SendMessageOptions
Public Sub New (channelRegistrationId As String, to As IEnumerable(Of String), content As String)
Parameters
- channelRegistrationId
- String
- to
- IEnumerable<String>
- content
- String
Applies to
SendMessageOptions(String, IEnumerable<String>, Uri, String)
- Source:
- SendMessageOptions.cs
Initializes a new instance of the SendMessageOptions class for sending a Media message.
public SendMessageOptions (string channelRegistrationId, System.Collections.Generic.IEnumerable<string> to, Uri mediaUri, string content = default);
new Azure.Communication.Messages.SendMessageOptions : string * seq<string> * Uri * string -> Azure.Communication.Messages.SendMessageOptions
Public Sub New (channelRegistrationId As String, to As IEnumerable(Of String), mediaUri As Uri, Optional content As String = Nothing)
Parameters
- channelRegistrationId
- String
- to
- IEnumerable<String>
- mediaUri
- Uri
- content
- String