View Source Nostrum.Struct.Message.Attachment (Nostrum v0.6.1)
Struct representing a Discord message attachment.
Link to this section 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)
Link to this section Types
Specs
filename() :: String.t()
Name of attached file
Specs
height() :: integer() | nil
Height of the file (if image)
Specs
id() :: Nostrum.Snowflake.t()
Attachment id
Specs
proxy_url() :: String.t()
Proxy url of the file
Specs
size() :: integer()
Size of the file in bytes
Specs
Specs
url() :: String.t()
Source url of the file
Specs
width() :: integer() | nil
Width of the file (if image)