fetcher/matrix

Members

# (inner, constant) timeout :number

The request's timeout value in milliseconds

Type:
  • number

Methods

# (async, static) fn(data, opts) → {object}

Execute a fetch request

Parameters:
Name Type Description
data object

Data used in the request

Properties
Name Type Description
eventId string

The identifier of the targeted post

roomId string

The identifier of the room containing the targeted post

opts object

Options used to enable the request

Properties
Name Type Description
claims.matrix.instance string

The server hostname on which the library can log in

claims.matrix.accessToken string

The access token required to identify the library (Matrix docs)

Returns:
Type
object