object KeyboardButton
- Alphabetic
- By Inheritance
- KeyboardButton
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val encoderInstance: Encoder[KeyboardButton]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def requestContact(text: String): KeyboardButton
The user's current location will be sent when the button is pressed.
The user's current location will be sent when the button is pressed. Available in private chats only.
- text
Text of the button.
- def requestLocation(text: String): KeyboardButton
The user's phone number will be sent as a contact when the button is pressed.
The user's phone number will be sent as a contact when the button is pressed. Available in private chats only.
- text
Text of the button
- def requestPoll(text: String, specificType: Option[String] = None): KeyboardButton
The user will be asked to create a poll and send it to the bot when the button is pressed.
The user will be asked to create a poll and send it to the bot when the button is pressed. Available in private chats only.
- specificType
If 'quiz' is passed, the user will be allowed to create only polls in the quiz mode. If 'regular' is passed, only regular polls will be allowed. Otherwise, the user will be allowed to create a poll of any type.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text(text: String): KeyboardButton
textwill be sent to the bot as a message when the button is pressed.textwill be sent to the bot as a message when the button is pressed.- text
Text of the button
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()