mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
30 lines
666 B
Markdown
30 lines
666 B
Markdown
---
|
|
title: "pageBlockChannel"
|
|
description: "Reference to a telegram channel"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: pageBlockChannel
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Reference to a telegram channel
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|channel|[Chat](/API_docs/types/Chat.html) | Optional|The channel/supergroup/chat|
|
|
|
|
|
|
|
|
### Type: [PageBlock](/API_docs/types/PageBlock.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat];
|
|
```
|