class XMPP::Stanza::AvatarInfo

Overview

AvatarInfo describes one avatar format within metadata: the id hashes the image, type is the MIME type, bytes is the image size in bytes.

Defined in:

xmpp/stanza/avatar.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(node : XML::Node) #

[View source]

Class Method Detail

def self.xml_name : String #

[View source]

Instance Method Detail

def bytes : Int32 #

[View source]
def bytes=(bytes : Int32) #

[View source]
def height : Int32 #

[View source]
def height=(height : Int32) #

[View source]
def id : String #

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

[View source]
def to_xml(xml : XML::Builder) #

[View source]
def type : String #

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

[View source]
def width : Int32 #

[View source]
def width=(width : Int32) #

[View source]