class Pinnacle::Send::RcsFallback
def initialize(from: OMIT, text: OMIT, media_urls: OMIT, additional_properties: nil)
-
(Pinnacle::Send::RcsFallback)
-
Parameters:
-
additional_properties
(OpenStruct
) -- Additional properties unmapped to the current class definition -
media_urls
(Array
) -- The URLs of media to include. One of 'text' or 'mediaUrls' must be provided. -
text
(String
) -- The fallback message content (max 1600 characters). One of 'text' or 'mediaUrls' -
from
(String
) -- The sender's phone number in E.164 format. Must be owned by the user.
def initialize(from: OMIT, text: OMIT, media_urls: OMIT, additional_properties: nil) @from = from if from != OMIT @text = text if text != OMIT @media_urls = media_urls if media_urls != OMIT @additional_properties = additional_properties @_field_set = { "from": from, "text": text, "mediaUrls": media_urls }.reject do |_k, v| v == OMIT end end