class Caridina::Events::Create
- Caridina::Events::Create
- Caridina::Events::StateEvent
- Caridina::Events::RoomEvent
- Caridina::Events::Event
- Reference
- Object
Overview
Represents a m.room.create event.
Defined in:
Constructors
-
.new(pull : JSON::PullParser)
Represents a m.room.create event.
Instance Method Summary
- #content : Content
- #event_id : String
- #origin_server_ts : UInt64
-
#room_id : String?
Can be null if we are in a context where the room's id is known (e.g.
-
#room_id=(room_id : String?)
Can be null if we are in a context where the room's id is known (e.g.
- #sender : String
- #state_key : String
- #type : String
- #unsigned : UnsignedData?
Constructor methods inherited from class Caridina::Events::StateEvent
new(pull : JSON::PullParser)
new
Constructor methods inherited from class Caridina::Events::RoomEvent
new(pull : JSON::PullParser)
new
Constructor methods inherited from class Caridina::Events::Event
new(pull : JSON::PullParser)
new
Constructor Detail
Instance Method Detail
def room_id : String?
#
Can be null if we are in a context where the room's id is known (e.g. in a sync event).
def room_id=(room_id : String?)
#
Can be null if we are in a context where the room's id is known (e.g. in a sync event).