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

How to set certificate on webhooks?

fgsoftware1 opened this issue · 1 comments

cannot use "cert.pem" (constant of type string) as tgbotapi.RequestFileData value in argument to tgbotapi.NewWebhookWithCert: string does not implement tgbotapi.RequestFileData (missing method NeedsUpload)

use FilePath("path to cert.pem")