struct

Discord::Attachment

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

filename
Source
filename=(filename : String)
Source
height
Source
height=(height : UInt32 | Nil)
Source
id=(id : Snowflake)
Source
proxy_url
Source
proxy_url=(proxy_url : String)
Source
size
Source
size=(size : UInt32)
Source
url=(url : String)
Source
width
Source
width=(width : UInt32 | Nil)
Source