Function keepAlive

  • Needs to be done periodically to reset chat activity timeout

    Parameters

    • this: API
    • Optionalsince: { message?: number | Chat.Message; user_silence?: number | UserSilence }

      UserSilences that are before that will not be returned!

    Returns Promise<UserSilence[]>

    A list of recent silences

    Every 30 seconds is a good idea