Add ability to mark a message as ephemeral and set it with title changes
This commit is contained in:
@@ -24,6 +24,7 @@ type ChatEvent struct {
|
||||
MessageType EventType `json:"type"`
|
||||
Visible bool `json:"visible"`
|
||||
Timestamp time.Time `json:"timestamp,omitempty"`
|
||||
Ephemeral bool `json:"ephemeral,omitempty"`
|
||||
}
|
||||
|
||||
// Valid checks to ensure the message is valid.
|
||||
|
||||
Reference in New Issue
Block a user