AKI.TelegramBot.ClientUtils 1.0.21

dotnet add package AKI.TelegramBot.ClientUtils --version 1.0.21
NuGet\Install-Package AKI.TelegramBot.ClientUtils -Version 1.0.21
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.21" />
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.21
#r "nuget: AKI.TelegramBot.ClientUtils, 1.0.21"
#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.21

// Install AKI.TelegramBot.ClientUtils as a Cake Tool
#tool nuget:?package=AKI.TelegramBot.ClientUtils&version=1.0.21

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 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.

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 147 3/10/2024
1.0.20 109 3/7/2024
1.0.19 113 2/21/2024
1.0.18 104 2/1/2024
1.0.17 74 1/30/2024
1.0.16 108 1/16/2024
1.0.15 85 1/16/2024
1.0.14 84 1/16/2024
1.0.13 86 1/16/2024
1.0.12 78 1/16/2024
1.0.11 86 1/16/2024
1.0.10 83 1/16/2024
1.0.9 84 1/16/2024
1.0.8 76 1/16/2024
1.0.7 83 1/15/2024
1.0.6 82 1/15/2024
1.0.5 76 1/15/2024
1.0.4 71 1/15/2024
1.0.3 79 1/15/2024
1.0.2 87 1/15/2024
1.0.1 101 1/11/2024
1.0.0 92 1/10/2024