Use variant type for the webhook events.
Merge pull request #73 from nataren/webhook_event_as_variant_type

Use variant type to represent webhook events.