MTUQWI5MTJKHPM5DUV5ZWOGPZLTTCG5VO6G4LUTN7SU4MOYDMT6AC
W2UG5LCJVKYGQU2ZBRIVWYY3YA4EIWKJLAJDLVAJAN5C6TRQMESAC
W2M2UMQWCG5K3MYSCAJJADB7FGYAM4ODV6BEBAEBPM7J3ZJCHCBAC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
HA7HWWCWLZNJVHU7BI4IL5HTT26V44HJKDRZHXMT5AN6B7NH7N6AC
self.room_say(rooms[0], "sup")
pub fn (mut self MatrixActor) room_say(room_id string, msg string) ?string { id := "z1" mut evt := map[string]json2.Any{} evt['msgtype'] = "m.text" evt['body'] = msg println(evt.str()) self.call(http.Method.put, 'rooms/$room_id/send/m.room.message/$id', evt.str()) return ''}
pub fn (mut self MatrixActor) room_say(room_id string, msg string) ?string {
id := "z1"
mut evt := map[string]json2.Any{}
evt['msgtype'] = "m.text"
evt['body'] = msg
println(evt.str())
self.call(http.Method.put, 'rooms/$room_id/send/m.room.message/$id', evt.str())
return ''
}