Skip to content

Latest commit

 

History

History
50 lines (44 loc) · 2.53 KB

File metadata and controls

50 lines (44 loc) · 2.53 KB

Zernio::UpdateCommentAutomation200ResponseAutomation

Properties

Name Type Description Notes
id String [optional]
name String [optional]
keywords Array<String> [optional]
match_mode String How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword. [optional]
exclude_keywords Array<String> Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode. [optional]
typo_tolerance Boolean Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched. [optional]
dm_message String [optional]
buttons Array<DmButton> Inline DM buttons (up to 3). Omitted when none are set. [optional]
template CommentAutomationTemplate [optional]
comment_reply String [optional]
dm_message_variations Array<String> Alternate DM texts rotated at random with dmMessage. Omitted when none. [optional]
comment_reply_variations Array<String> Alternate public replies rotated at random with commentReply. Omitted when none. [optional]
audience CommentAutomationAudience [optional]
follow_gate CommentAutomationFollowGate [optional]
also_match_in_dms Boolean Whether these keywords also fire on a plain inbound DM. [optional]
is_active Boolean [optional]
updated_at Time [optional]

Example

require 'zernio-sdk'

instance = Zernio::UpdateCommentAutomation200ResponseAutomation.new(
  id: null,
  name: null,
  keywords: null,
  match_mode: null,
  exclude_keywords: null,
  typo_tolerance: null,
  dm_message: null,
  buttons: null,
  template: null,
  comment_reply: null,
  dm_message_variations: null,
  comment_reply_variations: null,
  audience: null,
  follow_gate: null,
  also_match_in_dms: null,
  is_active: null,
  updated_at: null
)