From 37c9b8f7a0ef7fa82c6fd83f1fc7c1243d0a6280 Mon Sep 17 00:00:00 2001 From: Donnie Adams Date: Sun, 5 Jul 2015 01:41:17 -0700 Subject: [PATCH] Fix typo --- helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index 348ad52..b49a1f5 100644 --- a/helpers.go +++ b/helpers.go @@ -47,7 +47,7 @@ func NewFileUpload(chatID int, filename string, fileType FileType) FileConfig { // You may use this to reshare an existing photo without reuploading it. // // chatID is where to send it, fileID is the ID of the file already uploaded. -func NewPhotoShare(chatID int, fileID string, fileType FileType) FileConfig { +func NewFileShare(chatID int, fileID string, fileType FileType) FileConfig { return FileConfig{ ChatID: chatID, UseExistingPhoto: true,