Outgoing Requests * Data for a request to the /keys/upload API endpoint (specification).

Publishes end-to-end encryption keys for the device.

Constructors

Properties

Methods

Constructors

  • Create a new KeysUploadRequest.

    Parameters

    • id: string
    • body: string

    Returns KeysUploadRequest

Properties

body: string

A JSON-encoded string containing the rest of the payload: device_keys, one_time_keys, fallback_keys.

It represents the body of the HTTP request.

id: string

The request ID.

Get its request type.

Methods

  • Returns void