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
| Name | Type | Required | Description |
|---|---|---|---|
ChatID | int64 | yes | Chat ID. |
Title | string | — | Chat title. |
Photo | PhotoClass | — | Chat photo. |
References
- Official documentation
- Generated Go reference
- TL definition:
requestedPeerChat#7307544f