package com.honey.honey.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "telegram")
@Data
public class TelegramProperties {
    private String botToken;
    
    /**
     * Bot token for checking channel membership.
     * Can be set via environment variable TELEGRAM_CHANNEL_CHECKER_BOT_TOKEN
     * or in mounted file at /run/secrets/honey-config.properties as telegram.channel-checker-bot-token
     */
    private String channelCheckerBotToken;
    
    /**
     * Channel ID for follow tasks (e.g., "@win_spin_news" or numeric ID).
     * Can be set via environment variable TELEGRAM_FOLLOW_TASK_CHANNEL_ID
     * or in mounted file at /run/secrets/honey-config.properties as telegram.follow-task-channel-id
     */
    private String followTaskChannelId;
    
    /**
     * Channel ID for follow withdrawals channel task (e.g., "@win_spin_withdrawals" or numeric ID).
     * Can be set via environment variable TELEGRAM_FOLLOW_TASK_CHANNEL_ID_2
     * or in mounted file at /run/secrets/honey-config.properties as telegram.follow-task-channel-id-2
     */
    private String followTaskChannelId2;
}


