diff options
-rw-r--r-- | xmpp/iq.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -7,6 +7,15 @@ import ( "log" ) +type iq struct { + XMLName xml.Name `xml:"jabber:client iq"` + Type string `xml:"type,attr,omitempty"` + Id string `xml:"id,attr,omitempty"` + Bind struct{ + Jid string `xml:"jid,omitempty"` + } `xml:"urn:ietf:params:xml:ns:xmpp-bind bind,omitempty"` +} + type bindRequest struct { Bind struct { Xmlns string `xml:"xmlns,attr"` |