@getlatedev/node 0.2.23 → 0.2.24
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/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -0
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1482,6 +1482,8 @@ export const getPostLogs = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
1482
1482
|
* Fetch conversations (DMs) from all connected messaging accounts in a single API call. Supports filtering by profile and platform. Results are aggregated and deduplicated.
|
|
1483
1483
|
* Supported platforms: Facebook, Instagram, Twitter/X, Bluesky, Reddit, Telegram.
|
|
1484
1484
|
*
|
|
1485
|
+
* **Twitter/X limitation:** X has replaced traditional DMs with encrypted "X Chat" for many accounts. Messages sent or received through encrypted X Chat are not accessible via X's API (the `/2/dm_events` endpoint only returns legacy unencrypted DMs). This means some Twitter/X conversations may show only outgoing messages or appear empty. This is an X platform limitation that affects all third-party applications. See [X's docs on encrypted messaging](https://help.x.com/en/using-x/about-chat) for more details.
|
|
1486
|
+
*
|
|
1485
1487
|
*/
|
|
1486
1488
|
export const listInboxConversations = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListInboxConversationsData, ThrowOnError>) => {
|
|
1487
1489
|
return (options?.client ?? client).get<ListInboxConversationsResponse, ListInboxConversationsError, ThrowOnError>({
|
|
@@ -1515,6 +1517,9 @@ export const updateInboxConversation = <ThrowOnError extends boolean = false>(op
|
|
|
1515
1517
|
/**
|
|
1516
1518
|
* List messages
|
|
1517
1519
|
* Fetch messages for a specific conversation. Requires accountId query parameter.
|
|
1520
|
+
*
|
|
1521
|
+
* **Twitter/X limitation:** X's encrypted "X Chat" messages are not accessible via the API. Conversations where the other participant uses encrypted X Chat may only show your outgoing messages. See the [list conversations endpoint](#/Messages/listInboxConversations) for more details.
|
|
1522
|
+
*
|
|
1518
1523
|
*/
|
|
1519
1524
|
export const getInboxConversationMessages = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetInboxConversationMessagesData, ThrowOnError>) => {
|
|
1520
1525
|
return (options?.client ?? client).get<GetInboxConversationMessagesResponse, GetInboxConversationMessagesError, ThrowOnError>({
|