The primary goal of developing this bot is to ensure automatic notifications to members of the Telegram community about new live streams on the NYM company’s YouTube channel. This will help attract more participants to watch live streams, thereby increasing engagement and activity within the community.
Bot Functionality Description
-
YouTube Live Stream Checking: The bot regularly checks for new live streams on the specified YouTube channel. This check occurs every minute, allowing for timely detection of new streams.
-
Automatic Notifications: If the bot detects a new live stream, it automatically sends a message to the general Telegram chat. The message contains a link to the stream and a short description, helping users quickly join and watch.
-
Logging: The bot uses Serilog for detailed logging of all events. This makes it easy to monitor the bot’s operation and identify potential issues.
Technical Implementation
• Programming Language: C# (.NET)
• Telegram API: The bot uses the Telegram.Bot API to interact with Telegram.
• YouTube API: The bot is integrated with YouTube Data API v3 to retrieve information about live streams.
• Logging System: Serilog is used for logging.
Benefits for the Community
The implementation of this bot significantly increases the awareness of community members about important events, such as live streams. Participants receive timely notifications directly in Telegram, making the process of receiving information more convenient and interactive. With this bot, NYM will be able to attract more viewers to its live streams, fostering greater community involvement and better awareness of the company’s activities.