class Caridina::Events::JoinRules
- Caridina::Events::JoinRules
- Caridina::Events::StateEvent
- Caridina::Events::RoomEvent
- Caridina::Events::Event
- Reference
- Object
Overview
Represents a m.room.join_rules event.
Defined in:
Constructors
-
.new(pull : JSON::PullParser)
Represents a m.room.join_rules event.
Instance Method Summary
- #content : Content
- #event_id : String
- #origin_server_ts : UInt64
-
#room_id : String | Nil
Can be null if we are in a context where the room's id is known (e.g.
-
#room_id=(room_id : String | Nil)
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 | Nil
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 | Nil
#
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 | Nil)
#
Can be null if we are in a context where the room's id is known (e.g. in a sync event).