summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.d.ts
blob: c5c8761e5ce8a6fe38b1b2c9d39e03db3445e936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export type ToDevicePayload = Record<string, any>;
export interface ToDeviceMessage {
    userId: string;
    deviceId: string;
    payload: ToDevicePayload;
}
export interface ToDeviceBatch {
    eventType: string;
    batch: ToDeviceMessage[];
}
export interface ToDeviceBatchWithTxnId extends ToDeviceBatch {
    txnId: string;
}
export interface IndexedToDeviceBatch extends ToDeviceBatchWithTxnId {
    id: number;
}
//# sourceMappingURL=ToDeviceMessage.d.ts.map