class Caridina::Events::StrippedState
- Caridina::Events::StrippedState
- Caridina::Events::Event
- Reference
- Object
Overview
This event represents a StrippedState event.
It is used in Member
event and in Responses::Sync
in invited rooms's state.
It is actually a state event, but it does not inherit from StateEvent
as
some fields are not presents.
This type is used to represents many distinct stripped state events.
To distinguish them you must check the #content
's type.
Included Modules
- JSON::Serializable::Unmapped
Defined in:
events/state_events.crConstructors
-
.new(pull : JSON::PullParser)
This event represents a StrippedState event.
Instance Method Summary
- #content : Event::Content
-
#room_id : String | Nil
"room_id" is not set in events returned from the sync API, so we need to set it up ourself.
-
#room_id=(room_id : String | Nil)
"room_id" is not set in events returned from the sync API, so we need to set it up ourself.
- #sender : String
- #state_key : String
Instance methods inherited from class Caridina::Events::Event
type : String
type
Constructor methods inherited from class Caridina::Events::Event
new(pull : JSON::PullParser)
new
Constructor Detail
This event represents a StrippedState event.
It is used in Member
event and in Responses::Sync
in invited rooms's state.
It is actually a state event, but it does not inherit from StateEvent
as
some fields are not presents.
This type is used to represents many distinct stripped state events.
To distinguish them you must check the #content
's type.
Instance Method Detail
"room_id" is not set in events returned from the sync API, so we need to set it up ourself.
"room_id" is not set in events returned from the sync API, so we need to set it up ourself.