mirror of https://github.com/matrix-org/gomatrix
12 lines
291 B
Go
12 lines
291 B
Go
package gomatrix
|
|
|
|
// Tag contains the data for an m.tag message type
|
|
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
|
|
}
|