lastOnline

Lấy trạng thái hoạt động của người dùng

api.lastOnline(uid)

Parameters

  • uid string

Return

Promise<LastOnlineResponse>

Types

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

Examples

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

Last updated