Function setUserData

  • Sets the current user's meta data for a specific app. Rate limited to 1 request per 10 seconds.

    Parameters

    • data: Record<string, unknown>

      The meta data to set. Must be less than 2KB when serialized.

    Returns Promise<void>

    If rate limited, if app data exceeds 2KB, or if total data exceeds 4KB.