mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Add ability for poll author to terminate a poll
This commit is contained in:
5
ts/model-types.d.ts
vendored
5
ts/model-types.d.ts
vendored
@@ -166,6 +166,7 @@ type MessageType =
|
||||
| 'keychange'
|
||||
| 'outgoing'
|
||||
| 'phone-number-discovery'
|
||||
| 'poll-terminate'
|
||||
| 'profile-change'
|
||||
| 'story'
|
||||
| 'timer-notification'
|
||||
@@ -212,6 +213,10 @@ export type MessageAttributesType = {
|
||||
quote?: QuotedMessageType;
|
||||
reactions?: ReadonlyArray<MessageReactionType>;
|
||||
poll?: PollMessageAttribute;
|
||||
pollTerminateNotification?: {
|
||||
question: string;
|
||||
pollMessageId: string;
|
||||
};
|
||||
requiredProtocolVersion?: number;
|
||||
sms?: boolean;
|
||||
sourceDevice?: number;
|
||||
|
||||
Reference in New Issue
Block a user