'Args:
room_id(str)
rtype(str): One of `"joined"` or `"archived"`
events(list): List of events to include in the room, (more events
may be added when generating result).
newly_joined(bool): If the user has newly joined the room
full_state(bool): Whether the full state should be sent in result
since_token(StreamToken): Earliest point to return events from, or None
upto_token(StreamToken): Latest point to return events from.'

def __init__(self, room_id, rtype, events, newly_joined, full_state, since_token, upto_token):

    self.room_id = room_id
    self.rtype = rtype
    self.events = events
    self.newly_joined = newly_joined
    self.full_state = full_state
    self.since_token = since_token
    self.upto_token = upto_token
