From 07aa2528de5d1668a787590af04393144b01e439 Mon Sep 17 00:00:00 2001 From: rezailprtama01-oss Date: Sun, 8 Nov 2026 04:12:18 +0700 Subject: [PATCH] Update stream.go --- internal/commands/stream.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/internal/commands/stream.go b/internal/commands/stream.go index 0498f257..4eecea09 100644 --- a/internal/commands/stream.go +++ b/internal/commands/stream.go @@ -99,13 +99,7 @@ func sendLink(ctx *ext.Context, u *ext.Update) error { hash := utils.GetShortHash(fullHash) link := fmt.Sprintf("%s/stream/%d?hash=%s", config.ValueOf.Host, messageID, hash) text := styling.Code(link) - row := tg.KeyboardButtonRow{ - Buttons: []tg.KeyboardButtonClass{ - &tg.KeyboardButtonURL{ - Text: "Download", - URL: link + "&d=true", - }, - }, + } if strings.Contains(file.MimeType, "video") || strings.Contains(file.MimeType, "audio") || strings.Contains(file.MimeType, "pdf") { row.Buttons = append(row.Buttons, &tg.KeyboardButtonURL{