Interface CallbackDataMapper


public interface CallbackDataMapper
Mapper interface for converting Telegram command callback data to application-specific command callback data DTOs. It uses MapStruct to generate the implementation at compile time.
  • Method Details

    • map

      Maps an abstract Telegram command callback data DTO to an application-specific command callback data DTO.
      Parameters:
      callbackData - the abstract Telegram command callback data DTO
      Returns:
      the mapped application-specific command callback data DTO