mirror of
				https://github.com/matrix-org/gomatrix
				synced 2025-11-04 06:18:05 +00:00 
			
		
		
		
	Add links to docs.
This commit is contained in:
		
							parent
							
								
									63c361cb61
								
							
						
					
					
						commit
						8132e161ec
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -44,7 +44,7 @@ type TextMessage struct {
 | 
				
			||||||
	Body    string `json:"body"`
 | 
						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 {
 | 
					type ImageInfo struct {
 | 
				
			||||||
	Height   uint   `json:"h"`
 | 
						Height   uint   `json:"h"`
 | 
				
			||||||
	Width    uint   `json:"w"`
 | 
						Width    uint   `json:"w"`
 | 
				
			||||||
| 
						 | 
					@ -52,7 +52,7 @@ type ImageInfo struct {
 | 
				
			||||||
	Size     uint   `json:"size"`
 | 
						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 {
 | 
					type VideoInfo struct {
 | 
				
			||||||
	Mimetype      string    `json:"mimetype"`
 | 
						Mimetype      string    `json:"mimetype"`
 | 
				
			||||||
	ThumbnailInfo ImageInfo `json:"thumbnail_info"`
 | 
						ThumbnailInfo ImageInfo `json:"thumbnail_info"`
 | 
				
			||||||
| 
						 | 
					@ -63,7 +63,7 @@ type VideoInfo struct {
 | 
				
			||||||
	Size          uint      `json:"size"`
 | 
						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 {
 | 
					type VideoMessage struct {
 | 
				
			||||||
	MsgType string    `json:"msgtype"`
 | 
						MsgType string    `json:"msgtype"`
 | 
				
			||||||
	Body    string    `json:"body"`
 | 
						Body    string    `json:"body"`
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue