How to use Telegram API in C#?

How to use Telegram API in C# for send message

  • I want use Telegram API in C# for send a simple message to a number, i found some lib's on GitHub but all is fail can anyone give a simple code ? Can I use from HttpRequest ? thank you

  • Answer:

    I've wrote a client library for accessing Telegram bot's API and its source code is available in the github. You can browse to the Telebot.cs file to see a sample of how to send a message to the bot API. Github URL: https://github.com/mrtaikandi/Telebot Nuget URL: https://nuget.org/packages/Telebot

Hadi Delphi at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

Just look and learn how to make a POST HTTP request with your favorite language. Then learn how to use Telegram Bot API with the documentation: https://core.telegram.org/bots https://core.telegram.org/bots/api

mirko

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.