Inhaquites.SendMessageToTelegramBot 2.0.2

.NET 6.0
dotnet tool install --global Inhaquites.SendMessageToTelegramBot --version 2.0.2
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.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Inhaquites.SendMessageToTelegramBot&version=2.0.2
nuke :add-package Inhaquites.SendMessageToTelegramBot --version 2.0.2

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.2 Inhaquites.SendMessageToTelegramBot --tool-path tools         

     - name: Send a message to telegram bot
       run: tools/SendMessageToTelegramBot send -t <your token> -c <your chat_id> -m <your message>

<br>

by Rodrigo Inhaquites

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
2.0.2 168 8/8/2022
2.0.1 149 8/8/2022
2.0.0 155 8/7/2022
1.0.1 153 8/6/2022
1.0.0 146 8/6/2022