diff --git a/pkg/interact/telegram.go b/pkg/interact/telegram.go index deba77053..c2a45a002 100644 --- a/pkg/interact/telegram.go +++ b/pkg/interact/telegram.go @@ -68,6 +68,7 @@ type TelegramReply struct { } func (r *TelegramReply) Send(message string) { + ctx := context.Background() splits := util.StringSplitByLength(message, maxMessageSize) for _, split := range splits { if err := sendLimiter.Wait(ctx); err != nil {