TextFlow 1.1.4
See the version list below for details.
dotnet add package TextFlow --version 1.1.4
NuGet\Install-Package TextFlow -Version 1.1.4
<PackageReference Include="TextFlow" Version="1.1.4" />
paket add TextFlow --version 1.1.4
#r "nuget: TextFlow, 1.1.4"
// Install TextFlow as a Cake Addin
#addin nuget:?package=TextFlow&version=1.1.4
// Install TextFlow as a Cake Tool
#tool nuget:?package=TextFlow&version=1.1.4
Textflow C# client
Installation
dotnet add package TextFlow
Sample Usage
To send an SMS, you have to create an API key using the Textflow dashboard. When you register an account, you automatically get an API key with one free SMS which you can send anywhere.
Just send a message
using TextFlow;
TextFlowClient client = new TextFlowClient("N70NdGmKlHcd4MuCg4ChMWrC45cE0CQHBWPiKlFeR3BmDVLgEejtQoGvyVy7yVqL");
client.sendSMS("+3811242342343231234", "s");
Handle send message request result
var res = await client.sendSMS("+3811242342343231234", "s");
if (res.Ok)
Console.WriteLine(res.Data.Timestamp);
else
Console.WriteLine(res.Message);
Example properties of the successfully sent message result
result
is an instance of TextFlowSendMessageResult
class.
{
"Ok": true,
"Status": 200,
"Message": "Message sent successfully",
"Data": {
"To": "+381611231234",
"Content": "Dummy message text...",
"CountryCode": "RS",
"Price": 0.05,
"Timestamp": 1674759108881
}
}
Example properties of the unsuccessfully sent message result
result
is an instance of TextFlowSendMessageResult
class.
{
"Ok": false,
"Status": 404,
"Message": "API key not found"
}
Getting help
If you need help installing or using the library, please check the FAQ first, and contact us at support@textflow.me if you don't find an answer to your question.
If you've found a bug in the API, package or would like new features added, you are also free to contact us!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.