go-xmpp/presence.go

14 lines
368 B
Go
Raw Normal View History

2018-01-01 17:12:33 +00:00
package xmpp // import "fluux.io/xmpp"
import "encoding/xml"
// XMPP Packet Parsing
2016-02-17 10:28:51 +00:00
type ClientPresence struct {
XMLName xml.Name `xml:"jabber:client presence"`
2018-01-13 16:54:07 +00: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
}