Versions in this module Expand all Collapse all v0 v0.53.0 Apr 21, 2021 v0.52.4 Apr 6, 2021 v0.52.3 Apr 5, 2021 v0.52.2 Apr 4, 2021 v0.52.1 Apr 1, 2021 v0.52.0 Mar 31, 2021 v0.51.0 Mar 15, 2021 v0.50.0 Feb 22, 2021 Changes in this version + const Both + const From + const None + const Remove + const To v0.10.1 Mar 23, 2020 v0.8.2 Jan 14, 2020 v0.8.1 Jan 7, 2020 v0.8.0 Dec 27, 2019 v0.7.0 Dec 22, 2019 Changes in this version + const SubscriptionBoth + const SubscriptionFrom + const SubscriptionNone + const SubscriptionRemove + const SubscriptionTo + type Item struct + Ask bool + Groups []string + JID string + Name string + Subscription string + Username string + Ver int + func NewItem(elem xmpp.XElement) (*Item, error) + func (ri *Item) ContactJID() *jid.JID + func (ri *Item) Element() xmpp.XElement + func (ri *Item) FromBytes(buf *bytes.Buffer) error + func (ri *Item) ToBytes(buf *bytes.Buffer) error + type Notification struct + Contact string + JID string + Presence *xmpp.Presence + func (rn *Notification) FromBytes(buf *bytes.Buffer) error + func (rn *Notification) ToBytes(buf *bytes.Buffer) error + type Version struct + DeletionVer int + Ver int + func (rv *Version) FromBytes(buf *bytes.Buffer) error + func (rv *Version) ToBytes(buf *bytes.Buffer) error