Constructor: requestedPeerChat
Info about a chat, 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 chat, according to the parameters of the requesting inputKeyboardButtonRequestPeer.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
chat_id | long | Yes | Chat ID. |
title | string | Optional | Chat title. |
photo | Photo | Optional | Chat photo. |
Type: RequestedPeer
Example:
$requestedPeerChat = ['_' => 'requestedPeerChat', 'chat_id' => long, 'title' => 'string', 'photo' => Photo];