DehydratedDeviceMatrixApi extension
Endpoints related to MSC3814, dehydrated devices v2 aka shrivelled sessions https://github.com/matrix-org/matrix-spec-proposals/pull/3814
- on
Methods
-
getDehydratedDevice(
) → Future< DehydratedDevice> -
Available on MatrixApi, provided by the DehydratedDeviceMatrixApi extension
fetch a dehydrated device. https://github.com/matrix-org/matrix-spec-proposals/pull/3814 -
getDehydratedDeviceEvents(
String deviceId, {String? nextBatch, int limit = 100}) → Future< DehydratedDeviceEvents> -
Available on MatrixApi, provided by the DehydratedDeviceMatrixApi extension
fetch events sent to a dehydrated device. https://github.com/matrix-org/matrix-spec-proposals/pull/3814 -
uploadDehydratedDevice(
{required String deviceId, String? initialDeviceDisplayName, Map< String, dynamic> ? deviceData, MatrixDeviceKeys? deviceKeys, Map<String, dynamic> ? oneTimeKeys, Map<String, dynamic> ? fallbackKeys}) → Future<String> -
Available on MatrixApi, provided by the DehydratedDeviceMatrixApi extension
uploads a dehydrated device. https://github.com/matrix-org/matrix-spec-proposals/pull/3814