telegram-bot-api
telegram-bot-api copied to clipboard
How to set certificate on webhooks?
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")