Skip to main content

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.

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

Implements RequestedPeer.

Fields

NameTypeRequiredDescription
ChannelIDint64yesChannel/supergroup ID.
TitlestringChannel/supergroup title.
UsernamestringChannel/supergroup username.
PhotoPhotoClassChannel/supergroup photo.

References