destinationServiceId in Sent

This commit is contained in:
Fedor Indutny 2023-06-29 21:17:27 +02:00 committed by GitHub
parent af4ad55c68
commit f90c2b7479
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 322 additions and 104 deletions

View file

@ -170,7 +170,8 @@ export enum ResolvedSendStatus {
}
export type StoryMessageRecipientsType = Array<{
destinationUuid: string;
destinationAci?: string;
destinationPni?: string;
distributionListIds: Array<string>;
isAllowedToReply: boolean;
}>;

View file

@ -8,6 +8,17 @@ import { strictAssert } from '../util/assert';
export type UUIDStringType =
`${string}-${string}-${string}-${string}-${string}`;
export type TaggedUUIDStringType = Readonly<
| {
aci: UUIDStringType;
pni?: undefined;
}
| {
aci?: undefined;
pni: UUIDStringType;
}
>;
export enum UUIDKind {
ACI = 'ACI',
PNI = 'PNI',