Hi!
I’m reviewing the template and noticed that pm_active is updated exclusively via
my_chat_member handlers, while at startup the bot calls
delete_webhook(drop_pending_updates=True).
As far as I understand, this can permanently drop my_chat_member updates that were
sent while the bot was offline, which may leave pm_active in a stale state.
Is this an intentional trade-off in the template design, or is pm_active not meant
to be treated as a reliable signal for direct messaging logic?
I just want to make sure I’m using the template as intended.