init
This commit is contained in:
17
node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.d.ts
generated
vendored
Normal file
17
node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user