@periskope/types 0.6.136 → 0.6.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types.ts CHANGED
@@ -175,6 +175,7 @@ export type MessageType = Merge<
175
175
  flag_metadata: MessageFlagType | null;
176
176
  poll_info?: PollSendType | null;
177
177
  poll_results?: PollResultType | null;
178
+ delivery_info?: DeliveryInfoType | null;
178
179
  }
179
180
  >,
180
181
  {
@@ -570,3 +571,13 @@ export type CreateGroupOptions = {
570
571
  name?: string;
571
572
  description?: string;
572
573
  };
574
+
575
+ /* ------------------------------ DELIVERY INFO ----------------------------- */
576
+
577
+ export type DeliveryInfoType = {
578
+ delivered: Record<string, number | undefined>;
579
+ read: Record<string, number | undefined>;
580
+ pending: string[];
581
+ read_count: number;
582
+ delivered_count: number;
583
+ };