RequestChannelInfo#

class pyrogram.types.RequestChannelInfo#

Contains information about a channel peer type.

Parameters:
  • button_id (int) – Identifier of button.

  • is_creator (bool, optional) – If True, returns the list of chats owned by the user.

  • has_username (bool, optional) – If True, returns the list of chats with a username. If False, returns the list of chats without a username. If not specified, no additional restrictions are applied. Defaults to None.

  • user_privileges (ChatPrivileges, optional) – Privileged actions that an user administrator is able to take.

  • bot_privileges (ChatPrivileges, optional) – Privileged actions that an bot administrator is able to take.