AshciR / group-chat-digest

0 stars 0 forks source link

Add TLS #26

Closed AshciR closed 5 months ago

AshciR commented 6 months ago

Currently, we're sending data in clear text. This is not a secure practice. We need to add TLS and have switch from http to https

AshciR commented 5 months ago

Can't use TLS with run_polling() you need to use this method.

run_webhook is the webhook version of run_polling() convenience method.

Reference: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Webhooks

AshciR commented 5 months ago
AshciR commented 5 months ago

Confirmed that it uses TLS. The bot uses get_updates() to make HTTPS calls HTTP Request: POST https://api.telegram.org/bot/getUpdates