gomatrix/tags.go

12 lines
291 B
Go
Raw Normal View History

2019-03-26 15:38:08 +00:00
package gomatrix
// Tag contains the data for an m.tag message type
2019-03-26 15:38:08 +00:00
type Tag struct {
Tags map[string]TagProperties `json:"tags"`
}
// TagProperties contains the properties of an MTag
type TagProperties struct {
Order float32 `json:"order,omitempty"` // Empty values must be neglected
}