Add pinned message chat event

This commit is contained in:
Jamie
2025-11-17 12:44:14 -08:00
committed by GitHub
parent 1d8242bba6
commit 5bde700d4c
16 changed files with 208 additions and 4 deletions

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

@@ -165,6 +165,7 @@ type MessageType =
| 'joined-signal-notification'
| 'keychange'
| 'outgoing'
| 'pinned-message-notification'
| 'phone-number-discovery'
| 'poll-terminate'
| 'profile-change'
@@ -212,6 +213,7 @@ export type MessageAttributesType = {
payment?: AnyPaymentEvent;
quote?: QuotedMessageType;
reactions?: ReadonlyArray<MessageReactionType>;
pinnedMessageId?: string;
poll?: PollMessageAttribute;
pollTerminateNotification?: {
question: string;