Class

SynchronousMatrixClient

(protected) SynchronousMatrixClient#SynchronousMatrixClient(baseClient)

Constructor

# protected new SynchronousMatrixClient(baseClient)

Creates a new SynchronousMatrixClient. Note that this accepts a MatrixClient, though much of the class's properties are not brought over. Always convert your MatrixClient instance to a SynchronousMatrixClient as soon as possible to avoid diversion in which properties are proxied over.
Parameters:
Name Type Description
baseClient MatrixClient The client to wrap.

View Source SynchronousMatrixClient.ts, line 140