You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-xmpp/msg_receipts.go

24 lines
361 B

package xmpp
import "encoding/xml"
/*
Support for:
- XEP-0184 - Message Delivery Receipts: https://xmpp.org/extensions/xep-0184.html
*/
const (
NSReceipts = "urn:xmpp:receipts"
)
// XEP-0184 message receipt markers
type Receipt struct {
MsgExtension
XMLName xml.Name
Id string
}
func init() {
typeRegistry.RegisterMsgExt(NSReceipts, Receipt{})
}