Skip to content

APIMessageAttachment

Package: @erinjs/types

Properties

NameTypeReadonlyOptionalDescription
content_hashstring | nullNoYesHash of attachment content for integrity
content_typestring | nullNoYes
descriptionstring | nullNoYes
durationnumber | nullNoYes
expiredboolean | nullNoYes
expires_atstring | nullNoYes
filenamestringNoNo
flagsnumber | nullNoYesMessageAttachmentFlags bitfield
heightnumber | nullNoYes
idstringNoNo
nsfwboolean | nullNoYes
placeholderstring | nullNoYesBase64 placeholder for lazy loading
proxy_urlstring | nullNoYes
sizenumberNoNo
titlestring | nullNoYes
urlstring | nullNoYes
waveformstring | nullNoYesBase64 audio waveform for voice messages
widthnumber | nullNoYes

Released under the Apache-2.0 License.