Open DDvO opened 4 weeks ago
The error seems to be saying the api_id
is misconfigured
Thanks for the immediate response.
If the api_id
is misconfigured, the error message should be clear on that.
At first, I had tried getting that api_id
as documented from https://my.telegram.org/apps but that wonderful page just gives ERROR
.
Then I tried using https://t.me/BotFather as suggested elsewhere, and this way I got:
Use this token to access the HTTP API:
8073...:AAHd...
I inserted this in config.yaml
as follows:
telegram:
# Get your own API keys at https://my.telegram.org/apps
api_id: 8073...
api_hash: AAHd...
# (Optional) Create your own bot at https://t.me/BotFather
bot_token: disabled
Is this fine, or how to adapt?
BotFather is for creating bots, it can't be used to get api keys
So I tried again using https://my.telegram.org/apps
this time choosing the 'iOS' option (rather than 'Android' or 'Web' as I tried before).
This time, I got no ERROR but correct api_id
and api_hash
which worked fine!
So, problem solved for me - thank you 👍
Still,
api_id
and api_hash
from Telegram should be improved (see PR), and
Trying to login to my Telegram account via my newly installed bridge, I got on the client side just a pretty generic message:
Unhandled exception while requesting code. Check console for more details.
The telegrambot console contained
User is already connected!
This sounds like my Matrix user address is not accepted because I had connected it before to some other telegram bridge bot?Does Telegram not like users being connected to more than one bridge? If so, I am stuck because the bridge that I had been using is defunct and I cannot even logout there.
Exception details from the console: