RequestPeerTypeBroadcast#

class pyrogram.raw.types.RequestPeerTypeBroadcast#

Choose a channel.

Constructor of RequestPeerType.

Details:
  • Layer: 158

  • ID: 339BEF6C

Parameters:
  • creator (bool, optional) – Whether to allow only choosing channels that were created by the current user.

  • has_username (bool, optional) – If specified, allows only choosing channels with or without a username, according to the value of Bool.

  • user_admin_rights (ChatAdminRights, optional) – If specified, allows only choosing channels where the current user is an admin with at least the specified admin rights.

  • bot_admin_rights (ChatAdminRights, optional) – If specified, allows only choosing channels where the bot is an admin with at least the specified admin rights.