# pageButton

> pageButton attributes, type and example

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



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|text|[RichText](/API_docs/types/RichText.html) | Yes|
|type|[InlineButtonType](/API_docs/types/InlineButtonType.html) | Yes|
|style|[RichButtonStyle](/API_docs/types/RichButtonStyle.html) | Optional|



### Type: [PageButton](/API_docs/types/PageButton.html)


### Example:

```
$pageButton = ['_' => 'pageButton', 'text' => RichText, 'type' => InlineButtonType, 'style' => RichButtonStyle];
```
