struct Discord::Attachment

Included Modules

Defined in:

discordcr/mappings/channel.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def filename : String #

[View source]
def filename=(filename : String) #

[View source]
def height : UInt32 | Nil #

[View source]
def height=(height : UInt32 | Nil) #

[View source]
def id : Snowflake #

[View source]
def id=(id : Snowflake) #

[View source]
def proxy_url : String #

[View source]
def proxy_url=(proxy_url : String) #

[View source]
def size : UInt32 #

[View source]
def size=(size : UInt32) #

[View source]
def url : String #

[View source]
def url=(url : String) #

[View source]
def width : UInt32 | Nil #

[View source]
def width=(width : UInt32 | Nil) #

[View source]