Link Search Menu Expand Document

Constructor: requestedPeerChat

Back to constructors index

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:

NameTypeRequiredDescription
chat_idlongYesChat ID.
titlestringOptionalChat title.
photoPhotoOptionalChat photo.

Type: RequestedPeer

Example:

$requestedPeerChat = ['_' => 'requestedPeerChat', 'chat_id' => long, 'title' => 'string', 'photo' => Photo];