late-sdk 0.0.86 → 0.0.88
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/docs/MessagesApi.md +2 -2
- data/docs/WebhookEventsApi.md +766 -0
- data/docs/WebhookPayloadAccountConnected.md +5 -3
- data/docs/WebhookPayloadAccountConnectedAccount.md +4 -4
- data/docs/WebhookPayloadAccountDisconnected.md +5 -3
- data/docs/WebhookPayloadAccountDisconnectedAccount.md +6 -6
- data/docs/WebhookPayloadComment.md +7 -5
- data/docs/WebhookPayloadCommentAccount.md +3 -3
- data/docs/WebhookPayloadCommentComment.md +9 -9
- data/docs/WebhookPayloadCommentCommentAuthor.md +1 -1
- data/docs/WebhookPayloadCommentPost.md +2 -2
- data/docs/WebhookPayloadMessage.md +7 -5
- data/docs/WebhookPayloadMessageAccount.md +3 -3
- data/docs/WebhookPayloadMessageConversation.md +3 -5
- data/docs/WebhookPayloadMessageMessage.md +10 -10
- data/docs/WebhookPayloadMessageMessageAttachmentsInner.md +2 -2
- data/docs/WebhookPayloadMessageMessageSender.md +1 -1
- data/docs/WebhookPayloadPost.md +5 -3
- data/docs/WebhookPayloadPostPost.md +5 -5
- data/docs/WebhookPayloadPostPostPlatformsInner.md +4 -2
- data/docs/WebhookPayloadTest.md +24 -0
- data/lib/late-sdk/api/messages_api.rb +4 -4
- data/lib/late-sdk/api/webhook_events_api.rb +748 -0
- data/lib/late-sdk/api/webhooks_api.rb +1 -1
- data/lib/late-sdk/models/webhook_log.rb +2 -2
- data/lib/late-sdk/models/webhook_payload_account_connected.rb +69 -1
- data/lib/late-sdk/models/webhook_payload_account_connected_account.rb +68 -0
- data/lib/late-sdk/models/webhook_payload_account_disconnected.rb +69 -1
- data/lib/late-sdk/models/webhook_payload_account_disconnected_account.rb +92 -0
- data/lib/late-sdk/models/webhook_payload_comment.rb +103 -1
- data/lib/late-sdk/models/webhook_payload_comment_account.rb +51 -0
- data/lib/late-sdk/models/webhook_payload_comment_comment.rb +143 -0
- data/lib/late-sdk/models/webhook_payload_comment_comment_author.rb +17 -0
- data/lib/late-sdk/models/webhook_payload_comment_post.rb +34 -0
- data/lib/late-sdk/models/webhook_payload_message.rb +104 -2
- data/lib/late-sdk/models/webhook_payload_message_account.rb +51 -0
- data/lib/late-sdk/models/webhook_payload_message_conversation.rb +39 -20
- data/lib/late-sdk/models/webhook_payload_message_message.rb +154 -4
- data/lib/late-sdk/models/webhook_payload_message_message_attachments_inner.rb +34 -0
- data/lib/late-sdk/models/webhook_payload_message_message_sender.rb +17 -0
- data/lib/late-sdk/models/webhook_payload_post.rb +71 -3
- data/lib/late-sdk/models/webhook_payload_post_post.rb +85 -0
- data/lib/late-sdk/models/webhook_payload_post_post_platforms_inner.rb +44 -1
- data/lib/late-sdk/models/webhook_payload_test.rb +269 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +1 -0
- data/openapi.yaml +242 -21
- data/spec/api/messages_api_spec.rb +2 -2
- data/spec/models/create_webhook_settings_request_spec.rb +1 -1
- data/spec/models/update_webhook_settings_request_spec.rb +1 -1
- data/spec/models/webhook_log_spec.rb +1 -1
- data/spec/models/webhook_payload_account_connected_spec.rb +6 -0
- data/spec/models/webhook_payload_account_disconnected_spec.rb +6 -0
- data/spec/models/webhook_payload_comment_spec.rb +6 -0
- data/spec/models/webhook_payload_message_conversation_spec.rb +0 -10
- data/spec/models/webhook_payload_message_message_spec.rb +2 -2
- data/spec/models/webhook_payload_message_spec.rb +6 -0
- data/spec/models/webhook_payload_post_post_platforms_inner_spec.rb +6 -0
- data/spec/models/webhook_payload_post_spec.rb +7 -1
- data/spec/models/webhook_payload_test_spec.rb +58 -0
- data/spec/models/webhook_spec.rb +1 -1
- data/zernio-sdk-0.0.88.gem +0 -0
- metadata +665 -659
- data/zernio-sdk-0.0.86.gem +0 -0
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
7
|
+
| **id** | **String** | Stable webhook event ID | |
|
|
8
|
+
| **event** | **String** | | |
|
|
9
|
+
| **account** | [**WebhookPayloadAccountConnectedAccount**](WebhookPayloadAccountConnectedAccount.md) | | |
|
|
10
|
+
| **timestamp** | **Time** | | |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -14,6 +15,7 @@
|
|
|
14
15
|
require 'late-sdk'
|
|
15
16
|
|
|
16
17
|
instance = Late::WebhookPayloadAccountConnected.new(
|
|
18
|
+
id: null,
|
|
17
19
|
event: null,
|
|
18
20
|
account: null,
|
|
19
21
|
timestamp: null
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **account_id** | **String** | The account's unique identifier (same as used in /v1/accounts/{accountId}) |
|
|
8
|
-
| **profile_id** | **String** | The profile's unique identifier this account belongs to |
|
|
9
|
-
| **platform** | **String** | |
|
|
10
|
-
| **username** | **String** | |
|
|
7
|
+
| **account_id** | **String** | The account's unique identifier (same as used in /v1/accounts/{accountId}) | |
|
|
8
|
+
| **profile_id** | **String** | The profile's unique identifier this account belongs to | |
|
|
9
|
+
| **platform** | **String** | | |
|
|
10
|
+
| **username** | **String** | | |
|
|
11
11
|
| **display_name** | **String** | | [optional] |
|
|
12
12
|
|
|
13
13
|
## Example
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
7
|
+
| **id** | **String** | Stable webhook event ID | |
|
|
8
|
+
| **event** | **String** | | |
|
|
9
|
+
| **account** | [**WebhookPayloadAccountDisconnectedAccount**](WebhookPayloadAccountDisconnectedAccount.md) | | |
|
|
10
|
+
| **timestamp** | **Time** | | |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -14,6 +15,7 @@
|
|
|
14
15
|
require 'late-sdk'
|
|
15
16
|
|
|
16
17
|
instance = Late::WebhookPayloadAccountDisconnected.new(
|
|
18
|
+
id: null,
|
|
17
19
|
event: null,
|
|
18
20
|
account: null,
|
|
19
21
|
timestamp: null
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **account_id** | **String** | The account's unique identifier (same as used in /v1/accounts/{accountId}) |
|
|
8
|
-
| **profile_id** | **String** | The profile's unique identifier this account belongs to |
|
|
9
|
-
| **platform** | **String** | |
|
|
10
|
-
| **username** | **String** | |
|
|
7
|
+
| **account_id** | **String** | The account's unique identifier (same as used in /v1/accounts/{accountId}) | |
|
|
8
|
+
| **profile_id** | **String** | The profile's unique identifier this account belongs to | |
|
|
9
|
+
| **platform** | **String** | | |
|
|
10
|
+
| **username** | **String** | | |
|
|
11
11
|
| **display_name** | **String** | | [optional] |
|
|
12
|
-
| **disconnection_type** | **String** | Whether the disconnection was intentional (user action) or unintentional (token expired/revoked) |
|
|
13
|
-
| **reason** | **String** | Human-readable reason for the disconnection |
|
|
12
|
+
| **disconnection_type** | **String** | Whether the disconnection was intentional (user action) or unintentional (token expired/revoked) | |
|
|
13
|
+
| **reason** | **String** | Human-readable reason for the disconnection | |
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
7
|
+
| **id** | **String** | Stable webhook event ID | |
|
|
8
|
+
| **event** | **String** | | |
|
|
9
|
+
| **comment** | [**WebhookPayloadCommentComment**](WebhookPayloadCommentComment.md) | | |
|
|
10
|
+
| **post** | [**WebhookPayloadCommentPost**](WebhookPayloadCommentPost.md) | | |
|
|
11
|
+
| **account** | [**WebhookPayloadCommentAccount**](WebhookPayloadCommentAccount.md) | | |
|
|
12
|
+
| **timestamp** | **Time** | | |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
require 'late-sdk'
|
|
17
18
|
|
|
18
19
|
instance = Late::WebhookPayloadComment.new(
|
|
20
|
+
id: null,
|
|
19
21
|
event: null,
|
|
20
22
|
comment: null,
|
|
21
23
|
post: null,
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | Social account ID |
|
|
8
|
-
| **platform** | **String** | |
|
|
9
|
-
| **username** | **String** | |
|
|
7
|
+
| **id** | **String** | Social account ID | |
|
|
8
|
+
| **platform** | **String** | | |
|
|
9
|
+
| **username** | **String** | | |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | Platform comment ID |
|
|
8
|
-
| **post_id** | **String** | Internal post ID |
|
|
9
|
-
| **platform_post_id** | **String** | Platform's post ID |
|
|
10
|
-
| **platform** | **String** | |
|
|
11
|
-
| **text** | **String** | Comment text content |
|
|
12
|
-
| **author** | [**WebhookPayloadCommentCommentAuthor**](WebhookPayloadCommentCommentAuthor.md) | |
|
|
13
|
-
| **created_at** | **Time** | |
|
|
14
|
-
| **is_reply** | **Boolean** | Whether this is a reply to another comment |
|
|
15
|
-
| **parent_comment_id** | **String** | Parent comment ID if this is a reply |
|
|
7
|
+
| **id** | **String** | Platform comment ID | |
|
|
8
|
+
| **post_id** | **String** | Internal post ID | |
|
|
9
|
+
| **platform_post_id** | **String** | Platform's post ID | |
|
|
10
|
+
| **platform** | **String** | | |
|
|
11
|
+
| **text** | **String** | Comment text content | |
|
|
12
|
+
| **author** | [**WebhookPayloadCommentCommentAuthor**](WebhookPayloadCommentCommentAuthor.md) | | |
|
|
13
|
+
| **created_at** | **Time** | | |
|
|
14
|
+
| **is_reply** | **Boolean** | Whether this is a reply to another comment | |
|
|
15
|
+
| **parent_comment_id** | **String** | Parent comment ID if this is a reply | |
|
|
16
16
|
|
|
17
17
|
## Example
|
|
18
18
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | Author's platform ID |
|
|
7
|
+
| **id** | **String** | Author's platform ID | |
|
|
8
8
|
| **username** | **String** | | [optional] |
|
|
9
9
|
| **name** | **String** | | [optional] |
|
|
10
10
|
| **picture** | **String** | | [optional] |
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | Internal post ID |
|
|
8
|
-
| **platform_post_id** | **String** | Platform's post ID |
|
|
7
|
+
| **id** | **String** | Internal post ID | |
|
|
8
|
+
| **platform_post_id** | **String** | Platform's post ID | |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
7
|
+
| **id** | **String** | Stable webhook event ID | |
|
|
8
|
+
| **event** | **String** | | |
|
|
9
|
+
| **message** | [**WebhookPayloadMessageMessage**](WebhookPayloadMessageMessage.md) | | |
|
|
10
|
+
| **conversation** | [**WebhookPayloadMessageConversation**](WebhookPayloadMessageConversation.md) | | |
|
|
11
|
+
| **account** | [**WebhookPayloadMessageAccount**](WebhookPayloadMessageAccount.md) | | |
|
|
11
12
|
| **metadata** | [**WebhookPayloadMessageMetadata**](WebhookPayloadMessageMetadata.md) | | [optional] |
|
|
12
|
-
| **timestamp** | **Time** | |
|
|
13
|
+
| **timestamp** | **Time** | | |
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
require 'late-sdk'
|
|
18
19
|
|
|
19
20
|
instance = Late::WebhookPayloadMessage.new(
|
|
21
|
+
id: null,
|
|
20
22
|
event: null,
|
|
21
23
|
message: null,
|
|
22
24
|
conversation: null,
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | Social account ID |
|
|
8
|
-
| **platform** | **String** | |
|
|
9
|
-
| **username** | **String** | |
|
|
7
|
+
| **id** | **String** | Social account ID | |
|
|
8
|
+
| **platform** | **String** | | |
|
|
9
|
+
| **username** | **String** | | |
|
|
10
10
|
| **display_name** | **String** | | [optional] |
|
|
11
11
|
|
|
12
12
|
## Example
|
|
@@ -4,14 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | |
|
|
8
|
-
| **platform_conversation_id** | **String** | |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **platform_conversation_id** | **String** | | |
|
|
9
9
|
| **participant_id** | **String** | | [optional] |
|
|
10
10
|
| **participant_name** | **String** | | [optional] |
|
|
11
11
|
| **participant_username** | **String** | | [optional] |
|
|
12
12
|
| **participant_picture** | **String** | | [optional] |
|
|
13
|
-
| **
|
|
14
|
-
| **status** | **String** | | [optional] |
|
|
13
|
+
| **status** | **String** | | |
|
|
15
14
|
|
|
16
15
|
## Example
|
|
17
16
|
|
|
@@ -25,7 +24,6 @@ instance = Late::WebhookPayloadMessageConversation.new(
|
|
|
25
24
|
participant_name: null,
|
|
26
25
|
participant_username: null,
|
|
27
26
|
participant_picture: null,
|
|
28
|
-
participant_verified_type: null,
|
|
29
27
|
status: null
|
|
30
28
|
)
|
|
31
29
|
```
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | Internal message ID |
|
|
8
|
-
| **conversation_id** | **String** | Internal conversation ID |
|
|
9
|
-
| **platform** | **String** | |
|
|
10
|
-
| **platform_message_id** | **String** | Platform's message ID |
|
|
11
|
-
| **direction** | **String** | |
|
|
12
|
-
| **text** | **String** | Message text content |
|
|
13
|
-
| **attachments** | [**Array<WebhookPayloadMessageMessageAttachmentsInner>**](WebhookPayloadMessageMessageAttachmentsInner.md) | |
|
|
14
|
-
| **sender** | [**WebhookPayloadMessageMessageSender**](WebhookPayloadMessageMessageSender.md) | |
|
|
15
|
-
| **sent_at** | **Time** | |
|
|
16
|
-
| **is_read** | **Boolean** | |
|
|
7
|
+
| **id** | **String** | Internal message ID | |
|
|
8
|
+
| **conversation_id** | **String** | Internal conversation ID | |
|
|
9
|
+
| **platform** | **String** | | |
|
|
10
|
+
| **platform_message_id** | **String** | Platform's message ID | |
|
|
11
|
+
| **direction** | **String** | | |
|
|
12
|
+
| **text** | **String** | Message text content | |
|
|
13
|
+
| **attachments** | [**Array<WebhookPayloadMessageMessageAttachmentsInner>**](WebhookPayloadMessageMessageAttachmentsInner.md) | | |
|
|
14
|
+
| **sender** | [**WebhookPayloadMessageMessageSender**](WebhookPayloadMessageMessageSender.md) | | |
|
|
15
|
+
| **sent_at** | **Time** | | |
|
|
16
|
+
| **is_read** | **Boolean** | | |
|
|
17
17
|
|
|
18
18
|
## Example
|
|
19
19
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **type** | **String** | Attachment type (image, video, file, sticker, audio) |
|
|
8
|
-
| **url** | **String** | Attachment URL (may expire for Meta platforms) |
|
|
7
|
+
| **type** | **String** | Attachment type (image, video, file, sticker, audio) | |
|
|
8
|
+
| **url** | **String** | Attachment URL (may expire for Meta platforms) | |
|
|
9
9
|
| **payload** | **Object** | Additional attachment metadata | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
8
|
| **name** | **String** | | [optional] |
|
|
9
9
|
| **username** | **String** | | [optional] |
|
|
10
10
|
| **picture** | **String** | | [optional] |
|
data/docs/WebhookPayloadPost.md
CHANGED
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
7
|
+
| **id** | **String** | Stable webhook event ID | |
|
|
8
|
+
| **event** | **String** | | |
|
|
9
|
+
| **post** | [**WebhookPayloadPostPost**](WebhookPayloadPostPost.md) | | |
|
|
10
|
+
| **timestamp** | **Time** | | |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -14,6 +15,7 @@
|
|
|
14
15
|
require 'late-sdk'
|
|
15
16
|
|
|
16
17
|
instance = Late::WebhookPayloadPost.new(
|
|
18
|
+
id: null,
|
|
17
19
|
event: null,
|
|
18
20
|
post: null,
|
|
19
21
|
timestamp: null
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** | |
|
|
8
|
-
| **content** | **String** | |
|
|
9
|
-
| **status** | **String** | |
|
|
10
|
-
| **scheduled_for** | **Time** | |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **content** | **String** | | |
|
|
9
|
+
| **status** | **String** | | |
|
|
10
|
+
| **scheduled_for** | **Time** | | |
|
|
11
11
|
| **published_at** | **Time** | | [optional] |
|
|
12
|
-
| **platforms** | [**Array<WebhookPayloadPostPostPlatformsInner>**](WebhookPayloadPostPostPlatformsInner.md) | |
|
|
12
|
+
| **platforms** | [**Array<WebhookPayloadPostPostPlatformsInner>**](WebhookPayloadPostPostPlatformsInner.md) | | |
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **platform** | **String** | |
|
|
8
|
-
| **status** | **String** | |
|
|
7
|
+
| **platform** | **String** | | |
|
|
8
|
+
| **status** | **String** | | |
|
|
9
|
+
| **platform_post_id** | **String** | | [optional] |
|
|
9
10
|
| **published_url** | **String** | | [optional] |
|
|
10
11
|
| **error** | **String** | | [optional] |
|
|
11
12
|
|
|
@@ -17,6 +18,7 @@ require 'late-sdk'
|
|
|
17
18
|
instance = Late::WebhookPayloadPostPostPlatformsInner.new(
|
|
18
19
|
platform: null,
|
|
19
20
|
status: null,
|
|
21
|
+
platform_post_id: null,
|
|
20
22
|
published_url: null,
|
|
21
23
|
error: null
|
|
22
24
|
)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Late::WebhookPayloadTest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | Stable webhook event ID | |
|
|
8
|
+
| **event** | **String** | | |
|
|
9
|
+
| **message** | **String** | Human-readable test message | |
|
|
10
|
+
| **timestamp** | **Time** | | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'late-sdk'
|
|
16
|
+
|
|
17
|
+
instance = Late::WebhookPayloadTest.new(
|
|
18
|
+
id: null,
|
|
19
|
+
event: null,
|
|
20
|
+
message: null,
|
|
21
|
+
timestamp: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -170,7 +170,7 @@ module Late
|
|
|
170
170
|
end
|
|
171
171
|
|
|
172
172
|
# List messages
|
|
173
|
-
# Fetch messages for a specific conversation. Requires accountId query parameter.
|
|
173
|
+
# Fetch messages for a specific conversation. Requires accountId query parameter. **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.
|
|
174
174
|
# @param conversation_id [String] The conversation ID (id field from list conversations endpoint). This is the platform-specific conversation identifier, not an internal database ID.
|
|
175
175
|
# @param account_id [String] Social account ID
|
|
176
176
|
# @param [Hash] opts the optional parameters
|
|
@@ -181,7 +181,7 @@ module Late
|
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# List messages
|
|
184
|
-
# Fetch messages for a specific conversation. Requires accountId query parameter.
|
|
184
|
+
# Fetch messages for a specific conversation. Requires accountId query parameter. **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.
|
|
185
185
|
# @param conversation_id [String] The conversation ID (id field from list conversations endpoint). This is the platform-specific conversation identifier, not an internal database ID.
|
|
186
186
|
# @param account_id [String] Social account ID
|
|
187
187
|
# @param [Hash] opts the optional parameters
|
|
@@ -240,7 +240,7 @@ module Late
|
|
|
240
240
|
end
|
|
241
241
|
|
|
242
242
|
# List conversations
|
|
243
|
-
# Fetch conversations (DMs) from all connected messaging accounts in a single API call. Supports filtering by profile and platform. Results are aggregated and deduplicated. Supported platforms: Facebook, Instagram, Twitter/X, Bluesky, Reddit, Telegram.
|
|
243
|
+
# Fetch conversations (DMs) from all connected messaging accounts in a single API call. Supports filtering by profile and platform. Results are aggregated and deduplicated. Supported platforms: Facebook, Instagram, Twitter/X, Bluesky, Reddit, Telegram. **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.
|
|
244
244
|
# @param [Hash] opts the optional parameters
|
|
245
245
|
# @option opts [String] :profile_id Filter by profile ID
|
|
246
246
|
# @option opts [String] :platform Filter by platform
|
|
@@ -256,7 +256,7 @@ module Late
|
|
|
256
256
|
end
|
|
257
257
|
|
|
258
258
|
# List conversations
|
|
259
|
-
# Fetch conversations (DMs) from all connected messaging accounts in a single API call. Supports filtering by profile and platform. Results are aggregated and deduplicated. Supported platforms: Facebook, Instagram, Twitter/X, Bluesky, Reddit, Telegram.
|
|
259
|
+
# Fetch conversations (DMs) from all connected messaging accounts in a single API call. Supports filtering by profile and platform. Results are aggregated and deduplicated. Supported platforms: Facebook, Instagram, Twitter/X, Bluesky, Reddit, Telegram. **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.
|
|
260
260
|
# @param [Hash] opts the optional parameters
|
|
261
261
|
# @option opts [String] :profile_id Filter by profile ID
|
|
262
262
|
# @option opts [String] :platform Filter by platform
|