fix(webhooks): fix chat user parted webhook creation error. Closes #3524
This commit is contained in:
parent
ebf64dd17d
commit
797e464767
@ -8,6 +8,8 @@ const (
|
|||||||
MessageSent EventType = "CHAT"
|
MessageSent EventType = "CHAT"
|
||||||
// UserJoined is the event sent when a chat user join action takes place.
|
// UserJoined is the event sent when a chat user join action takes place.
|
||||||
UserJoined EventType = "USER_JOINED"
|
UserJoined EventType = "USER_JOINED"
|
||||||
|
// UserParted is the event sent when a chat user parted action takes place.
|
||||||
|
UserParted EventType = "USER_PARTED"
|
||||||
// UserNameChanged is the event sent when a chat username change takes place.
|
// UserNameChanged is the event sent when a chat username change takes place.
|
||||||
UserNameChanged EventType = "NAME_CHANGE"
|
UserNameChanged EventType = "NAME_CHANGE"
|
||||||
// VisibiltyToggled is the event sent when a chat message's visibility changes.
|
// VisibiltyToggled is the event sent when a chat message's visibility changes.
|
||||||
|
@ -19,6 +19,7 @@ type Webhook struct {
|
|||||||
var validEvents = []EventType{
|
var validEvents = []EventType{
|
||||||
MessageSent,
|
MessageSent,
|
||||||
UserJoined,
|
UserJoined,
|
||||||
|
UserParted,
|
||||||
UserNameChanged,
|
UserNameChanged,
|
||||||
VisibiltyToggled,
|
VisibiltyToggled,
|
||||||
StreamStarted,
|
StreamStarted,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user