go-xmpp/presence.go

14 lines
368 B
Go
Raw Normal View History

2018-01-01 09:12:33 -08:00
package xmpp // import "fluux.io/xmpp"
import "encoding/xml"
// XMPP Packet Parsing
2016-02-17 02:28:51 -08:00
type ClientPresence struct {
XMLName xml.Name `xml:"jabber:client presence"`
2018-01-13 08:54:07 -08:00
PacketAttrs
Show string `xml:"show,attr,omitempty"` // away, chat, dnd, xa
Status string `xml:"status,attr,omitempty"`
Priority string `xml:"priority,attr,omitempty"`
//Error *clientError
}