Why it matters
Moderation calls can lock users out; require confirmation and audit trails.
Practical steps
- Check bot admin rights before calling
- Confirm destructive actions with buttons
- Log admin id, target id and reason code
- Prefer timed restrictions when possible
- Surface 403 insufficient-rights clearly
Watch out for
- Copy-pasting outdated snippets for telegram ban restrict without re-reading current official docs.
- Shipping telegram ban restrict to production without a staging rehearsal and a documented rollback.