Skip to content

A C# program that helps your web app development process for a Telegram bot and reduces complexity.

Notifications You must be signed in to change notification settings

Smiuv/Telegram-Bot-Local-Webhook-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Telegram Local Webhook Simulator

This program send Update to your Url. No matter what framework you use to develop your bot, this code will simulate the webhook for you.

The program is written in C# Sharp and .NET 9, and you must have .NET installed.

Tips :

  • If you are using Asp.net core and Telegram.Bot, temporarily comment out services.ConfigureTelegramBotMvc();(This is not necessary for versions lower than 22).
  • For the token, be sure to consider a real token.
  • Your URL must point exactly to the action that will receive the update object.
  • The secret token is optional and is only used in webhooks to validate updates, which is for maximum simulation.
  • If there are any errors, you can manually edit the Data.json file.

About

A C# program that helps your web app development process for a Telegram bot and reduces complexity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages