WebhookEventType
public enum WebhookEventType : String, Codable
The Pusher Channels Webhook event types.
-
A
Channel
has become occupied. (i.e. there is at least one subscriber).Declaration
Swift
case channelOccupied = "channel_occupied"
-
A
Channel
has become vacated. (i.e. there are no subscribers).Declaration
Swift
case channelVacated = "channel_vacated"
-
A
User
has subscribed to a presence channel.Declaration
Swift
case memberAdded = "member_added"
-
A
User
has 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"