Why am I getting an error 'no\_text' ?

The Json below is valid and is taken from the slack documentation example.

In `bot.postMessage(channel, '', params)` if I populate the second parameter (i.e. replacing ' ' with 'some\_text) it prints 'some\_text' but without the attachment.

`bot.postMessage(channel, 'some_text', params)` --> works but the attachment doesn't show up.

```
    const element = {
      "text": "Would you like to play a game?",
      "response_type": "in_channel",
      "attachments": [
          {
              "text": "Choose a game to play",
              "fallback": "If you could read this message, you'd be choosing something fun to do right now.",
              "color": "#3AA3E3",
              "attachment_type": "default",
              "callback_id": "game_selection",
              "actions": [
                  {
                      "name": "games_list",
                      "text": "Pick a game...",
                      "type": "select",
                      "options": [
                          {
                              "text": "Hearts",
                              "value": "hearts"
                          },
                          {
                              "text": "Global Thermonuclear War",
                              "value": "war"
                          }
                      ]
                  }
              ]
          }
      ]
  }

    console.log('JSON.stringify(element): '+JSON.stringify(element));
    params = {
      icon_emoji: ':r2:',
      attachments: JSON.stringify(element)
    }
    bot.postMessage(channel, '', params).always(function (data) {...}

```