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
| Name | Type | Required | Description |
|---|---|---|---|
ChannelID | int64 | yes | Channel/supergroup ID. |
Title | string | — | Channel/supergroup title. |
Username | string | — | Channel/supergroup username. |
Photo | PhotoClass | — | Channel/supergroup photo. |
References
- Official documentation
- Generated Go reference
- TL definition:
requestedPeerChannel#8ba403e4