Inhaquites.SendMessageToTelegramBot
2.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Inhaquites.SendMessageToTelegramBot --version 2.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Inhaquites.SendMessageToTelegramBot --version 2.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Inhaquites.SendMessageToTelegramBot&version=2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Inhaquites.SendMessageToTelegramBot --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Inhaquites.SendMessageToTelegramBot
Create a bot on telegram using @botfather, extract your api key and chat_id, this information will be used for sending messages to the bot.
Mode of use
SendMessageToTelegramBot send -t <your token> -c <your chat_id> -m <your message>
How to use on Github Actions
Application-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Install pkg to send a message to telegram bot
if: success()
run: dotnet tool install --version 2.0.1 Inhaquites.SendMessageToTelegramBot --tool-path tools
- name: Send a message to telegram bot
env:
mensagem: pacote instalado com sucesso
run: tools/SendMessageToTelegramBot send -t <your token> -c <your chat_id> -m <your message>
by Rodrigo Inhaquites
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.