Layer 220
method Users
account.updateStatus#6628562c offline:Bool = Bool;

Parameters

Name Type Description
Offline Bool If (bool True) is transmitted, user status will change to (user Status Offline).

Returns

Bool

Gogram Example

// AccountUpdateStatus - positional arguments
result, err := client.AccountUpdateStatus(true)
if err != nil {
    // handle error
}
// result is *tg.Bool