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> - fetch a dehydrated device. https://github.com/matrix-org/matrix-spec-proposals/pull/3814
-
getDehydratedDeviceEvents(
String deviceId, {String? nextBatch, int limit = 100}) → Future< DehydratedDeviceEvents> - 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> - uploads a dehydrated device. https://github.com/matrix-org/matrix-spec-proposals/pull/3814