How to set certificate on webhooks?
fgsoftware1 opened this issue · 1 comments
fgsoftware1 commented
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)
fardeadok commented
use FilePath("path to cert.pem")