MadelineProtoDocs/docs/API_docs/constructors/pageBlockChannel.md
2024-05-01 14:53:46 +02:00

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];
```