Layer 220
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

RequestedPeer

Gogram Example

// Creating RequestedPeerChat constructor
obj := &tg.RequestedPeerChat{
    ChatId: int64(0),

    // Optional fields:
    // Title: "...",
    // Photo: &tg.Photo{},
}