Layer 220
constructor
requestPeerTypeUser#5f3b8a00 flags:# bot:flags.0?Bool premium:flags.1?Bool = RequestPeerType;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Bot flags.0?Bool Whether to allow choosing only bots.
Premium flags.1?Bool Whether to allow choosing only Premium users.

Returns

RequestPeerType

Gogram Example

// Creating RequestPeerTypeUser constructor
obj := &tg.RequestPeerTypeUser{

    // Optional fields:
    // Bot: true,
    // Premium: true,
}