class Caridina::Events::StrippedState
- Caridina::Events::StrippedState
- Caridina::Events::Event
- Reference
- Object
Overview
Represents a StrippedState event.
It is used in Member event and in Responses::Sync in invited rooms' 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:
caridina/events/state_events.crConstructors
-
.new(pull : JSON::PullParser)
Represents a StrippedState event.
Instance Method Summary
- #content : Event::Content
- #room_id : String | Nil
- #room_id=(room_id : String | Nil)
- #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
def self.new(pull : JSON::PullParser)
#
Represents a StrippedState event.
It is used in Member event and in Responses::Sync in invited rooms' 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.