@skywatch It is chat_id
. I do not remember why I have named as Channel username
.
To get chat_id
in 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 withXXX:YYYYY
, note thebot
string before your token) - you can see your name and
chat_id
, use thatchat_id
in MyControllerChannel username
field.
2. By userinfobot
- On your telegream app, search
userinfobot
and sendhi
, you will receive your user details withchat_id