@periskope/types 0.6.116 → 0.6.117

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/dist/types.d.ts CHANGED
@@ -197,6 +197,14 @@ export type SendMessageContent = {
197
197
  url?: string;
198
198
  };
199
199
  };
200
+ poll?: {
201
+ pollName: string;
202
+ pollOptions: string[];
203
+ options?: {
204
+ allowMultipleAnswers?: boolean;
205
+ messageSecret?: number[] | null;
206
+ };
207
+ };
200
208
  quoted_message_id?: string;
201
209
  quoted_message_type?: 'reply' | 'forward' | 'reply_private';
202
210
  broadcast_id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.116",
3
+ "version": "0.6.117",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -280,6 +280,14 @@ export type SendMessageContent = {
280
280
  longitude: string;
281
281
  options?: { name?: string; address?: string; url?: string };
282
282
  };
283
+ poll?: {
284
+ pollName: string;
285
+ pollOptions: string[];
286
+ options?: {
287
+ allowMultipleAnswers?: boolean;
288
+ messageSecret?: number[] | null;
289
+ };
290
+ };
283
291
  quoted_message_id?: string;
284
292
  quoted_message_type?: 'reply' | 'forward' | 'reply_private';
285
293
  broadcast_id?: string;