Constructor: requestedPeerChannel
Info about a channel/supergroup, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.
All fields except the ID are optional, and will be populated if present on the chosen channel/supergroup, according to the parameters of the requesting inputKeyboardButtonRequestPeer.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
channel_id | long | Yes | Channel/supergroup ID. |
title | string | Optional | Channel/supergroup title. |
username | string | Optional | Channel/supergroup username. |
photo | Photo | Optional | Channel/supergroup photo. |
Type: RequestedPeer
Example:
$requestedPeerChannel = ['_' => 'requestedPeerChannel', 'channel_id' => long, 'title' => 'string', 'username' => 'string', 'photo' => Photo];