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

31 lines
856 B
Markdown

---
title: "requestedPeerChannel"
description: "requestedPeerChannel attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: requestedPeerChannel
[Back to constructors index](/API_docs/constructors/index.html)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|channel\_id|[long](/API_docs/types/long.html) | Yes|
|title|[string](/API_docs/types/string.html) | Optional|
|username|[string](/API_docs/types/string.html) | Optional|
|photo|[Photo](/API_docs/types/Photo.html) | Optional|
### Type: [RequestedPeer](/API_docs/types/RequestedPeer.html)
### Example:
```
$requestedPeerChannel = ['_' => 'requestedPeerChannel', 'channel_id' => long, 'title' => 'string', 'username' => 'string', 'photo' => Photo];
```