@periskope/types 0.6.115 → 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
@@ -189,7 +189,7 @@ export type SendMessageContent = {
189
189
  media?: MediaType;
190
190
  contact_ids?: string[];
191
191
  location?: {
192
- latitute: string;
192
+ latitude: string;
193
193
  longitude: string;
194
194
  options?: {
195
195
  name?: string;
@@ -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.115",
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
@@ -276,10 +276,18 @@ export type SendMessageContent = {
276
276
  media?: MediaType;
277
277
  contact_ids?: string[];
278
278
  location?: {
279
- latitute: string;
279
+ latitude: string;
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;