abstract class Caridina::Events::Event

Overview

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.

Included Modules

Direct Known Subclasses

Defined in:

caridina/events/base.cr

Constructors

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]