Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.61 KB

File metadata and controls

30 lines (22 loc) · 1.61 KB

Options

The object contains information about the message content. Either cards or text must be provided

Properties

Name Type Description Notes
cards List[Card] The array contains information about the card. The maximum number of cards is 5. Messages with one card are called “Single card”, messages with 2 or more cards are called “Carousel”. Depending on the chosen tariff, the number of cards may be limited (for example, you can send only Single cards). Details will be provided by manager.
text str It is specified only for the “text” message type. RCS message text is up to 160 characters. Can contain emojis (character count for emojis according to UTF-16 code points. Simple emojis take 2 code points, complex emojis take 4, Cyrillic emojis take 1). If the message contains a link in the format http://nosms.cc/XXXX, the System will generate an Unsubscribe link while sending the message

Example

from bsg_api.models.options import Options

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

# convert the object into a dict
options_dict = options_instance.to_dict()
# create an instance of Options from a dict
options_from_dict = Options.from_dict(options_dict)

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