Trait

com.bot4s.telegram.future

Polling

Related Doc: package future

Permalink

trait Polling extends api.Polling[Future] with BotExecutionContext with StrictLogging

Linear Supertypes
BotExecutionContext, api.Polling[Future], StrictLogging, LoggerHolder, BotBase[Future], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Polling
  2. BotExecutionContext
  3. Polling
  4. StrictLogging
  5. LoggerHolder
  6. BotBase
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val client: RequestHandler[Future]

    Permalink
    Definition Classes
    BotBase
  2. implicit abstract val executionContext: ExecutionContext

    Permalink
    Definition Classes
    BotExecutionContext
  3. implicit abstract val monad: MonadError[Future, Throwable]

    Permalink
    Definition Classes
    BotBase

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allowedUpdates: Option[Seq[UpdateType]]

    Permalink

    Allowed updates.

    Allowed updates. See UpdateType.Filters. By default all updates are allowed.

    returns

    Allowed updates. None indicates no-filtering (all updates allowed).

    import UpdateType.Filters._
    override def allowedUpdates: Option[Seq[UpdateType]] =
      Some(MessageUpdates ++ InlineUpdates)
    Definition Classes
    BotBase
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging → LoggerHolder
  14. final val loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerHolder
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def pollingGetUpdates(offset: Option[Long]): Future[Seq[Update]]

    Permalink

    The polling method, overload for custom behavior, e.g.

    The polling method, overload for custom behavior, e.g. back-off, retries...

    Definition Classes
    Polling
  19. def pollingTimeout: Duration

    Permalink

    Long-polling timeout in seconds.

    Long-polling timeout in seconds.

    Specifies the amount of time the connection will be idle/waiting if there are no updates.

    Definition Classes
    Polling
  20. def receiveCallbackQuery(callbackQuery: CallbackQuery): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  21. def receiveChannelPost(message: Message): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  22. def receiveChosenInlineResult(chosenInlineResult: ChosenInlineResult): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  23. def receiveEditedChannelPost(message: Message): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  24. def receiveEditedMessage(editedMessage: Message): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  25. def receiveExtMessage(extMessage: (Message, Option[User])): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  26. def receiveInlineQuery(inlineQuery: InlineQuery): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  27. def receiveMessage(message: Message): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  28. def receivePreCheckoutQuery(preCheckoutQuery: PreCheckoutQuery): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  29. def receiveShippingQuery(shippingQuery: ShippingQuery): Future[Unit]

    Permalink
    Definition Classes
    BotBase
  30. def receiveUpdate(u: Update, botUser: Option[User]): Future[Unit]

    Permalink

    Dispatch updates to specialized handlers.

    Dispatch updates to specialized handlers. Incoming update can be a message, edited message, channel post, edited channel post, inline query, inline query results (sample), callback query, shipping or pre-checkout events.

    u

    Incoming update.

    Definition Classes
    BotBase
  31. def request: RequestHandler[Future]

    Permalink
    Definition Classes
    BotBase
  32. def run(): Future[Unit]

    Permalink
    Definition Classes
    PollingBotBase
  33. def shutdown(): Unit

    Permalink
    Definition Classes
    PollingBotBase
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. lazy val unit: Future[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    BotBase
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BotExecutionContext

Inherited from api.Polling[Future]

Inherited from StrictLogging

Inherited from LoggerHolder

Inherited from BotBase[Future]

Inherited from AnyRef

Inherited from Any

Ungrouped