code

code

YouTwitFace

bot.on(['/htmlhelp'], (msg, self) => {

    let id = msg.chat.id;

    let replyToMessage = msg.message_id;

    let type = self.type;

    let parseMode = 'markdown';

    return bot.sendMessage(

        id, `/htmlhelp *Help Menu*

1. *Bold text*

code: <b>Bold text</b>

2. _Italic text_

code: <i>Italic text</i>

3. [inline URL](http://www.example.com/)

code: <a href="http://www.example.com">inline URL</a>

4. \`code text\`

code: <code>code text</code>



If you have your message type \`/html message text here\``, {replyToMessage, parseMode});

});

Report Page