X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/c781f79f3c8cb9a7577ee1574d196988da2719b3..496569ab5b179932c60b2924bf4c61176c8be004:/telegram.go?ds=inline diff --git a/telegram.go b/telegram.go index 59ea9b4..4f19c62 100644 --- a/telegram.go +++ b/telegram.go @@ -74,10 +74,10 @@ type TelegramConfig struct { // itself, and as message entities only when Telegram refuses a rich message. // The rest is plain text. Tool calls do not go to the chat. // -// The offset file holds the ID of the next update. It moves past an update -// only after the message of the update is durable in the log, so a restart -// does not lose a message. A crash between the flush and the offset write -// makes Telegram send the update again, and the message repeats once. +// The offset file holds the ID of the next update. It moves past an update only +// after the message of the update is durable in the log, so a restart does not +// lose a message. A crash between the flush and the offset write makes Telegram +// send the update again, and the message repeats once. // // A failed Bot API call waits and tries again, from telegramRetryDelay up to // telegramRetryLimit, or as long as the Bot API asks. It never stops the agent.