Interfacing with the Matrix API via HTTPS
Interfacing with the Matrix API via HTTPS
(initial-sync token base-url timeout_ms)
(join-room! token base-url rheum-id)
Given a token, base url, and room id, attempts to join it.
Given a token, base url, and room id, attempts to join it.
(login {:keys [base-url username password device-id]})
(logout! {:keys [url token]})
(send-message! token base-url rheum-id msg)
Takes a token, matrix server base url, a room id, and the text of the message. Sends it to that room. Returns whatever matrix replies.
Takes a token, matrix server base url, a room id, and the text of the message. Sends it to that room. Returns whatever matrix replies.
(sync-stream token base-url timeout_ms since)
Takes token, matrix base url, a timeout in milliseconds, and a since (next_batch) stamp in matrix format. Returns a stream of events from matrix
Takes token, matrix base url, a timeout in milliseconds, and a since (next_batch) stamp in matrix format. Returns a stream of events from matrix
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close