title: what's wrong with my Telegram query?
body: <pre><code>public function createCityDialog() {
  
    $selectCity = "select name from telegramCity limit 6 offset 0";
    $result = mysqli_query($this-&gt;connection, $selectCity);
  
    while ($row = mysqli_fetch_assoc($result)) {
      /* 
      $this-&gt;buttons[] = [
        'text' =&gt; $row["name"]
      ];*/
  
      $this-&gt;buttons["text"] = $row["name"];
    }
  
    $this-&gt;telegramAPI-&gt;sendMessage($this-&gt;buttons, $this-&gt;chatID);
    $this-&gt;telegramAPI-&gt;api("sendMessage", [
      'chat_id' =&gt; $this-&gt;chatID,
      'text' =&gt; 'Виберіть місто',
      'reply_markup' =&gt; [
        'inline_keyboard' =&gt; [
          $this-&gt;buttons
        ]
      ]
    ]);
  }
  </code></pre>
  
  <p>It returns an empty array. I think, it`s main reason why I send Message without inline buttons.</p>