We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ce5ae9 commit 18ccfa6Copy full SHA for 18ccfa6
lib/types.ts
@@ -78,6 +78,14 @@ export type EventBase = {
78
* Source user, group, or room object with information about the source of the event.
79
*/
80
source: EventSource;
81
+ /**
82
+ * Webhook Event ID, an ID that uniquely identifies a webhook event
83
+ */
84
+ webhookEventId: string;
85
86
+ * Whether the webhook event is a redelivered one or not
87
88
+ deliveryContext: DeliveryContext;
89
};
90
91
export type EventSource = User | Group | Room;
@@ -110,6 +118,8 @@ export type Room = {
110
118
userId?: string;
111
119
112
120
121
+export type DeliveryContext = { isRedelivery: boolean };
122
+
113
123
export type ReplyableEvent = EventBase & { replyToken: string };
114
124
115
125
/**
0 commit comments