@getlatedev/node 0.2.4 → 0.2.5
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/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/package.json +1 -1
- package/src/generated/types.gen.ts +13 -0
package/dist/index.d.mts
CHANGED
|
@@ -1935,6 +1935,19 @@ type TwitterPlatformData = {
|
|
|
1935
1935
|
content?: string;
|
|
1936
1936
|
mediaItems?: Array<MediaItem>;
|
|
1937
1937
|
}>;
|
|
1938
|
+
/**
|
|
1939
|
+
* Create a poll with this tweet. Mutually exclusive with media attachments and threads.
|
|
1940
|
+
*/
|
|
1941
|
+
poll?: {
|
|
1942
|
+
/**
|
|
1943
|
+
* Poll options (2-4 choices, max 25 characters each)
|
|
1944
|
+
*/
|
|
1945
|
+
options: Array<(string)>;
|
|
1946
|
+
/**
|
|
1947
|
+
* Poll duration in minutes (5 min to 7 days)
|
|
1948
|
+
*/
|
|
1949
|
+
duration_minutes: number;
|
|
1950
|
+
};
|
|
1938
1951
|
};
|
|
1939
1952
|
/**
|
|
1940
1953
|
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
|
package/dist/index.d.ts
CHANGED
|
@@ -1935,6 +1935,19 @@ type TwitterPlatformData = {
|
|
|
1935
1935
|
content?: string;
|
|
1936
1936
|
mediaItems?: Array<MediaItem>;
|
|
1937
1937
|
}>;
|
|
1938
|
+
/**
|
|
1939
|
+
* Create a poll with this tweet. Mutually exclusive with media attachments and threads.
|
|
1940
|
+
*/
|
|
1941
|
+
poll?: {
|
|
1942
|
+
/**
|
|
1943
|
+
* Poll options (2-4 choices, max 25 characters each)
|
|
1944
|
+
*/
|
|
1945
|
+
options: Array<(string)>;
|
|
1946
|
+
/**
|
|
1947
|
+
* Poll duration in minutes (5 min to 7 days)
|
|
1948
|
+
*/
|
|
1949
|
+
duration_minutes: number;
|
|
1950
|
+
};
|
|
1938
1951
|
};
|
|
1939
1952
|
/**
|
|
1940
1953
|
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
|
package/package.json
CHANGED
|
@@ -1563,6 +1563,19 @@ export type TwitterPlatformData = {
|
|
|
1563
1563
|
content?: string;
|
|
1564
1564
|
mediaItems?: Array<MediaItem>;
|
|
1565
1565
|
}>;
|
|
1566
|
+
/**
|
|
1567
|
+
* Create a poll with this tweet. Mutually exclusive with media attachments and threads.
|
|
1568
|
+
*/
|
|
1569
|
+
poll?: {
|
|
1570
|
+
/**
|
|
1571
|
+
* Poll options (2-4 choices, max 25 characters each)
|
|
1572
|
+
*/
|
|
1573
|
+
options: Array<(string)>;
|
|
1574
|
+
/**
|
|
1575
|
+
* Poll duration in minutes (5 min to 7 days)
|
|
1576
|
+
*/
|
|
1577
|
+
duration_minutes: number;
|
|
1578
|
+
};
|
|
1566
1579
|
};
|
|
1567
1580
|
|
|
1568
1581
|
/**
|