diff options
author | Wim <wim@42.be> | 2017-11-21 23:48:39 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2017-11-21 23:48:39 +0100 |
commit | 71cb9b2d1dd96b309134187cd38155c22f086060 (patch) | |
tree | 2cc3f7404e0f51e4aaab37d536acefcc4a805868 /vendor/github.com/matrix-org/gomatrix/requests.go | |
parent | cd4c9b194fe486bcea08c1b9166e1ac22508ab00 (diff) | |
download | matterbridge-msglm-71cb9b2d1dd96b309134187cd38155c22f086060.tar.gz matterbridge-msglm-71cb9b2d1dd96b309134187cd38155c22f086060.tar.bz2 matterbridge-msglm-71cb9b2d1dd96b309134187cd38155c22f086060.zip |
Update vendor github.com/matrix-org/gomatrix
Diffstat (limited to 'vendor/github.com/matrix-org/gomatrix/requests.go')
-rw-r--r-- | vendor/github.com/matrix-org/gomatrix/requests.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/matrix-org/gomatrix/requests.go b/vendor/github.com/matrix-org/gomatrix/requests.go index c1ba27b9..af99a226 100644 --- a/vendor/github.com/matrix-org/gomatrix/requests.go +++ b/vendor/github.com/matrix-org/gomatrix/requests.go @@ -70,3 +70,9 @@ type ReqBanUser struct { type ReqUnbanUser struct { UserID string `json:"user_id"` } + +// ReqTyping is the JSON request for https://matrix.org/docs/spec/client_server/r0.2.0.html#put-matrix-client-r0-rooms-roomid-typing-userid +type ReqTyping struct { + Typing bool `json:"typing"` + Timeout int64 `json:"timeout"` +} |