Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.23 KB

MessageAttachment.md

File metadata and controls

18 lines (14 loc) · 1.23 KB

ElasticEmail.model.message_attachment.MessageAttachment

Model Type Info

Input Type Accessed Type Description Notes
dict, frozendict.frozendict, frozendict.frozendict,

Dictionary Keys

Key Input Type Accessed Type Description Notes
BinaryContent str, str, File's content as byte array (or a Base64 string)
Name str, str, Display name of the file
ContentType str, str, MIME content type [optional]
Size decimal.Decimal, int, decimal.Decimal, Size of your attachment (in bytes). [optional] value must be a 32 bit integer
any_string_name dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO any string name can be used but the value must be the correct type [optional]

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