crux_structs v0.2.0 Crux.Structs.Attachment View Source
Represents a Discord Attachment Object
Height and width are only present for images.
Link to this section Summary
Functions
Creates a Crux.Structs.Attachment
struct from raw data
Link to this section Types
Link to this type
t() View Source (since 0.1.0)
Link to this section Functions
Link to this function
create(data) View Source (since 0.1.0)
Creates a Crux.Structs.Attachment
struct from raw data.
Automatically invoked by
Crux.Structs.create/2
.