Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.6 KB

File metadata and controls

37 lines (29 loc) · 1.6 KB

RcsMessage

Properties

Name Type Description Notes
phone Phone
sender str
options Options
alternative_channel AlternativeChannel [optional]
callback_url object Link to get the delivery status of messages. If this parameter is specified in the method, it will take precedence over the value specified in the “Callback URL” field in the Personal Area. [optional]
tariff_code int [optional]
validity_seconds int Validity period in seconds. If not set, field "validity" is used [optional]
validity int Validity period in hours [optional] [default to 72]
add_to_contact_book bool [optional] [default to True]
check_stop_list bool [optional] [default to True]

Example

from bsg_api.models.rcs_message import RcsMessage

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

# convert the object into a dict
rcs_message_dict = rcs_message_instance.to_dict()
# create an instance of RcsMessage from a dict
rcs_message_from_dict = RcsMessage.from_dict(rcs_message_dict)

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