Layer 224
constructor
requestedPeerChat#7307544f flags:# chat_id:long title:flags.0?string photo:flags.2?Photo = RequestedPeer;

Parameters

Name Type Description
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(1234567890),

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