Transmitly.ChannelProvider.Twilio 0.1.0-16.3083914

This is a prerelease version of Transmitly.ChannelProvider.Twilio.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Transmitly.ChannelProvider.Twilio --version 0.1.0-16.3083914                
NuGet\Install-Package Transmitly.ChannelProvider.Twilio -Version 0.1.0-16.3083914                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Transmitly.ChannelProvider.Twilio" Version="0.1.0-16.3083914" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Transmitly.ChannelProvider.Twilio --version 0.1.0-16.3083914                
#r "nuget: Transmitly.ChannelProvider.Twilio, 0.1.0-16.3083914"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Transmitly.ChannelProvider.Twilio as a Cake Addin
#addin nuget:?package=Transmitly.ChannelProvider.Twilio&version=0.1.0-16.3083914&prerelease

// Install Transmitly.ChannelProvider.Twilio as a Cake Tool
#tool nuget:?package=Transmitly.ChannelProvider.Twilio&version=0.1.0-16.3083914&prerelease                

Transmitly.ChannelProvider.Twilio

A Transmitly channel provider that enables sending SMS communications with Twilio

Getting started

To use the Twilio channel provider, first install the NuGet package:

dotnet add package Transmitly.ChannelProvider.Twilio

Then add the channel provider using AddTwilioSupport():

using Transmitly;
//...
var communicationClient = new CommunicationsClientBuilder()
.AddTwilioSupport(options =>
{
	options.AccountSid = "ACCOUNT_SID";
	options.AuthToken  = "AUTH_TOKEN";
})
//Pipelines are the heart of Transmitly. Pipelines allow you to define your communications
//as a domain action. This allows your domain code to stay agnostic to the details of how you
//may send out a transactional communication.
.AddPipeline("first-pipeline", pipeline =>
{
	//AddSms is a Channel that is core to the Transmitly library. 
	//AsAudienceAddress() is also a convience method that helps us create an audience address
	//Audience addresses can be anything, email, phone, or even a device/app Id for push notifications!
	pipeline.AddSms(sms=>{
		//Transmitly is a bit different. All of our communication content is configured by templates.
		//Out of the box, we have static or string templates, file and even embedded template support.
		//There are multiple types of templates to get you started. You can even create templates 
		//specific to certain cultures!
		sms.Body.AddStringTemplate("Hey, check out Transmit.ly to manage your app communications!");
	});
})
.BuildClient();

//Dispatch (send) the transactional sms to our friend Joe (888-555-1234) using our configured Twilio account and our "first-pipeline" pipeline.
var result = await communicationsClient.DispatchAsync("first-pipeline", "888-555-1234".AsAudienceAddress(), new { });
  • See the Transmitly project for more details on what a channel provider is and how it can be configured.

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/transmitly/transmitly/assets/3877248/524f26c8-f670-4dfa-be78-badda0f48bfb"> <img alt="an open-source project sponsored by CiLabs of Code Impressions, LLC" src="https://github.com/transmitly/transmitly/assets/3877248/34239edd-234d-4bee-9352-49d781716364" width="350" align="right"> </picture>


Copyright © Code Impressions, LLC - Provided under the Apache License, Version 2.0.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 is compatible.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.1-1.ffa15eb 37 10/14/2024
0.1.0 117 9/11/2024
0.1.0-26.eae2c08 52 6/1/2024
0.1.0-24.5105605 68 4/19/2024
0.1.0-19.7716d3f 55 4/3/2024
0.1.0-18.120cdea 67 3/23/2024
0.1.0-17.8dc9862 56 3/23/2024
0.1.0-16.3083914 64 3/23/2024
0.1.0-15.4d3af3b 58 3/23/2024
0.1.0-14.52d14da 55 3/23/2024
0.1.0-13.af1ee80 65 3/22/2024
0.1.0-12.0271d14 66 3/21/2024
0.1.0-11.dac67f2 64 3/21/2024
0.1.0-10.36caff4 61 3/13/2024