Layer 220
RequestedPeerChat
Info about a chat, shared by a user with the currently logged in bot using messages. send Bot Requested Peer.
constructor
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 |
| ChatId | long | Chat ID. |
| Title | flags.0?string | Chat title. |
| Photo | flags.2?Photo | Chat photo. |
Returns
RequestedPeerGogram Example
// Creating RequestedPeerChat constructor obj := &tg.RequestedPeerChat{ ChatId: int64(0), // Optional fields: // Title: "...", // Photo: &tg.Photo{}, }