class Caridina::Events::Member
- Caridina::Events::Member
- Caridina::Events::StateEvent
- Caridina::Events::RoomEvent
- Caridina::Events::Event
- Reference
- Object
Overview
Represents a m.room.member event.
Defined in:
Constructors
- 
        .new(pull : JSON::PullParser)
        
          Represents a m.room.member 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).