itpp-labs / sync-addons

**Sync 🪬 Studio**
https://t.me/sync_studio
143 stars 136 forks source link

sync_telegram: handle error "bot was blocked by user" #330

Open yelizariev opened 3 years ago

yelizariev commented 3 years ago

ValueError: <class 'ValueError'>: "<class 'telegram.error.Unauthorized'>: "Forbidden: bot was blocked by the user"

yelizariev commented 3 years ago

Solution should post message in odoo channel informing that message is not delivered.

Also, the update should archive (hide) such channels

yelizariev commented 3 years ago

Estimation: min 1 hour exp 3 hours max 5 hours