Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 3.27 KB

File metadata and controls

47 lines (38 loc) · 3.27 KB

OmnimessageMessagesInner

Properties

Name Type Description Notes
sender str Phone number or alphanumeric sender name
validity int After how many minutes this channel is considered as failed and the next channel is attempted.Only one of "ttl" and "validity" can be used. [optional]
ttl int After how many seconds this channel is considered as failed and the next channel is attempted. Only one of "ttl" and "validity" can be used. [optional]
text str Text content of the RCS message
image_url str URL for the embedded image Valid combinations: 1) image_url, 2) text, image_url, button_url, button_text [optional]
button_url str URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) [optional]
button_text str Must be specified along with ''text'', ''button_url'', ''button_text'', ''image_url'' (optional) [optional]
channel str The channel used to deliver the message [optional] [default to 'rcs']
video WhatsAppVideo [optional]
autoconvert str Defines how non-GSM characters will be treated: - "on" Use replacement settings from the account's API Auto Replace settings page (default) - "full" All non GSM 03.38 characters will be replaced with suitable alternatives - "off" Message content is not modified in any way [optional]
udh str hex-encoded string containing SMS UDH [optional]
template WhatsAppTemplate [optional]
image WhatsAppImage [optional]
audio WhatsAppAudio [optional]
document WhatsAppDocument [optional]
sticker WhatsAppSticker [optional]
suggestions List[RcsSuggestion] List of suggestions to include with the message [optional]
rich_card RcsRichCard [optional]
content_info RcsContentInfo [optional]

Example

from messente_api.models.omnimessage_messages_inner import OmnimessageMessagesInner

# TODO update the JSON string below
json = "{}"
# create an instance of OmnimessageMessagesInner from a JSON string
omnimessage_messages_inner_instance = OmnimessageMessagesInner.from_json(json)
# print the JSON string representation of the object
print(OmnimessageMessagesInner.to_json())

# convert the object into a dict
omnimessage_messages_inner_dict = omnimessage_messages_inner_instance.to_dict()
# create an instance of OmnimessageMessagesInner from a dict
omnimessage_messages_inner_from_dict = OmnimessageMessagesInner.from_dict(omnimessage_messages_inner_dict)

[Back to Model list] [Back to API list] [Back to README]