Layer 227
RequestPeerTypeUser
Choose a user.
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
RequestPeerTypeGogram Example
// Creating RequestPeerTypeUser constructor obj := &tg.RequestPeerTypeUser{ Bot: nil, Premium: nil, }