account.updateStatus

Updates online user status.

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.updateStatus#6628562c offline:Bool = Bool;

Parameters

Name Type Description
offline Bool If (boolTrue) is transmitted, user status will change to (userStatusOffline).

Result

Bool

Possible errors

Code Type Description
403 CHAT_WRITE_FORBIDDEN You can't write in this chat.

Related pages

boolTrue

The constructor can be interpreted as a booleantrue value.

userStatusOffline

The user's offline status.