Class TelegramService

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

public class TelegramService extends Object implements 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 IShutdownable