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.
12 lines
347 B
12 lines
347 B
package models |
|
|
|
import "time" |
|
|
|
// ChatActionEvent represents a generic action that took place by a chat user. |
|
type ChatActionEvent struct { |
|
Username string `json:"username"` |
|
Type EventType `json:"type"` |
|
ID string `json:"id"` |
|
Timestamp time.Time `json:"timestamp,omitempty"` |
|
Message string `json:"message,omitempty"` |
|
}
|
|
|