class Caridina::Events::RedactedMember

Overview

Represents a m.room.member event.

Matrix API

Defined in:

Constructors

Instance Method Summary

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

def self.new(pull : JSON::PullParser) #

Represents a m.room.member event.

Matrix API


Instance Method Detail

def content : Content #

def event_id : String #

def membership : Member::Membership #

def origin_server_ts : UInt64 #

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).


def sender : String #

def type : String #