Store all story reactions as messages
This commit is contained in:
parent
f13611712c
commit
54aa0d39b9
12 changed files with 237 additions and 223 deletions
8
ts/model-types.d.ts
vendored
8
ts/model-types.d.ts
vendored
|
@ -146,7 +146,7 @@ export type MessageAttributesType = {
|
|||
messageTimer?: unknown;
|
||||
profileChange?: ProfileNameChangeType;
|
||||
quote?: QuotedMessageType;
|
||||
reactions?: Array<MessageReactionType>;
|
||||
reactions?: ReadonlyArray<MessageReactionType>;
|
||||
requiredProtocolVersion?: number;
|
||||
retryOptions?: RetryOptions;
|
||||
sourceDevice?: number;
|
||||
|
@ -184,7 +184,11 @@ export type MessageAttributesType = {
|
|||
unidentifiedDeliveries?: Array<string>;
|
||||
contact?: Array<EmbeddedContactType>;
|
||||
conversationId: string;
|
||||
storyReactionEmoji?: string;
|
||||
storyReaction?: {
|
||||
emoji: string;
|
||||
targetAuthorUuid: string;
|
||||
targetTimestamp: number;
|
||||
};
|
||||
giftBadge?: {
|
||||
expiration: number;
|
||||
level: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue