Read the statement by Michael Teeuw here.
MMM-Telegram
-
@Bugsounet
Hello,I’m having trouble this module to work,
Instruction says
Command /newbot, give a name to the bot created, give an username. username should end with bot. (e.g. MyMagicMirrorBot or mystupidslave-bot… )
so i use example johnsmith for name and johnsmithmmbot for username.
{ disabled: false, module: 'MMM-TelegramBot', position: 'top_center', config: { verbose: true, telegramAPIKey : 'mykey', allowedUser : ['johnsmith'], // This is NOT the username of bot. } },but i get error :
[2020-11-02 13:21:06.815] [LOG] [TELBOT] ERROR {
ok: false,
error_code: 400,
description: ‘Bad Request: chat_id is empty’I am not sure allowedUser is correct ?
When i goto my Telegram bot, and type /mychatid, i get “You are not allowed to command me, ask admin”
Thankyou
-
@James-Farmer said in MMM-Telegram:
allowedUser : [‘johnsmith’], // This is NOT the username of bot.
Hi, i think you have make a mismake in your username.
i thinkjohnsmithis your pseudonym
allowedUser is the real Telegram Username (your username start with an@)you can see your user name in your profil of Telegram application
example: if you username is@johnsmith14586soallowedUser: ['johnsmith14586'], -
Hi, thanksyou for coming back to me, Sorry i couldn’t find Telegram username.
So i look here

I cant see any other username with @ only username of bot ?
sorry if im being stupid.
Thanks
-
3 lines to the left of search > parameters > edit profils
and you will see your username with
@ -
@Bugsounet I found it…!! and it is all now working
Thankyou for the help.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login