bellingcat / telegram-phone-number-checker

Check if phone numbers are connected to Telegram accounts.
https://pypi.org/project/telegram-phone-number-checker/
MIT License
1.02k stars 172 forks source link

Match accounts by id instead of username #15

Closed GalenReich closed 4 months ago

GalenReich commented 4 months ago

Closes #14

Previously the tool matched only Telegram accounts that had an optional username set.

This change allows matching on any account that returns a valid id.

It also adds a new error message in the unforeseen case that a number matches multiple users.