Object/Class

com.bot4s.telegram.models

InlineKeyboardButton

Related Docs: class InlineKeyboardButton | package models

Permalink

object InlineKeyboardButton extends Serializable

Preferred (safe) way to instantiate InlineKeyboardButton.

InlineKeyboardButton.callbackData("1990", "#1")
InlineKeyboardButton.url("Google Google", "http://lmgtfy.com/?q=Google")
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InlineKeyboardButton
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def callbackData(text: String, cbd: String): InlineKeyboardButton

    Permalink

    Interactive button that will send a callback.

    Interactive button that will send a callback.

    cbd

    Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes

  6. def callbackGame(text: String): InlineKeyboardButton

    Permalink

    Note: This type of button must always be the first button in the first row.

  7. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def pay(text: String): InlineKeyboardButton

    Permalink

    Pay button.

    Pay button. Note: This type of button must always be the first button in the first row.

  18. def switchInlineQuery(text: String, siq: String): InlineKeyboardButton

    Permalink

    Pressing the button will prompt the user to select one of their chats, open that chat and insert the bot's username and the specified inline query in the input field.

    Pressing the button will prompt the user to select one of their chats, open that chat and insert the bot's username and the specified inline query in the input field. Can be empty, in which case just the bot's username will be inserted.

  19. def switchInlineQueryCurrentChat(text: String, siqcc: String): InlineKeyboardButton

    Permalink

    Pressing the button will insert the bot's username and the specified inline query in the current chat's input field.

    Pressing the button will insert the bot's username and the specified inline query in the current chat's input field. Can be empty, in which case only the bot's username will be inserted. This offers a quick way for the user to open your bot in inline mode in the same chat - good for selecting something from multiple options.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def url(text: String, url: String): InlineKeyboardButton

    Permalink

    Button that opens an URL.

    Button that opens an URL.

    url

    HTTP url to be opened when button is pressed

  23. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped