2
0
mirror of https://github.com/FluuxIO/go-xmpp synced 2024-11-03 15:40:13 +00:00
go-xmpp/xmpp/presence.go

14 lines
337 B
Go
Raw Normal View History

package 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"`
Packet
Show string `xml:"show,attr,omitempty"` // away, chat, dnd, xa
Status string `xml:"status,attr,omitempty"`
Priority string `xml:"priority,attr,omitempty"`
//Error *clientError
}