mirror of
https://github.com/owncast/owncast.git
synced 2024-11-23 13:24:33 +03:00
12 lines
287 B
Go
12 lines
287 B
Go
|
package models
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
// UserJoinedEvent represents an event when a user joins the chat.
|
||
|
type UserJoinedEvent struct {
|
||
|
Username string `json:"username"`
|
||
|
Type EventType `json:"type"`
|
||
|
ID string `json:"id"`
|
||
|
Timestamp time.Time `json:"timestamp,omitempty"`
|
||
|
}
|