From fd0188ce3d62a6e255475d2f8a08d2f419fd1ec7 Mon Sep 17 00:00:00 2001
From: Sam <dxb@keybase.io>
Date: Wed, 18 Sep 2019 00:13:30 -0400
Subject: [PATCH] Add doc strings to Upload, Download, and LoadFlip

---
 chat.go | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/chat.go b/chat.go
index b86f8c6..1cf1521 100644
--- a/chat.go
+++ b/chat.go
@@ -278,6 +278,8 @@ func (c *ChatAPI) Previous(count ...int) (*ChatAPI, error) {
 	return c, nil
 }
 
+// Upload attaches a file to a conversation
+// The filepath must be an absolute path
 func (c Chat) Upload(title string, filepath string) (ChatAPI, error) {
 	m := ChatAPI{
 		Params: &params{},
@@ -294,6 +296,7 @@ func (c Chat) Upload(title string, filepath string) (ChatAPI, error) {
 	return r, nil
 }
 
+// Download downloads a file from a conversation
 func (c Chat) Download(messageID int, filepath string) (ChatAPI, error) {
 	m := ChatAPI{
 		Params: &params{},
@@ -310,6 +313,8 @@ func (c Chat) Download(messageID int, filepath string) (ChatAPI, error) {
 	return r, nil
 }
 
+// LoadFlip returns the results of a flip
+// If the flip is still in progress, this can be expected to change if called again
 func (c Chat) LoadFlip(messageID int, conversationID string, flipConversationID string, gameID string) (ChatAPI, error) {
 	m := ChatAPI{
 		Params: &params{},