Caridina::Events::Event
Inherits JSON::Serializable < Reference < Object
Base type representing an event.
All types returned by the Caridina::Connection::Sync method will be
of this type.
You can then match the returned event type against known types to be able
to use all the event's field.
If the event is unknown, it returns nil.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Source