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