Options
All
  • Public
  • Public/Protected
  • All
Menu

See full keyboard example in Context.keyboard.

Hierarchy

  • Keyboard

Index

Constructors

Properties

Constructors

constructor

  • Creates a new Keyboard.

    example
    var kbd = new Keyboard([
       // One row
       [
         button.text('Maximum rows is 10, columns - 4.')
       ],
    ]);

    Parameters

    • Default value buttons: Button[][] = []

      array of arrays (rows) of buttons

    • Default value oneTime: boolean = false

      show only once? (or disappear after button press?)

    Returns Keyboard

Properties

Readonly buttons

buttons: Button[][]

Items of this keyboard.

Readonly one_time

one_time: boolean

Is this keyboard one-time?

Generated using TypeDoc