Poxa.PusherEvent.subscription_succeeded/1

Parsed documentation:
View on GitHub
Return a JSON for a succeeded subscription

    "{ "event" : "pusher_internal:subscription_succeeded",
       "channel" : "public-channel",
       "data" : {} }"

If it's a presence subscription the following JSON is generated

    "{ "event": "pusher_internal:subscription_succeeded",
      "channel": "presence-example-channel",
      "data": {
        "presence": {
        "ids": ["1234","98765"],
        "hash": {
          "1234": {
            "name":"John Locke",
            "twitter": "@jlocke"
          },
          "98765": {
            "name":"Nicola Tesla",
            "twitter": "@ntesla"
          }
        },
        "count": 2
        }
      }
    }"
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.