C5QQ7N4E7BXGFGIFRXDSKVD47C4EXF7RSSE5KNV5RGY62A4DM32AC
return self.call(http.Method.post, 'rooms/$room_id/join', '')
return self.join_as('', room_id)
}
pub fn (mut self Actor) join_as(user_id string, room_id string) ?(map[string]json2.Any, int) {
user_part := if user_id.len > 0 { '?user_id=$user_id' } else { '' }
return self.call(http.Method.post, 'rooms/$room_id/join$user_part', '')