X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/09cde69fdffe2721434392036f98dc241177f5a1..6b21fcf78372995c6d8130c63f2f8aa2609bf7fe:/telegram_api.go?ds=sidebyside diff --git a/telegram_api.go b/telegram_api.go index 558d006..bb4ee2c 100644 --- a/telegram_api.go +++ b/telegram_api.go @@ -74,9 +74,9 @@ func telegramRejected(err error) bool { } // TelegramAPI calls the Telegram Bot API. The bot token is a part of each URL, -// so no error of TelegramAPI holds a URL, a net/http error, or the token. -// SendTimeout limits each sendMessage, sendRichMessage, and sendChatAction -// call. +// so no error of TelegramAPI holds a URL, a net/http error, or the token. Its +// sendTimeout field limits each sendMessage, sendRichMessage, and +// sendChatAction call. type TelegramAPI struct { base string token string