Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set certificate on webhooks? #681

Open
fgsoftware1 opened this issue Sep 2, 2023 · 1 comment
Open

How to set certificate on webhooks? #681

fgsoftware1 opened this issue Sep 2, 2023 · 1 comment

Comments

@fgsoftware1
Copy link

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
Copy link

use FilePath("path to cert.pem")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants