• Change user status to offline or online once, which will expire after a while (currently ~5 minutes)

    For continuously sending online/offline status, use setOnline

    Parameters

    • client: ITelegramClient
    • online: boolean

      Whether the user is currently online

    Returns Promise<void>