update_status()#

Client.update_status()#

Updates online user status.

Usable by Users Bots
Parameters:

offline (bool) – If (True) is transmitted, user status will change to (UserStatusOffline), Otherwise user status will change to (UserStatusOnline).

Returns:

bool – True On success.

Example

await app.update_status()