Sets the current user’s presence status to “online” for 5 minutes.

This method requires an access token, but no permissions.

Parameters

mobile
boolean

Whether the user is using a mobile device. Strongly recommended for apps that run on phones, tablets, and other devices that are limited compared to desktop and laptop computers.

By default false.

Result

Returns true on success.

Errors

Global errors may occur when calling this method.