Class TelegramBotProperties

java.lang.Object
io.github.yvasyliev.forwarder.telegram.bot.configuration.TelegramBotProperties

@ConfigurationProperties("telegram.bot") @Validated public class TelegramBotProperties extends Object
Configuration properties for the Telegram bot.
  • Constructor Details

    • TelegramBotProperties

      public TelegramBotProperties()
  • Method Details

    • getBotToken

      public String getBotToken()
    • getVersion

      public String getVersion()
    • setBotToken

      public void setBotToken(String botToken)
    • setVersion

      public void setVersion(String version)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object