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

Parameters

Name Type Description
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{
    Bot: nil,
    Premium: nil,
}