MatrixClient

Undocumented in source.

Constructors

this
this(string homeserver)
Undocumented in source.

Members

Functions

buildUrl
string buildUrl(string endpoint, string[string] params, string apiVersion, string section)
Undocumented in source. Be warned that the author may not have intended to support it.
get
JSONValue get(string url)
Undocumented in source. Be warned that the author may not have intended to support it.
getJoinedRooms
string[] getJoinedRooms()
Undocumented in source. Be warned that the author may not have intended to support it.
getTextMessageType
string getTextMessageType()
Undocumented in source. Be warned that the author may not have intended to support it.
joinRoom
void joinRoom(string roomId, JSONValue thirdPartySigned)
Undocumented in source. Be warned that the author may not have intended to support it.
login
void login(string user, string password)
Undocumented in source. Be warned that the author may not have intended to support it.
makeHttpRequest
JSONValue makeHttpRequest(string url, JSONValue data, HTTP http)
Undocumented in source. Be warned that the author may not have intended to support it.
makeParamString
string makeParamString(string[string] params, char concat)
Undocumented in source. Be warned that the author may not have intended to support it.
markRead
void markRead(string roomId, string eventId)
Undocumented in source. Be warned that the author may not have intended to support it.
post
JSONValue post(string url, JSONValue data)
Undocumented in source. Be warned that the author may not have intended to support it.
put
JSONValue put(string url, JSONValue data)
Undocumented in source. Be warned that the author may not have intended to support it.
resolveRoomAlias
string resolveRoomAlias(string roomalias)
Undocumented in source. Be warned that the author may not have intended to support it.
sendFile
void sendFile(string roomId, string filename, string mxc, string msgtype)
Undocumented in source. Be warned that the author may not have intended to support it.
sendHTML
void sendHTML(string roomId, string html, string fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
sendImage
void sendImage(string roomId, string filename, string mxc)
Undocumented in source. Be warned that the author may not have intended to support it.
sendString
void sendString(string roomId, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
sync
void sync()
Undocumented in source. Be warned that the author may not have intended to support it.
translateRoomId
string translateRoomId(string roomId)
Undocumented in source. Be warned that the author may not have intended to support it.
uploadFile
string uploadFile(void[] data, string filename, string mimetype)
accessToken
string accessToken;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

homeserver
string homeserver;
Undocumented in source.
inviteDelegate
void delegate(string, string) inviteDelegate;
Undocumented in source.
messageDelegate
void delegate(MatrixMessage) messageDelegate;
Undocumented in source.
nextBatch
string nextBatch;
Undocumented in source.
transactionId
uint transactionId;
Undocumented in source.
useNotice
bool useNotice;
user_id
string user_id;
Undocumented in source.

Meta