Soenneker.Telnyx.Messaging 11.0.165

Prefix Reserved
dotnet add package Soenneker.Telnyx.Messaging --version 11.0.165
                    
NuGet\Install-Package Soenneker.Telnyx.Messaging -Version 11.0.165
                    
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="Soenneker.Telnyx.Messaging" Version="11.0.165" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Telnyx.Messaging" Version="11.0.165" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Telnyx.Messaging" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Telnyx.Messaging --version 11.0.165
                    
#r "nuget: Soenneker.Telnyx.Messaging, 11.0.165"
                    
#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.
#:package Soenneker.Telnyx.Messaging@11.0.165
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Telnyx.Messaging&version=11.0.165
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Telnyx.Messaging&version=11.0.165
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Telnyx.Messaging

Send SMS and MMS messages through Telnyx and retrieve previously created messages by ID.

Installation

dotnet add package Soenneker.Telnyx.Messaging

Configuration

{
  "Telnyx": {
    "Token": "KEY..."
  }
}

Usage

using Soenneker.Telnyx.Messaging.Abstract;
using Soenneker.Telnyx.Messaging.Registrars;
using Soenneker.Telnyx.OpenApiClient.Models;

services.AddTelnyxMessagingUtilAsScoped();

MessagingOutboundMessagePayload? sent = await telnyxMessaging.Send(
    from: "+15557654321",
    to: "+15551234567",
    text: "Your verification code is 123456",
    messagingProfileId: "40017f2e-...",
    webhookUrl: "https://example.com/webhooks/telnyx",
    cancellationToken: cancellationToken);

MessagingOutboundMessagePayload? mms = await telnyxMessaging.SendMms(
    from: "+15557654321",
    to: "+15551234567",
    text: "See attached",
    mediaUrls: ["https://example.com/image.jpg"],
    messagingProfileId: "40017f2e-...",
    cancellationToken: cancellationToken);

Phone numbers should use E.164 format, and MMS media URLs must be reachable by Telnyx. Send and SendMms create billable outbound messages.

Telnyx/API failures are logged and returned as null; cancellation still propagates as OperationCanceledException. The optional webhook URL selects the message-status callback endpoint. Custom webhook headers are not supported by Telnyx's generated create-message request.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.165 0 11/15/2026
11.0.164 67 11/13/2026
11.0.163 92 11/12/2026
11.0.162 81 11/12/2026
11.0.161 82 11/11/2026
11.0.160 74 11/11/2026
11.0.159 87 11/11/2026
11.0.158 81 11/11/2026
11.0.157 92 11/11/2026
11.0.156 78 11/11/2026
11.0.155 82 11/11/2026
11.0.154 81 11/11/2026
11.0.153 81 11/11/2026
11.0.152 136 11/8/2026
11.0.151 122 11/6/2026
11.0.150 156 11/4/2026
11.0.149 97 11/3/2026
11.0.148 93 11/3/2026
11.0.147 86 11/3/2026
11.0.146 94 11/3/2026
Loading failed

Update dependency Soenneker.Telnyx.ClientUtil to 11.0.1030 (#158)