Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IKeyboardButton

Index

Properties

Optional request_contact

request_contact: boolean

If True, the user's phone number will be sent as a contact when the button is pressed. Available in private chats only.

Optional request_location

request_location: boolean

If True, the user's current location will be sent when the button is pressed. Available in private chats only.

text

text: string

If none of the optional fields are used, it will be sent to the bot as a message when the button is pressed.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc