Class Bot

java.lang.Object
org.bgerp.plugin.telegram.Bot
All Implemented Interfaces:
org.telegram.telegrambots.longpolling.interfaces.LongPollingUpdateConsumer, org.telegram.telegrambots.longpolling.util.LongPollingSingleThreadUpdateConsumer

public class Bot extends Object implements org.telegram.telegrambots.longpolling.util.LongPollingSingleThreadUpdateConsumer
  • Field Summary

    Fields inherited from interface org.telegram.telegrambots.longpolling.util.LongPollingSingleThreadUpdateConsumer

    updatesProcessorExecutor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    consume(org.telegram.telegrambots.meta.api.objects.Update e)
     
    static Bot
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.telegram.telegrambots.longpolling.util.LongPollingSingleThreadUpdateConsumer

    consume
  • Method Details

    • getInstance

      public static Bot getInstance()
    • consume

      public void consume(org.telegram.telegrambots.meta.api.objects.Update e)
      Specified by:
      consume in interface org.telegram.telegrambots.longpolling.util.LongPollingSingleThreadUpdateConsumer