fix broken const
Syfaro syfaro@foxpaw.in
Sat, 19 Sep 2015 13:41:55 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
types.go
→
types.go
@@ -183,7 +183,7 @@ // Link returns a full path to the download URL for a File.
// // It requires the Bot Token to create the link. func (f *File) Link(token string) string { - return fmt.Sprintf(FileEndpoint, token, f.FilePath) + return fmt.Sprintf("https://api.telegram.org/file/bot%s/%s", token, f.FilePath) } // ReplyKeyboardMarkup allows the Bot to set a custom keyboard.