![]() |
VOOZH | about |
dotnet add package net3000.twilio --version 1.0.0
NuGet\Install-Package net3000.twilio -Version 1.0.0
<PackageReference Include="net3000.twilio" Version="1.0.0" />
<PackageVersion Include="net3000.twilio" Version="1.0.0" />Directory.Packages.props
<PackageReference Include="net3000.twilio" />Project file
paket add net3000.twilio --version 1.0.0
#r "nuget: net3000.twilio, 1.0.0"
#:package net3000.twilio@1.0.0
#addin nuget:?package=net3000.twilio&version=1.0.0Install as a Cake Addin
#tool nuget:?package=net3000.twilio&version=1.0.0Install as a Cake Tool
The Net3000.Twilio library provides comprehensive integration with the Twilio platform for Net3000 solutions. This library enables SMS messaging, phone verification, and communication services using Twilio's robust messaging and verification APIs.
dotnet add package net3000.twilio
net3000.common (v9.0.11)net3000.common.models (v1.0.7)Twilio (v7.13.1)Microsoft.Extensions.Configuration.Json (v9.0.9)Add your Twilio credentials to your configuration:
{
"Twilio": {
"account": "your-twilio-account-sid",
"token": "your-twilio-auth-token",
"from": "+1234567890",
"serviceid": "your-verify-service-sid"
}
}
using net3000.TwilioApi;
// Initialize the service
var twilioService = new Lib(configuration);
// Send a simple SMS message
var result = twilioService.sendMessage(
body: "Hello from Net3000!",
to: "+1234567890"
);
// Send SMS with media attachment
var result = twilioService.sendMessage(
body: "Check out this image!",
to: "+1234567890",
mediaUrl: "https://example.com/image.jpg"
);
// Request verification code
var verificationResult = twilioService.requestPhoneVerificationCode(
phone: "+1234567890",
channel: VerificationChannel.sms
);
// Verify the code
var verificationCheck = twilioService.verifyPhone(
phone: "+1234567890",
code: "123456"
);
Main service class for Twilio API integration.
sendMessage(string body, string to) - Send SMS messagesendMessage(string body, string to, string mediaUrl) - Send SMS with mediarequestPhoneVerificationCode(string phone, VerificationChannel channel) - Request verification codeverifyPhone(string phone, string code) - Verify phone number with codesms - SMS verificationcall - Voice call verificationemail - Email verificationwhatsapp - WhatsApp verificationsna - Silent Network AuthenticationAll methods return apiResponse objects with:
success - Boolean indicating success/failuremessage - Response messagetitle - Response titlecssClass - CSS class for UI stylingThe library provides comprehensive error handling with detailed error messages from the Twilio API. All methods include try-catch blocks and return standardized response objects.
The library respects Twilio API rate limits and includes proper error handling for rate limit exceeded responses.
Use Twilio's test environment for development:
This library is proprietary to Net3000. Usage is restricted to Net3000.ca solutions and authorized affiliates. Redistribution, sublicensing, or integration with third-party products outside the Net3000 ecosystem is prohibited without written consent from Net3000.
For support and questions, contact the Net3000 development team or visit net3000.ca.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on net3000.twilio:
| Package | Downloads |
|---|---|
|
Net3000.Content
CMS tooling for Net3000 solutions. Provides form-processing workflows, content retrieval services, menu utilities, and video helpers that work together with the Net3000 content database. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 203 | 10/4/2025 |
Initial release of Net3000 Twilio library with SMS messaging and phone verification capabilities.