Nostrum.Struct.Message.Attachment (nostrum v0.11.0-dev)
View SourceStruct representing a Discord message attachment.
Summary
Types
Name of attached file
Height of the file (if image)
Attachment id
Proxy url of the file
Size of the file in bytes
Source url of the file
Width of the file (if image)
Types
@type filename() :: String.t()
Name of attached file
@type height() :: integer() | nil
Height of the file (if image)
@type id() :: Nostrum.Snowflake.t()
Attachment id
@type proxy_url() :: String.t()
Proxy url of the file
@type size() :: integer()
Size of the file in bytes
@type url() :: String.t()
Source url of the file
@type width() :: integer() | nil
Width of the file (if image)