Link Search Menu Expand Document

danog\MadelineProto\TL\Types\Button

Back to index

Author: Daniil Gentili daniil@daniil.it

Clickable button.

Method list:

  • click(bool $donotwait)
  • jsonSerialize()
  • offsetSet(mixed $name, mixed $value)
  • offsetGet(mixed $name)
  • offsetUnset(mixed $name)
  • offsetExists(mixed $name)

Methods:

click(bool $donotwait)

Click on button.

Parameters:

  • $donotwait: bool Whether to wait for the result of the method

jsonSerialize()

Serialize button.

offsetSet(mixed $name, mixed $value)

Set button info.

Parameters:

  • $name: mixed Offset
  • $value: mixed Value

offsetGet(mixed $name)

Get button info.

Parameters:

  • $name: mixed Field name

offsetUnset(mixed $name)

Unset button info.

Parameters:

  • $name: mixed Offset

offsetExists(mixed $name)

Check if button field exists.

Parameters:

  • $name: mixed Offset

Generated by danog/phpdoc