This is a simple Telegram bot that reads an RSS feed and sends new items to a Telegram chat.
To use this bot, you will need to create a Telegram bot and obtain an API token. You will also need to provide the URL of the RSS feed you want to read.
- .NET 5.0 or later
- A Telegram bot API token
- The URL of an RSS feed
- Clone this repository to your local machine.
- Open the
appsettings.json
file and replace theTelegramBotSettings:ApiToken
value with your Telegram bot API token. - Open the
appsettings.json
file and replace theTelegramBotSettings:ChatId
value with the ID of the Telegram chat or channel you want to send messages to. - Replace the
TelegramBotSettings:FeedUrl
value with the URL of the RSS feed you want to read. - Open a terminal or command prompt and navigate to the project directory.
- Run the following command to start the bot:
dotnet run
Once the bot is running, you can send a message to the bot's chat to start receiving new items from the RSS feed.
This project is licensed under the MIT License - see the LICENSE.md file for details.