# danog\MadelineProto\TL\Types\Button: Clickable button.

[Back to index](../../../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

Clickable button.  



## Properties
* `$label`: `string` Button label

## Method list:
* [`click(boolean $donotwait = true)`](#click)
* [`jsonSerialize(): array`](#jsonSerialize)

## Methods:
### <a name="click"></a> `click(boolean $donotwait = true)`

Click on button.


Parameters:

* `$donotwait`: `boolean` Whether to wait for the result of the method  



### <a name="jsonSerialize"></a> `jsonSerialize(): array`

Serialize button.



---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
