Package io.github.yvasyliev.telegramforwarderbot.service
package io.github.yvasyliev.telegramforwarderbot.service
This package contains the service layer of the Telegram Forwarder Bot application.
-
ClassDescriptionService for managing approved posts.Converts objects to and from callback data format.Handles incoming Telegram callback queries by mapping them to commands.Handles incoming Telegram messages and executes the corresponding command.Interface for managing post forwarding operations.Scheduler that periodically forwards posts using registered
List
ofPostForwarderManager
s.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 for processing Telegram templates using Thymeleaf.Service for consuming updates from Telegram and handling them accordingly.