zernio-sdk 0.0.789 → 0.0.790
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c2eac93bf8e3098b7f787b382abc1066993290b685e5ef6656bfb25f3e5eae8
|
|
4
|
+
data.tar.gz: 0d4e458ea45d7ecd04f8c175298579e144ec2a0a0842be7af14a9145afb29dd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22be7fa57e6dc1ed6a6b58816935bc5acc46396edd432e7dace832872fb3b22d10c9a9f50910f0d93ba36234daaa6c83c2cf3514b51bed30ee297f78bb84f23c
|
|
7
|
+
data.tar.gz: 65d94a54d7abd997186ec4b01eaa80744fb1c6141b6966f4d49897e9ffb4fc35511b404e5533f6440266de744773bbb246a546c36a0dd624808e9b276a05b547
|
data/docs/WebhookEventsApi.md
CHANGED
|
@@ -947,7 +947,7 @@ nil (empty response body)
|
|
|
947
947
|
|
|
948
948
|
Message edited event
|
|
949
949
|
|
|
950
|
-
Fired when a sender edits a previously-sent message. Supported on Instagram, Facebook Messenger, and
|
|
950
|
+
Fired when a sender edits a previously-sent message. Supported on Instagram, Facebook Messenger, Telegram, and WhatsApp. The payload includes the full editHistory so consumers can show prior versions.
|
|
951
951
|
|
|
952
952
|
### Examples
|
|
953
953
|
|
|
@@ -878,7 +878,7 @@ module Zernio
|
|
|
878
878
|
end
|
|
879
879
|
|
|
880
880
|
# Message edited event
|
|
881
|
-
# Fired when a sender edits a previously-sent message. Supported on Instagram, Facebook Messenger, and
|
|
881
|
+
# Fired when a sender edits a previously-sent message. Supported on Instagram, Facebook Messenger, Telegram, and WhatsApp. The payload includes the full editHistory so consumers can show prior versions.
|
|
882
882
|
# @param webhook_payload_message_edited [WebhookPayloadMessageEdited]
|
|
883
883
|
# @param [Hash] opts the optional parameters
|
|
884
884
|
# @return [nil]
|
|
@@ -888,7 +888,7 @@ module Zernio
|
|
|
888
888
|
end
|
|
889
889
|
|
|
890
890
|
# Message edited event
|
|
891
|
-
# Fired when a sender edits a previously-sent message. Supported on Instagram, Facebook Messenger, and
|
|
891
|
+
# Fired when a sender edits a previously-sent message. Supported on Instagram, Facebook Messenger, Telegram, and WhatsApp. The payload includes the full editHistory so consumers can show prior versions.
|
|
892
892
|
# @param webhook_payload_message_edited [WebhookPayloadMessageEdited]
|
|
893
893
|
# @param [Hash] opts the optional parameters
|
|
894
894
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Zernio
|
|
17
|
-
# Webhook payload for message.edited events. Fires when the sender edits a previously-sent message. Supported platforms: Instagram, Facebook Messenger, Telegram. The message object reflects the LATEST state; editHistory contains every prior version in order (oldest first), so the last entry is the version immediately before the current content.
|
|
17
|
+
# Webhook payload for message.edited events. Fires when the sender edits a previously-sent message. Supported platforms: Instagram, Facebook Messenger, Telegram, WhatsApp. The message object reflects the LATEST state; editHistory contains every prior version in order (oldest first), so the last entry is the version immediately before the current content.
|
|
18
18
|
class WebhookPayloadMessageEdited < ApiModelBase
|
|
19
19
|
attr_accessor :id
|
|
20
20
|
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -162,7 +162,7 @@ x-documentation:
|
|
|
162
162
|
- `message.received` - New inbound DM or SMS received (SMS arrives with `platform: "sms"`)
|
|
163
163
|
- `conversation.started` - A new conversation opened between one of your accounts and a contact, in either direction (any DM platform, and SMS); fires only the first time the thread appears
|
|
164
164
|
- `message.sent` - DM sent via the API
|
|
165
|
-
- `message.edited` - A sender edited a message (Instagram, Messenger, Telegram)
|
|
165
|
+
- `message.edited` - A sender edited a message (Instagram, Messenger, Telegram, WhatsApp)
|
|
166
166
|
- `message.deleted` - A sender deleted ("unsent") a message (Instagram; WhatsApp in both directions, whether the business deleted a message it sent or the customer deleted one they sent). `message.direction` tells the two apart.
|
|
167
167
|
- `message.delivered` - An outgoing message was delivered (WhatsApp, Messenger, SMS)
|
|
168
168
|
- `message.read` - An outgoing message was read by the recipient (WhatsApp, Messenger, Instagram)
|
|
@@ -4138,7 +4138,7 @@ components:
|
|
|
4138
4138
|
description: |
|
|
4139
4139
|
Webhook payload for message.edited events. Fires when the sender
|
|
4140
4140
|
edits a previously-sent message. Supported platforms: Instagram,
|
|
4141
|
-
Facebook Messenger, Telegram. The message object reflects the
|
|
4141
|
+
Facebook Messenger, Telegram, WhatsApp. The message object reflects the
|
|
4142
4142
|
LATEST state; editHistory contains every prior version in order
|
|
4143
4143
|
(oldest first), so the last entry is the version immediately before
|
|
4144
4144
|
the current content.
|
|
@@ -9459,8 +9459,8 @@ webhooks:
|
|
|
9459
9459
|
summary: Message edited event
|
|
9460
9460
|
description: |
|
|
9461
9461
|
Fired when a sender edits a previously-sent message. Supported on
|
|
9462
|
-
Instagram, Facebook Messenger, and
|
|
9463
|
-
full editHistory so consumers can show prior versions.
|
|
9462
|
+
Instagram, Facebook Messenger, Telegram, and WhatsApp. The payload
|
|
9463
|
+
includes the full editHistory so consumers can show prior versions.
|
|
9464
9464
|
tags: [Webhook Events]
|
|
9465
9465
|
requestBody:
|
|
9466
9466
|
required: true
|