![]() ![]() If enable_delivery_report is set to True, an event is emitted when delivery is successful. This class provides options for configuring delivery reporting. You instantiate it with your subscription information, and use it to send SMS messages. This class is needed for all SMS functionality. The following classes and interfaces handle some of the major features of the Azure Communication Services SMS SDK for C#. dotnet add package -version 1.0.0Īdd a using directive to the top of Program.cs to include the Azure.Communication namespace. NET package by using the following command. While still in the application directory, install the Azure Communication Services SMS SDK for. dotnet new console -o SmsQuickstartĬhange your directory to the newly created app folder and use the dotnet build command to compile your application. This command creates a simple "Hello World" C# project with a single source file, Program.cs. In a console window, such as cmd, PowerShell, or Bash, use the dotnet new command to create a new console app with the name SmsQuickstart. ![]() To set up an environment for sending messages, take the steps in the following sections. In the navigation pane on the left, select Phone numbers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |