AKI.TelegramBot.ClientUtils
1.0.10
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AKI.TelegramBot.ClientUtils --version 1.0.10
NuGet\Install-Package AKI.TelegramBot.ClientUtils -Version 1.0.10
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="AKI.TelegramBot.ClientUtils" Version="1.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AKI.TelegramBot.ClientUtils --version 1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AKI.TelegramBot.ClientUtils, 1.0.10"
#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 AKI.TelegramBot.ClientUtils as a Cake Addin #addin nuget:?package=AKI.TelegramBot.ClientUtils&version=1.0.10 // Install AKI.TelegramBot.ClientUtils as a Cake Tool #tool nuget:?package=AKI.TelegramBot.ClientUtils&version=1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AKI.TelegramBot.ClientUtils
AKI.TelegramBot.ClientUtils is a NuGet package providing a set of extension methods for the ITelegramBotClient interface from the Telegram.Bot library.
Features
- Send typing actions until a certain task is completed
- Send messages formatted with Markdown
- Handle API request exceptions with retries
- Stream messages from an asynchronous stream
- Send multiple messages with optional reply markup and specific parse mode
Usage
Add the NuGet package to your project and use the extension methods provided on your ITelegramBotClient objects.
Examples
// Send a typing action until a task is completed
await botClient.TypeWhileWait(chatId, task, cancellationToken);
// Send a markdown formatted message
await botClient.SendMarkDownMessages(chatId, text, cancellationToken);
// Stream messages from an asynchronous stream
await botClient.StreamMessages(chatId, enumerator, cancellationToken);
// Send multiple messages with optional reply markup and specific parse mode
await botClient.SendMessages(chatId, text, ParseMode.Markdown, cancellationToken);
Contribution
Contributions are welcome. Please open an issue if you find a bug or have a feature request.
License
Licensed under the Apache License 2.0.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.
-
.NETStandard 2.1
- AKI.TelegramBot (>= 1.0.10)
- Serilog (>= 3.1.1)
- Telegram.Bot (>= 19.0.0)
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 |
---|---|---|
1.0.21 | 230 | 3/10/2024 |
1.0.20 | 134 | 3/7/2024 |
1.0.19 | 132 | 2/21/2024 |
1.0.18 | 128 | 2/1/2024 |
1.0.17 | 112 | 1/30/2024 |
1.0.16 | 150 | 1/16/2024 |
1.0.15 | 112 | 1/16/2024 |
1.0.14 | 109 | 1/16/2024 |
1.0.13 | 109 | 1/16/2024 |
1.0.12 | 100 | 1/16/2024 |
1.0.11 | 108 | 1/16/2024 |
1.0.10 | 109 | 1/16/2024 |
1.0.9 | 110 | 1/16/2024 |
1.0.8 | 102 | 1/16/2024 |
1.0.7 | 106 | 1/15/2024 |
1.0.6 | 107 | 1/15/2024 |
1.0.5 | 99 | 1/15/2024 |
1.0.4 | 96 | 1/15/2024 |
1.0.3 | 104 | 1/15/2024 |
1.0.2 | 110 | 1/15/2024 |
1.0.1 | 121 | 1/11/2024 |
1.0.0 | 118 | 1/10/2024 |