go-telegram-bot-api / telegram-bot-api

Golang bindings for the Telegram Bot API
https://go-telegram-bot-api.dev
MIT License
5.62k stars 868 forks source link

Internal Server Error [v5.5.1 and @master] #602

Closed askovpen closed 1 year ago

askovpen commented 1 year ago

since today, sending

tgbotapi.NewDocument(fid, tgbotapi.FileBytes{Name: fmt.Sprintf("%s-%s.xlsx", time.Now().Format("2006-01-02"), strconv.FormatInt(cc, 10)), Bytes: bytes})

return

send to xxx: &tgbotapi.Error{Code:0, Message:"Internal Server Error", ResponseParameters:tgbotapi.ResponseParameters{MigrateToChatID:0, RetryAfter:0}}

fid, cc, bytes not null.

askovpen commented 1 year ago

work now