Liking cljdoc? Tell your friends :D

matrix-clj.matrix.net

Interfacing with the Matrix API via HTTPS

Interfacing with the Matrix API via HTTPS
raw docstring

initial-syncclj

(initial-sync token base-url timeout_ms)

join-room!clj

(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.
raw docstring

loginclj

(login {:keys [base-url username password device-id]})

logout!clj

(logout! {:keys [url token]})

send-message!clj

(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.
raw docstring

sync-streamclj

(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
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close