change telegram id?
How can I change or delete the telegram id please?
In edit mode it won't let me change it!
@skywatch you can edit only the
tokenfield. Other fields are auto-generated.
I do not see an option to delete the existing token. As a workaround, If you want to delete your token, simply enter some junk values and click on the Save button.
@jkandasa I thought I had to add the telegram token and the telegram ID in mycontroller, no?
Seems that the ID shown in mycontroller is not the same as the ID from telegram bot. Should they match?
I admit I never used telegram before and only doing this to get fast alert to my phone.
@skywatch Yes, you have to enter only the token. all other fields are autogenerated (communicate with telegram service and get the data).
I am seeing the user-id in the part of the token.
5508*****:AAH*****and showing the same id for me.
@jkandasa I set up a rule and operation.
Both triggered but no message on phone.
Any ideas what I may have done wrong?
Also is there a free way to get sms from mycontroller to phone?
Finally just to let you know I have been seeing a lot of 503 errors on the mycontroller site lately.
@skywatch Can you follow this post, you should get the telegram message
AFAIK, there is no free SMS service. Maybe with 2.x version, we can deploy a GSM gateway to send SMS.
@jkandasa I did follow that post as much as I could, but where do you get the all important 'channel username' from?
I think that's the bit I don't yet understand!
@skywatch It is
chat_id. I do not remember why I have named as
chat_idin two ways,
1. By API:
- Open your telegram bot (newly created bot), send hi to that bot
- on your browser,
https://api.telegram.org/botXXX:YYYYY/getUpdates(replace your token with
XXX:YYYYY, note the
botstring before your token)
- you can see your name and
chat_id, use that
2. By userinfobot
- On your telegream app, search
chat id, you will receive your user details with
@jkandasa Thank you sooooo much for that!
It was the crucial bit of info/understanding that I was missing.
It works fine now!
If this turns out to be the same in myc2.0, I'll write a tutorial for it.