change_authorization_settings()¶
- async Client.change_authorization_settings()¶
Change settings related to a session.
Usable by Users Bots- Parameters:
hash (
int) – Session ID from the authorization constructor.confirmed (
bool, optional) – If set, confirms a newly logged in session.encrypted_requests_disabled (
bool, optional) – Whether to disable receiving encrypted chats.call_requests_disabled (
bool, optional) – Whether to disable receiving calls.
- Returns:
bool– On success, True is returned.