Migrate sourceDevice from TEXT to INTEGER

This commit is contained in:
Fedor Indutny 2021-08-02 14:55:31 -07:00 committed by GitHub
parent eccd682920
commit 6637fc2b95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 6 deletions

2
ts/model-types.d.ts vendored
View file

@ -119,7 +119,7 @@ export type MessageAttributesType = {
}>;
requiredProtocolVersion?: number;
retryOptions?: RetryOptions;
sourceDevice?: string | number;
sourceDevice?: number;
supportedVersionAtReceive?: unknown;
synced?: boolean;
unidentifiedDeliveryReceived?: boolean;