Packages

c

canoe.api.models

CallbackQueryAPI

final class CallbackQueryAPI extends AnyVal

Telegram API for the callback query. Offers a convenient access to the related Telegram methods.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CallbackQueryAPI
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CallbackQueryAPI(query: CallbackQuery)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def alert[F[_]](text: String)(implicit arg0: TelegramClient[F]): F[Boolean]

    Notify the user with the provided text in a pop-up form

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. def inform[F[_]](text: String)(implicit arg0: TelegramClient[F]): F[Boolean]

    Notify the user with the provided text at the top of the chat screen

  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def redirect[F[_]](url: String)(implicit arg0: TelegramClient[F]): F[Boolean]

    Redirect the user to the provided address.

    Redirect the user to the provided address.

    Example: you can redirect a user to your bot using telegram.me/your_bot?start=XXXX

  10. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped