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): mixed
  • jsonSerialize(): array
  • offsetSet(mixed $name, mixed $value): void
  • offsetGet(mixed $name): mixed
  • offsetUnset(mixed $name): void
  • offsetExists(mixed $name): bool

Methods:

click(bool $donotwait): mixed

Click on button.

Parameters:

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

jsonSerialize(): array

Serialize button.

offsetSet(mixed $name, mixed $value): void

Set button info.

Parameters:

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

offsetGet(mixed $name): mixed

Get button info.

Parameters:

  • $name: mixed Field name

offsetUnset(mixed $name): void

Unset button info.

Parameters:

  • $name: mixed Offset

offsetExists(mixed $name): bool

Check if button field exists.

Parameters:

  • $name: mixed Offset

Generated by danog/phpdoc