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.

requestedPeerChat#7307544f flags:# chat_id:long title:flags.0?string photo:flags.2?Photo = RequestedPeer;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
chat_id long Chat ID.
title flags.0?string Chat title.
photo flags.2?Photo Chat photo.

Type

RequestedPeer

Related pages

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

messages.sendBotRequestedPeer

Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.

inputKeyboardButtonRequestPeer

Prompts the user to select and share one or more peers with the bot using messages.sendBotRequestedPeer.