title: Dynamic inlineKeyboard buttons (nodejs, telegraf)
body: <p>I need to create a menu using inlineKeyboard from an array of &quot;n&quot; element that can change in value and number. I'm working with telegraf API and this is how i create a static one:</p>
  <pre><code>const bookMenu = Telegraf.Extra
    .markdown()
    .markup((m) =&gt; m.inlineKeyboard([[
       m.callbackButton('book1', 'book1-callback'), 
       m.callbackButton(&quot;book2&quot;, &quot;book2-callback&quot;)], 
      [m.callbackButton(&quot;book3&quot;, &quot;book3-callback&quot;)]
      //.....
      //for n buttons
      //.....
  ]))
  </code></pre>
  <p>How can i do that? I couldn't manage to do a for cycle inside markup</p>