Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.38 KB

File metadata and controls

30 lines (21 loc) · 1.38 KB

AttachmentSchema

Properties

Name Type Description Notes
media_url str Uploaded attachment’s url. <aside class=&quot;notice&quot;><strong>Note:</strong> An authorization header is required to access the mediaUrl when private attachments are enabled. See configuring private attachments for messaging guide for more details.</aside> [optional]
media_type str Uploaded attachment's media type [optional]

Example

from sunshine_conversations_client.model.attachment_schema import AttachmentSchema

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

# convert the object into a dict
attachment_schema_dict = attachment_schema_instance.to_dict()
# create an instance of AttachmentSchema from a dict
attachment_schema_from_dict = AttachmentSchema.from_dict(attachment_schema_dict)

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