Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.96 KB

OmnimessageMessagesInner.md

File metadata and controls

42 lines (33 loc) · 2.96 KB

OmnimessageMessagesInner

Properties

Name Type Description Notes
sender str Phone number or alphanumeric sender name [optional]
validity int After how many minutes this channel is considered as failed and the next channel is attempted [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 Plaintext content for Telegram
image_url str URL for the embedded image. Mutually exclusive with "document_url" and "audio_url" [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 'telegram']
video ViberVideo [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]
document_url str URL for the embedded image. Mutually exclusive with "audio_url" and "image_url" [optional]
audio_url str URL for the embedded image. Mutually exclusive with "document_url" and "image_url" [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]