@ChanMbot 3.2

In version 3.2 we’ll add notification channel

Ok first thing to do is create that channel.

If you want to join this channel (idk why) click HERE

Then i need to get it of this chat.

id: -1001184078897

Message should look like this:

${ chatname }: ${ messagetype }, ${ msgtext }, ${ id }

Code:

bot.on([‘*’], (msg, self) => {
let id = ‘-1001184078897’;
let msgid = msg.message_id;
let messagetype = self.type;
let msgtext = msg.text;
let idd = msg.from.id;
let iddd = msg.chat.id;
let parseMode = ‘html’;
let chatname = msg.chat.
first_name;
return bot.sendMessage(id, `${ chatname }: ${ messagetype }, ${ msgtext }, ${ idd }`, {parseMode});
});

Some Bugs are detected :/ ‘ll be fixed in next update

Leave a Reply

Your email address will not be published. Required fields are marked *