final class CallbackQueryAPI extends AnyVal
Telegram API for the callback query. Offers a convenient access to the related Telegram methods.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CallbackQueryAPI
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CallbackQueryAPI(query: CallbackQuery)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def alert[F[_]](text: String)(implicit arg0: TelegramClient[F]): F[Boolean]
Notify the user with the provided text in a pop-up form
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 - def toString(): String
- Definition Classes
- Any