WebhookEventType
public enum WebhookEventType : String, Codable
The Pusher Channels Webhook event types.
-
A
Channelhas become occupied. (i.e. there is at least one subscriber).Declaration
Swift
case channelOccupied = "channel_occupied" -
A
Channelhas become vacated. (i.e. there are no subscribers).Declaration
Swift
case channelVacated = "channel_vacated" -
A
Userhas subscribed to a presence channel.Declaration
Swift
case memberAdded = "member_added" -
A
Userhas unsubscribed from a presence channel.Declaration
Swift
case memberRemoved = "member_removed" -
A client event has been triggered on a private or presence channel.
Declaration
Swift
case clientEvent = "client_event"
View on GitHub
WebhookEventType Enumeration Reference