From 8132e161ec6f66eeeadafcdb2fac3e0303a29af3 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Mon, 8 May 2017 11:23:22 +0100 Subject: [PATCH] Add links to docs. --- events.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/events.go b/events.go index 25a5f9c..abc5cd4 100644 --- a/events.go +++ b/events.go @@ -44,7 +44,7 @@ type TextMessage struct { Body string `json:"body"` } -// ImageInfo contains info about an image +// ImageInfo contains info about an image - http://matrix.org/docs/spec/client_server/r0.2.0.html#m-image type ImageInfo struct { Height uint `json:"h"` Width uint `json:"w"` @@ -52,7 +52,7 @@ type ImageInfo struct { Size uint `json:"size"` } -// VideoInfo contains info about a video +// VideoInfo contains info about a video - http://matrix.org/docs/spec/client_server/r0.2.0.html#m-video type VideoInfo struct { Mimetype string `json:"mimetype"` ThumbnailInfo ImageInfo `json:"thumbnail_info"` @@ -63,7 +63,7 @@ type VideoInfo struct { Size uint `json:"size"` } -// VideoMessage is an m.video event +// VideoMessage is an m.video - http://matrix.org/docs/spec/client_server/r0.2.0.html#m-video type VideoMessage struct { MsgType string `json:"msgtype"` Body string `json:"body"`