chore: update telegram

Signed-off-by: mudler <mudler@localai.io>
This commit is contained in:
mudler
2025-04-16 08:54:17 +02:00
parent 42590a7371
commit 59ab91d7df
3 changed files with 4 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ func (t *Telegram) handleUpdate(ctx context.Context, b *bot.Bot, a *agent.Agent,
defer resp.Body.Close()
_, err = b.SendPhoto(ctx, &bot.SendPhotoParams{
ChatID: update.Message.Chat.ID,
Photo: models.InputFileUpload{
Photo: &models.InputFileUpload{
Filename: "image.jpg",
Data: resp.Body,
},