all repos — telegram-bot-api @ 1bbe8c7bd299305b818da90bd2fd6ce0be5f5c07

Golang bindings for the Telegram Bot API

fix broken const
Syfaro syfaro@foxpaw.in
Sat, 19 Sep 2015 13:41:55 -0500
commit

1bbe8c7bd299305b818da90bd2fd6ce0be5f5c07

parent

6b9324ca39aff0c94731af8df8f1f8fedb532260

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M types.gotypes.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.