package com.red.circle.order.app.framework;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 网关配置.
 *
 * @author pengliang on 2023/4/20
 */
@Data
@RefreshScope
@ConfigurationProperties("telegram")
public class TelegramProperties {

  /**
   * 机器人Token
   */
  private String botToken;

  /**
   * WebhookUrl
   */
  private String webhookUrl;

}
