Skip to content

lastOnline ​

api.lastOnline(uid) ​

Parameters ​

  • uid string

Return ​

Promise<LastOnlineResponse>

Types ​

ts
export type LastOnlineResponse = {
    settings: {
        show_online_status: boolean;
    };
    lastOnline: number;
};

Examples ​

ts
api.lastOnline("00000000000000000")
    .then(console.log)
    .catch(console.error);