Skip to main content
View module source on GitHub

FileAttachment

to_dict

Convert the file attachment to a dictionary. Returns: A dictionary containing the file attachment.

FileDataAttachment

__post_init__

Initialize the file data attachment.

to_dict

Convert the file data attachment to a dictionary. Returns: A dictionary containing the file data attachment.

UrlAttachment

__post_init__

Initialize the url attachment.

to_dict

Convert the url attachment to a dictionary. Returns: A dictionary containing the url attachment.