Discord::Attachment
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
filename
Sourcefilename=(filename : String)
Sourceheight
Sourceheight=(height : UInt32 | Nil)
Sourceid
Sourceid=(id : Snowflake)
Sourceproxy_url
Sourceproxy_url=(proxy_url : String)
Sourcesize
Sourcesize=(size : UInt32)
Sourceurl
Sourceurl=(url : String)
Sourcewidth
Sourcewidth=(width : UInt32 | Nil)
Source