Skip to main content

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.

type tg.RequestedPeerChat struct { /* ... */ }

Implements RequestedPeer.

Fields

NameTypeRequiredDescription
ChatIDint64yesChat ID.
TitlestringChat title.
PhotoPhotoClassChat photo.

References