account.ChangeAuthorizationSettings

class pyrogram.raw.functions.account.ChangeAuthorizationSettings

Change settings related to a session.

Details:
  • Layer: 187

  • ID: 40F48462

Parameters:
  • hash (int 64-bit) – Session ID from the authorization constructor, fetchable using account.getAuthorizations

  • confirmed (bool, optional) – If set, confirms a newly logged in session ».

  • encrypted_requests_disabled (bool, optional) – Whether to enable or disable receiving encrypted chats: if the flag is not set, the previous setting is not changed

  • call_requests_disabled (bool, optional) – Whether to enable or disable receiving calls: if the flag is not set, the previous setting is not changed

Returns:

bool