Class TelegramService

java.lang.Object
host.anzo.core.service.TelegramService
All Implemented Interfaces:
host.anzo.commons.interfaces.startup.IShutdownable

public class TelegramService extends Object implements host.anzo.commons.interfaces.startup.IShutdownable
  • Constructor Details

    • TelegramService

      public TelegramService()
  • Method Details

    • banChatId

      public void banChatId(long chatId)
    • isChatBanned

      public boolean isChatBanned(long chatId)
    • tickTask

      public void tickTask()
    • getBot

      public <T extends ATelegramBot> T getBot(Class<T> botClass)
    • onShutdown

      public void onShutdown()
      Specified by:
      onShutdown in interface host.anzo.commons.interfaces.startup.IShutdownable