Class ButtonWrapper

Class that wraps button's functionality.

Hierarchy

  • ButtonWrapper

Constructors

Properties

_action: ButtonAction
_data: Partial<ButtonData>
_switch: ButtonSwitch

Accessors

  • get builtComponent(): MessageButton
  • Returns

    Ready button.

    Returns MessageButton

Methods

  • Converts button styling to JSON-like object.

    Returns

    JSON-like object.

    Returns ButtonData

Generated using TypeDoc