]> git.giacomolli.uk - onechat/blobdiff - telegram_api.go
Link WhatsApp with a pairing code
[onechat] / telegram_api.go
index 558d006cd1a1b04905afbe0fd94b6d89e71a1e5e..bb4ee2c07bc425eab5805176595def55c22c80c6 100644 (file)
@@ -74,9 +74,9 @@ func telegramRejected(err error) bool {
 }
 
 // TelegramAPI calls the Telegram Bot API. The bot token is a part of each URL,
 }
 
 // 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
 type TelegramAPI struct {
        base        string
        token       string