RequestChatInfo#
- class pyrogram.types.RequestChatInfo#
Contains information about a chat peer type.
- Parameters:
button_id (
int
) – Identifier of button.is_creator (
bool
, optional) – If True, returns the list of chats owned by the user.is_bot_participant (
bool
, optional) – If True, returns the list of chats with the bot as a member.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.has_forum (
bool
, optional) – If True, returns the list of chats with a forum topics enabled. If False, returns the list of chats without a forum topics. 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.