sipeed/picoclaw · error · ErrTemporary
telegram send media: %w
Error message
telegram send media: %w
What it means
Error "telegram send media: %w" thrown in sipeed/picoclaw.
Source
Thrown at pkg/channels/telegram/telegram.go:765
ChatID: tu.ID(chatID),
MessageThreadID: threadID,
Document: telego.InputFile{File: file},
Caption: part.Caption,
}
tgResult, err = c.bot.SendDocument(ctx, params)
}
if tgResult != nil {
messageIDs = append(messageIDs, strconv.Itoa(tgResult.MessageID))
}
file.Close()
if err != nil {
logger.ErrorCF("telegram", "Failed to send media", map[string]any{
"type": part.Type,
"error": err.Error(),
})
return nil, fmt.Errorf("telegram send media: %w", channels.ErrTemporary)
}
}
if hasTrackedMsg {
c.dismissTrackedToolFeedbackMessage(ctx, trackedChatID, trackedMsgID)
}
return messageIDs, nil
}
func telegramCanSendMediaGroup(parts []bus.MediaPart) bool {
if len(parts) < 2 {
return false
}
for _, part := range parts {
if part.Type != "image" {
return false
}View on GitHub (pinned to 49183d7e8d)
When it happens
Trigger: Thrown at pkg/channels/telegram/telegram.go:765 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of sipeed/picoclaw@49183d7e8d (2026-08-15).
Data as JSON: /api/errors/8757ff1ee8973906.
Report an issue: GitHub.