2017-11-15 13:41:58 +01:00
|
|
|
---
|
|
|
|
title: pageBlockChannel
|
|
|
|
description: pageBlockChannel attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: pageBlockChannel
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|---------------|----------|
|
2018-02-18 14:18:18 +01:00
|
|
|
|channel|[Chat](../types/Chat.md) | Optional|
|
2017-11-15 13:41:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [PageBlock](../types/PageBlock.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat];
|
|
|
|
```
|
|
|
|
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
|
|
|
|
```
|
|
|
|
{"_": "pageBlockChannel", "channel": Chat}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
pageBlockChannel={_='pageBlockChannel', channel=Chat}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|