RequestPeerTypeUser

class pyrogram.raw.types.RequestPeerTypeUser

Choose a user.

Constructor of RequestPeerType.

Details:
  • Layer: 223

  • ID: 5F3B8A00

Parameters:
  • bot (bool, optional) – Whether to allow choosing only bots.

  • premium (bool, optional) – Whether to allow choosing only Premium users.

TL Schema

requestPeerTypeUser#5f3b8a00
flags:#
bot:flags.0?Bool
premium:flags.1?Bool

= RequestPeerType

Parameter Tree

RequestPeerTypeUser
├── botBool (optional)
└── premiumBool (optional)

Example

RequestPeerTypeUser(
)