@periskope/types 0.6.116 → 0.6.118
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 +9 -0
- package/package.json +1 -1
- package/types.ts +9 -0
package/dist/types.d.ts
CHANGED
|
@@ -197,6 +197,15 @@ 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
|
+
pollId?: string;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
200
209
|
quoted_message_id?: string;
|
|
201
210
|
quoted_message_type?: 'reply' | 'forward' | 'reply_private';
|
|
202
211
|
broadcast_id?: string;
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -280,6 +280,15 @@ 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
|
+
pollId?: string;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
283
292
|
quoted_message_id?: string;
|
|
284
293
|
quoted_message_type?: 'reply' | 'forward' | 'reply_private';
|
|
285
294
|
broadcast_id?: string;
|