RequestPeerTypeChannel¶
- class pyrogram.types.RequestPeerTypeChannel¶
Object used to request clients to send a channel identifier.
- Parameters:¶
is_creator (``bool``, *optional*) – If True, show only Channel which user is the owner.
is_username (``bool``, *optional*) – If True, show only Channel which has username.
max (``int``, *optional*) – Maximum number of channels to be returned. default 1.
is_name_requested (``bool``, *optional*) – If True, Channel name is requested. default True.
is_username_requested (``bool``, *optional*) – If True, Channel username is requested. default True.
is_photo_requested (``bool``, *optional*) – If True, Channel photo is requested. default True.
user_privileges (:obj:`~pyrogram.types.ChatPrivileges`, *optional*) – Privileged actions that an user administrator is able to take.
bot_privileges (:obj:`~pyrogram.types.ChatPrivileges`, *optional*) – Privileged actions that a bot administrator is able to take.