Package io.github.yvasyliev.forwarder.telegram.bot.service
package io.github.yvasyliev.forwarder.telegram.bot.service
This package contains the service layer of the Telegram Forwarder Bot application.
-
ClassDescriptionService for managing approved posts.Handles incoming Telegram callback queries by mapping them to commands.Handles incoming Telegram messages and executes the corresponding command.Scheduler that periodically forwards posts using registered
ListofPostForwarders.Scheduler that publishes approved posts to a Telegram channel at a specified time.TelegramEventHandler<T extends org.telegram.telegrambots.meta.api.interfaces.BotApiObject>A functional interface for handling Telegram events.Service that listens to application lifecycle events and sends notifications to the Telegram admin when the application starts up or shuts down.Service for consuming updates from Telegram and handling them accordingly.