late-sdk 0.0.676 → 0.0.678
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/docs/CreateStandaloneAdRequest.md +1 -1
- data/docs/CreateStandaloneAdRequestTranslationsInner.md +2 -0
- data/docs/SendInboxMessageRequest.md +1 -1
- data/docs/WebhookPayloadMessageMetadata.md +2 -0
- data/lib/zernio-sdk/models/create_standalone_ad_request.rb +1 -1
- data/lib/zernio-sdk/models/create_standalone_ad_request_translations_inner.rb +11 -1
- data/lib/zernio-sdk/models/send_inbox_message_request.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_message_metadata.rb +12 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +14 -4
- data/spec/models/create_standalone_ad_request_translations_inner_spec.rb +6 -0
- data/spec/models/webhook_payload_message_metadata_spec.rb +6 -0
- data/zernio-sdk-0.0.678.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.676.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea77def85748c8c4d9cf5d11e93cd49acc0b86a3e149eb2d77ccd06ceaae81df
|
|
4
|
+
data.tar.gz: 7ea6ed0dabdb434ff08ce7fee4089c887d4575b3962d8660fa66ded7b5167f97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c63aac0b091242ac06e9fe698cdf8d829c19eb67d585f7cbe46180c057402f9d10e7353c31b4dc10783d758ea6127f5d3283129f800a9048ebc831564868ee04
|
|
7
|
+
data.tar.gz: d66181e772f76ce84026d8e2d5594f3b68bc063fb67666e6ff6a91ecdfb2980b1df87e0d880857ac0ce1cf4487865b374b796ce23dd5fd17a7d0525e3948ac50
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
| **dynamic_creative** | [**CreateStandaloneAdRequestDynamicCreative**](CreateStandaloneAdRequestDynamicCreative.md) | | [optional] |
|
|
65
65
|
| **carousel_cards** | [**Array<CreateStandaloneAdRequestCarouselCardsInner>**](CreateStandaloneAdRequestCarouselCardsInner.md) | Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to the creative's `link_data.child_attachments`. Unlike `dynamicCreative`, you control the card order and per-card copy/link. Requires top-level `body`, `linkUrl` and `callToAction`. Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`, `placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal `catalog_sales`. | [optional] |
|
|
66
66
|
| **default_locale** | **String** | Meta only. Language the top-level copy is written in (e.g. `en`, `pt_BR`), used by the `translations` default rule. Defaults to `en`. Meta rejects a language asset feed whose default rule carries no locales of its own. Must NOT also appear as an entry in `translations`. | [optional] |
|
|
67
|
-
| **translations** | [**Array<CreateStandaloneAdRequestTranslationsInner>**](CreateStandaloneAdRequestTranslationsInner.md) | Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying per-locale copy and, optionally, per-locale media — the \"Languages\" toggle in Ads Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of splitting it across one ad per language. The ad's top-level copy is the DEFAULT shown to every locale you do NOT list, and it counts as one of the language variants. IMPORTANT, and the opposite of what you might expect: text does NOT inherit. Every entry must carry its own `headline`, `body` AND `description`, and all of them must be DISTINCT from each other and from the ad's top-level copy. Meta deduplicates identical strings inside the asset feed, so two locales sharing a string collapse into one asset and the create fails with a misleading \"Too few ... texts provided in asset creation\" (subcode 1885817) that names a field which is actually present. We validate this before calling Meta and return a 400 naming the offending locale and field. `description` is therefore effectively required on the ad whenever `translations` is present, even though it is optional otherwise. Do NOT list `defaultLocale` inside `translations`: Meta rejects the duplicate with \"The language asset feed includes an unsupported targeting field\" (subcode 1885985). Media DOES inherit and is uploaded once when shared
|
|
67
|
+
| **translations** | [**Array<CreateStandaloneAdRequestTranslationsInner>**](CreateStandaloneAdRequestTranslationsInner.md) | Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying per-locale copy and, optionally, per-locale media — the \"Languages\" toggle in Ads Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of splitting it across one ad per language. The ad's top-level copy is the DEFAULT shown to every locale you do NOT list, and it counts as one of the language variants. IMPORTANT, and the opposite of what you might expect: text does NOT inherit. Every entry must carry its own `headline`, `body` AND `description`, and all of them must be DISTINCT from each other and from the ad's top-level copy. Meta deduplicates identical strings inside the asset feed, so two locales sharing a string collapse into one asset and the create fails with a misleading \"Too few ... texts provided in asset creation\" (subcode 1885817) that names a field which is actually present. We validate this before calling Meta and return a 400 naming the offending locale and field. `description` is therefore effectively required on the ad whenever `translations` is present, even though it is optional otherwise. Do NOT list `defaultLocale` inside `translations`: Meta rejects the duplicate with \"The language asset feed includes an unsupported targeting field\" (subcode 1885985). Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits too: each locale may name its own landing page and unlisted locales fall back to the ad's top-level `linkUrl`. Note that Meta enforces Dynamic Creative image dimensions on language feeds, so an `imageUrl` that works on a normal ad may be rejected with \"The following images have invalid dimensions for Dynamic Creative\" (subcode 1885558). Video is not affected. Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards` and `existingCreativeId` — Meta allows one `asset_feed_spec` shape per creative. | [optional] |
|
|
68
68
|
| **placement_assets** | [**CreateStandaloneAdRequestPlacementAssets**](CreateStandaloneAdRequestPlacementAssets.md) | | [optional] |
|
|
69
69
|
| **audience_id** | **String** | Custom audience ID for targeting | [optional] |
|
|
70
70
|
| **campaign_type** | **String** | Google only | [optional][default to 'display'] |
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **headline** | **String** | Headline for this language. REQUIRED, and must differ from every other locale and from the ad's top-level headline. | |
|
|
9
9
|
| **body** | **String** | Primary text for this language. REQUIRED, and must differ from every other locale and from the ad's top-level body. | |
|
|
10
10
|
| **description** | **String** | Link description for this language. REQUIRED, and must differ from every other locale and from the ad's top-level description. | |
|
|
11
|
+
| **link_url** | **String** | Destination URL for this language. Inherits the ad's top-level `linkUrl` when omitted, and requires it to be present (400 otherwise): the top-level URL is the destination for every locale you did not override. Unlike text, identical URLs across locales are fine (they share one asset). | [optional] |
|
|
11
12
|
| **image_url** | **String** | Image for this language. Inherits the ad's `imageUrl` when omitted. The feed is all-image OR all-video. | [optional] |
|
|
12
13
|
| **video_url** | **String** | Video for this language. Inherits the ad's `video.url` when omitted. The feed is all-image OR all-video. | [optional] |
|
|
13
14
|
| **thumbnail_url** | **String** | Poster frame for this language's video. | [optional] |
|
|
@@ -22,6 +23,7 @@ instance = Zernio::CreateStandaloneAdRequestTranslationsInner.new(
|
|
|
22
23
|
headline: null,
|
|
23
24
|
body: null,
|
|
24
25
|
description: null,
|
|
26
|
+
link_url: null,
|
|
25
27
|
image_url: null,
|
|
26
28
|
video_url: null,
|
|
27
29
|
thumbnail_url: null
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
| **reply_markup** | [**SendInboxMessageRequestReplyMarkup**](SendInboxMessageRequestReplyMarkup.md) | | [optional] |
|
|
19
19
|
| **messaging_type** | **String** | Facebook messaging type. Required when using messageTag. | [optional] |
|
|
20
20
|
| **message_tag** | **String** | Facebook message tag for messaging outside 24h window. Requires messagingType MESSAGE_TAG. Instagram only supports HUMAN_AGENT. | [optional] |
|
|
21
|
-
| **reply_to** | **String** | Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks).
|
|
21
|
+
| **reply_to** | **String** | Platform message ID to quote-reply to. For WhatsApp, pass the wamid; for Telegram, the Telegram message ID; for Instagram, the Meta mid (all available in message.platformMessageId from webhooks or the list-messages endpoint). On Slack it threads the reply (thread_ts) instead of quoting. Silently ignored on platforms without reply support, including Facebook Messenger (Meta's Messenger Send API has no reply_to). | [optional] |
|
|
22
22
|
| **location** | [**SendInboxMessageRequestLocation**](SendInboxMessageRequestLocation.md) | | [optional] |
|
|
23
23
|
| **contacts** | [**Array<SendInboxMessageRequestContactsInner>**](SendInboxMessageRequestContactsInner.md) | WhatsApp-only. Send one or more contact cards. | [optional] |
|
|
24
24
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **quoted_message_id** | **String** | platformMessageId of the message this one is a quote-reply to. WhatsApp (`context.id`), Instagram and Facebook Messenger (`reply_to.mid`). On `message.sent` echoes (operator replied from the native app) this is the only metadata field populated. | [optional] |
|
|
7
8
|
| **quick_reply_payload** | **String** | Payload from a quick reply tap (Facebook/Instagram Messenger). | [optional] |
|
|
8
9
|
| **postback_payload** | **String** | Payload from a postback button tap (Facebook/Instagram Messenger). | [optional] |
|
|
9
10
|
| **postback_title** | **String** | Title of the tapped postback button (Facebook/Instagram Messenger). | [optional] |
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
require 'zernio-sdk'
|
|
28
29
|
|
|
29
30
|
instance = Zernio::WebhookPayloadMessageMetadata.new(
|
|
31
|
+
quoted_message_id: null,
|
|
30
32
|
quick_reply_payload: null,
|
|
31
33
|
postback_payload: null,
|
|
32
34
|
postback_title: null,
|
|
@@ -184,7 +184,7 @@ module Zernio
|
|
|
184
184
|
# Meta only. Language the top-level copy is written in (e.g. `en`, `pt_BR`), used by the `translations` default rule. Defaults to `en`. Meta rejects a language asset feed whose default rule carries no locales of its own. Must NOT also appear as an entry in `translations`.
|
|
185
185
|
attr_accessor :default_locale
|
|
186
186
|
|
|
187
|
-
# Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying per-locale copy and, optionally, per-locale media — the \"Languages\" toggle in Ads Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of splitting it across one ad per language. The ad's top-level copy is the DEFAULT shown to every locale you do NOT list, and it counts as one of the language variants. IMPORTANT, and the opposite of what you might expect: text does NOT inherit. Every entry must carry its own `headline`, `body` AND `description`, and all of them must be DISTINCT from each other and from the ad's top-level copy. Meta deduplicates identical strings inside the asset feed, so two locales sharing a string collapse into one asset and the create fails with a misleading \"Too few ... texts provided in asset creation\" (subcode 1885817) that names a field which is actually present. We validate this before calling Meta and return a 400 naming the offending locale and field. `description` is therefore effectively required on the ad whenever `translations` is present, even though it is optional otherwise. Do NOT list `defaultLocale` inside `translations`: Meta rejects the duplicate with \"The language asset feed includes an unsupported targeting field\" (subcode 1885985). Media DOES inherit and is uploaded once when shared
|
|
187
|
+
# Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying per-locale copy and, optionally, per-locale media — the \"Languages\" toggle in Ads Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of splitting it across one ad per language. The ad's top-level copy is the DEFAULT shown to every locale you do NOT list, and it counts as one of the language variants. IMPORTANT, and the opposite of what you might expect: text does NOT inherit. Every entry must carry its own `headline`, `body` AND `description`, and all of them must be DISTINCT from each other and from the ad's top-level copy. Meta deduplicates identical strings inside the asset feed, so two locales sharing a string collapse into one asset and the create fails with a misleading \"Too few ... texts provided in asset creation\" (subcode 1885817) that names a field which is actually present. We validate this before calling Meta and return a 400 naming the offending locale and field. `description` is therefore effectively required on the ad whenever `translations` is present, even though it is optional otherwise. Do NOT list `defaultLocale` inside `translations`: Meta rejects the duplicate with \"The language asset feed includes an unsupported targeting field\" (subcode 1885985). Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits too: each locale may name its own landing page and unlisted locales fall back to the ad's top-level `linkUrl`. Note that Meta enforces Dynamic Creative image dimensions on language feeds, so an `imageUrl` that works on a normal ad may be rejected with \"The following images have invalid dimensions for Dynamic Creative\" (subcode 1885558). Video is not affected. Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards` and `existingCreativeId` — Meta allows one `asset_feed_spec` shape per creative.
|
|
188
188
|
attr_accessor :translations
|
|
189
189
|
|
|
190
190
|
attr_accessor :placement_assets
|
|
@@ -27,6 +27,9 @@ module Zernio
|
|
|
27
27
|
# Link description for this language. REQUIRED, and must differ from every other locale and from the ad's top-level description.
|
|
28
28
|
attr_accessor :description
|
|
29
29
|
|
|
30
|
+
# Destination URL for this language. Inherits the ad's top-level `linkUrl` when omitted, and requires it to be present (400 otherwise): the top-level URL is the destination for every locale you did not override. Unlike text, identical URLs across locales are fine (they share one asset).
|
|
31
|
+
attr_accessor :link_url
|
|
32
|
+
|
|
30
33
|
# Image for this language. Inherits the ad's `imageUrl` when omitted. The feed is all-image OR all-video.
|
|
31
34
|
attr_accessor :image_url
|
|
32
35
|
|
|
@@ -43,6 +46,7 @@ module Zernio
|
|
|
43
46
|
:'headline' => :'headline',
|
|
44
47
|
:'body' => :'body',
|
|
45
48
|
:'description' => :'description',
|
|
49
|
+
:'link_url' => :'linkUrl',
|
|
46
50
|
:'image_url' => :'imageUrl',
|
|
47
51
|
:'video_url' => :'videoUrl',
|
|
48
52
|
:'thumbnail_url' => :'thumbnailUrl'
|
|
@@ -66,6 +70,7 @@ module Zernio
|
|
|
66
70
|
:'headline' => :'String',
|
|
67
71
|
:'body' => :'String',
|
|
68
72
|
:'description' => :'String',
|
|
73
|
+
:'link_url' => :'String',
|
|
69
74
|
:'image_url' => :'String',
|
|
70
75
|
:'video_url' => :'String',
|
|
71
76
|
:'thumbnail_url' => :'String'
|
|
@@ -118,6 +123,10 @@ module Zernio
|
|
|
118
123
|
self.description = nil
|
|
119
124
|
end
|
|
120
125
|
|
|
126
|
+
if attributes.key?(:'link_url')
|
|
127
|
+
self.link_url = attributes[:'link_url']
|
|
128
|
+
end
|
|
129
|
+
|
|
121
130
|
if attributes.key?(:'image_url')
|
|
122
131
|
self.image_url = attributes[:'image_url']
|
|
123
132
|
end
|
|
@@ -233,6 +242,7 @@ module Zernio
|
|
|
233
242
|
headline == o.headline &&
|
|
234
243
|
body == o.body &&
|
|
235
244
|
description == o.description &&
|
|
245
|
+
link_url == o.link_url &&
|
|
236
246
|
image_url == o.image_url &&
|
|
237
247
|
video_url == o.video_url &&
|
|
238
248
|
thumbnail_url == o.thumbnail_url
|
|
@@ -247,7 +257,7 @@ module Zernio
|
|
|
247
257
|
# Calculates hash code according to all attributes.
|
|
248
258
|
# @return [Integer] Hash code
|
|
249
259
|
def hash
|
|
250
|
-
[locale, headline, body, description, image_url, video_url, thumbnail_url].hash
|
|
260
|
+
[locale, headline, body, description, link_url, image_url, video_url, thumbnail_url].hash
|
|
251
261
|
end
|
|
252
262
|
|
|
253
263
|
# Builds the object from hash
|
|
@@ -54,7 +54,7 @@ module Zernio
|
|
|
54
54
|
# Facebook message tag for messaging outside 24h window. Requires messagingType MESSAGE_TAG. Instagram only supports HUMAN_AGENT.
|
|
55
55
|
attr_accessor :message_tag
|
|
56
56
|
|
|
57
|
-
# Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks).
|
|
57
|
+
# Platform message ID to quote-reply to. For WhatsApp, pass the wamid; for Telegram, the Telegram message ID; for Instagram, the Meta mid (all available in message.platformMessageId from webhooks or the list-messages endpoint). On Slack it threads the reply (thread_ts) instead of quoting. Silently ignored on platforms without reply support, including Facebook Messenger (Meta's Messenger Send API has no reply_to).
|
|
58
58
|
attr_accessor :reply_to
|
|
59
59
|
|
|
60
60
|
attr_accessor :location
|
|
@@ -14,8 +14,11 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Zernio
|
|
17
|
-
#
|
|
17
|
+
# Platform-specific message context (present when the message is a quick reply tap, postback button tap, inline keyboard callback, or a quote-reply to an earlier message)
|
|
18
18
|
class WebhookPayloadMessageMetadata < ApiModelBase
|
|
19
|
+
# platformMessageId of the message this one is a quote-reply to. WhatsApp (`context.id`), Instagram and Facebook Messenger (`reply_to.mid`). On `message.sent` echoes (operator replied from the native app) this is the only metadata field populated.
|
|
20
|
+
attr_accessor :quoted_message_id
|
|
21
|
+
|
|
19
22
|
# Payload from a quick reply tap (Facebook/Instagram Messenger).
|
|
20
23
|
attr_accessor :quick_reply_payload
|
|
21
24
|
|
|
@@ -85,6 +88,7 @@ module Zernio
|
|
|
85
88
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
86
89
|
def self.attribute_map
|
|
87
90
|
{
|
|
91
|
+
:'quoted_message_id' => :'quotedMessageId',
|
|
88
92
|
:'quick_reply_payload' => :'quickReplyPayload',
|
|
89
93
|
:'postback_payload' => :'postbackPayload',
|
|
90
94
|
:'postback_title' => :'postbackTitle',
|
|
@@ -117,6 +121,7 @@ module Zernio
|
|
|
117
121
|
# Attribute type mapping.
|
|
118
122
|
def self.openapi_types
|
|
119
123
|
{
|
|
124
|
+
:'quoted_message_id' => :'String',
|
|
120
125
|
:'quick_reply_payload' => :'String',
|
|
121
126
|
:'postback_payload' => :'String',
|
|
122
127
|
:'postback_title' => :'String',
|
|
@@ -158,6 +163,10 @@ module Zernio
|
|
|
158
163
|
h[k.to_sym] = v
|
|
159
164
|
}
|
|
160
165
|
|
|
166
|
+
if attributes.key?(:'quoted_message_id')
|
|
167
|
+
self.quoted_message_id = attributes[:'quoted_message_id']
|
|
168
|
+
end
|
|
169
|
+
|
|
161
170
|
if attributes.key?(:'quick_reply_payload')
|
|
162
171
|
self.quick_reply_payload = attributes[:'quick_reply_payload']
|
|
163
172
|
end
|
|
@@ -271,6 +280,7 @@ module Zernio
|
|
|
271
280
|
def ==(o)
|
|
272
281
|
return true if self.equal?(o)
|
|
273
282
|
self.class == o.class &&
|
|
283
|
+
quoted_message_id == o.quoted_message_id &&
|
|
274
284
|
quick_reply_payload == o.quick_reply_payload &&
|
|
275
285
|
postback_payload == o.postback_payload &&
|
|
276
286
|
postback_title == o.postback_title &&
|
|
@@ -298,7 +308,7 @@ module Zernio
|
|
|
298
308
|
# Calculates hash code according to all attributes.
|
|
299
309
|
# @return [Integer] Hash code
|
|
300
310
|
def hash
|
|
301
|
-
[quick_reply_payload, postback_payload, postback_title, callback_data, interactive_type, interactive_id, button_payload, flow_response_json, flow_response_data, order, referred_product, contacts, contacts_origin, story_reply, is_story_mention, referral].hash
|
|
311
|
+
[quoted_message_id, quick_reply_payload, postback_payload, postback_title, callback_data, interactive_type, interactive_id, button_payload, flow_response_json, flow_response_data, order, referred_product, contacts, contacts_origin, story_reply, is_story_mention, referral].hash
|
|
302
312
|
end
|
|
303
313
|
|
|
304
314
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -3342,8 +3342,15 @@ components:
|
|
|
3342
3342
|
$ref: '#/components/schemas/InboxWebhookAccount'
|
|
3343
3343
|
metadata:
|
|
3344
3344
|
type: [object, "null"]
|
|
3345
|
-
description:
|
|
3345
|
+
description: 'Platform-specific message context (present when the message is a quick reply tap, postback button tap, inline keyboard callback, or a quote-reply to an earlier message)'
|
|
3346
3346
|
properties:
|
|
3347
|
+
quotedMessageId:
|
|
3348
|
+
type: string
|
|
3349
|
+
description: |
|
|
3350
|
+
platformMessageId of the message this one is a quote-reply to.
|
|
3351
|
+
WhatsApp (`context.id`), Instagram and Facebook Messenger
|
|
3352
|
+
(`reply_to.mid`). On `message.sent` echoes (operator replied
|
|
3353
|
+
from the native app) this is the only metadata field populated.
|
|
3347
3354
|
quickReplyPayload:
|
|
3348
3355
|
type: string
|
|
3349
3356
|
description: Payload from a quick reply tap (Facebook/Instagram Messenger).
|
|
@@ -24475,7 +24482,7 @@ paths:
|
|
|
24475
24482
|
description: Facebook message tag for messaging outside 24h window. Requires messagingType MESSAGE_TAG. Instagram only supports HUMAN_AGENT.
|
|
24476
24483
|
replyTo:
|
|
24477
24484
|
type: string
|
|
24478
|
-
description: Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks).
|
|
24485
|
+
description: 'Platform message ID to quote-reply to. For WhatsApp, pass the wamid; for Telegram, the Telegram message ID; for Instagram, the Meta mid (all available in message.platformMessageId from webhooks or the list-messages endpoint). On Slack it threads the reply (thread_ts) instead of quoting. Silently ignored on platforms without reply support, including Facebook Messenger (Meta''s Messenger Send API has no reply_to).'
|
|
24479
24486
|
location:
|
|
24480
24487
|
type: object
|
|
24481
24488
|
description: WhatsApp-only. Send a location pin.
|
|
@@ -24544,7 +24551,7 @@ paths:
|
|
|
24544
24551
|
description: Message tag (requires messagingType MESSAGE_TAG)
|
|
24545
24552
|
replyTo:
|
|
24546
24553
|
type: string
|
|
24547
|
-
description: Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks).
|
|
24554
|
+
description: 'Platform message ID to quote-reply to. For WhatsApp, pass the wamid; for Telegram, the Telegram message ID; for Instagram, the Meta mid (all available in message.platformMessageId from webhooks or the list-messages endpoint). On Slack it threads the reply (thread_ts) instead of quoting. Silently ignored on platforms without reply support, including Facebook Messenger (Meta''s Messenger Send API has no reply_to).'
|
|
24548
24555
|
voiceNote:
|
|
24549
24556
|
type: string
|
|
24550
24557
|
enum: ['true']
|
|
@@ -39765,7 +39772,9 @@ paths:
|
|
|
39765
39772
|
with "The language asset feed includes an unsupported targeting field"
|
|
39766
39773
|
(subcode 1885985).
|
|
39767
39774
|
|
|
39768
|
-
Media DOES inherit and is uploaded once when shared
|
|
39775
|
+
Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits
|
|
39776
|
+
too: each locale may name its own landing page and unlisted locales fall back
|
|
39777
|
+
to the ad's top-level `linkUrl`. Note that Meta enforces
|
|
39769
39778
|
Dynamic Creative image dimensions on language feeds, so an `imageUrl` that
|
|
39770
39779
|
works on a normal ad may be rejected with "The following images have invalid
|
|
39771
39780
|
dimensions for Dynamic Creative" (subcode 1885558). Video is not affected.
|
|
@@ -39780,6 +39789,7 @@ paths:
|
|
|
39780
39789
|
headline: { type: string, maxLength: 255, description: "Headline for this language. REQUIRED, and must differ from every other locale and from the ad's top-level headline." }
|
|
39781
39790
|
body: { type: string, description: "Primary text for this language. REQUIRED, and must differ from every other locale and from the ad's top-level body." }
|
|
39782
39791
|
description: { type: string, maxLength: 255, description: "Link description for this language. REQUIRED, and must differ from every other locale and from the ad's top-level description." }
|
|
39792
|
+
linkUrl: { type: string, format: uri, description: "Destination URL for this language. Inherits the ad's top-level `linkUrl` when omitted, and requires it to be present (400 otherwise): the top-level URL is the destination for every locale you did not override. Unlike text, identical URLs across locales are fine (they share one asset)." }
|
|
39783
39793
|
imageUrl: { type: string, format: uri, description: "Image for this language. Inherits the ad's `imageUrl` when omitted. The feed is all-image OR all-video." }
|
|
39784
39794
|
videoUrl: { type: string, format: uri, description: "Video for this language. Inherits the ad's `video.url` when omitted. The feed is all-image OR all-video." }
|
|
39785
39795
|
thumbnailUrl: { type: string, format: uri, description: "Poster frame for this language's video." }
|
|
@@ -51,6 +51,12 @@ describe Zernio::CreateStandaloneAdRequestTranslationsInner do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "link_url"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
54
60
|
describe 'test attribute "image_url"' do
|
|
55
61
|
it 'should work' do
|
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -27,6 +27,12 @@ describe Zernio::WebhookPayloadMessageMetadata do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "quoted_message_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
30
36
|
describe 'test attribute "quick_reply_payload"' do
|
|
31
37
|
it 'should work' do
|
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.678
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4985,7 +4985,7 @@ files:
|
|
|
4985
4985
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4986
4986
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4987
4987
|
- spec/spec_helper.rb
|
|
4988
|
-
- zernio-sdk-0.0.
|
|
4988
|
+
- zernio-sdk-0.0.678.gem
|
|
4989
4989
|
- zernio-sdk.gemspec
|
|
4990
4990
|
homepage: https://openapi-generator.tech
|
|
4991
4991
|
licenses:
|
data/zernio-sdk-0.0.676.gem
DELETED
|
Binary file
|