Update src/MatrixClient.nim

This commit is contained in:
array-in-a-matrix 2023-12-08 21:22:48 -05:00
parent 9f80848179
commit 0762c1688c

View file

@ -35,4 +35,5 @@ proc onRoomMessage*(client: Client, callback: proc(roomId: cstring, event: Event
# TODO: add more for each event name
proc replyNotice*(client: Client, roomId: cstring, event: Event, text: cstring) {.importjs: "#.replyNotice(#, #, #)".} #? returns a promise
proc replyNotice*(client: Client, roomId: cstring, event: Event, text: cstring, html: cstring) {.importjs: "#.replyNotice(#, #, #, #)".} #? returns a promise
proc replyNotice*(client: Client, roomId: cstring, event: Event, text: cstring, html: cstring) {.importjs: "#.replyNotice(#, #, #, #)".} #? returns a promise
# TODO: add more reply js methods/nim procs