bottextmessage :

outputs

{
  type: 'text',
  sender: 'bot',
  user: userId,
  payload: {
    value: 'Hello user.',
  },
}

quickrepliesmessage :

outputting

{
  type: 'text',
  sender: 'bot',
  user: userId,
  payload: {
    value: ['1', '2', '3', '4', '5'],
    options: {
      text: 'Please give me a note.'
    }
  },
}

actionmessage :

outputs

{
  type: 'actions',
  sender: 'bot',
  user: userId,
  payload: {
    value: [
      {
        type: 'link',
        text: 'Botfuel',
        value: 'https://www.botfuel.io',
      },
      {
        type: 'postback',
        text: 'Hello',
        value: {
          dialog: 'greetings',
          entities: [],
        },
      },
    ],
  },
}

cardmessage :

outputs

{
  type: 'cards',
  sender: 'bot',
  user: userId,
  payload: {
    value: [
      {
        title: 'Top hat',
        image_url: <top_hat_image_url>,
        buttons: [
          {
            type: 'link',
            text: 'Details',
            value: <top_hat_url>,
          },
          {
            type: 'postback',
            text: 'Buy',
            value: {
              dialog: 'product',
              entities: ['top hat'],
            },
          },
        ],
      },
      {
        title: 'Cowboy hat',
        image_url: <cowboy_hat_image_url>,
        buttons: [
          {
            type: 'link',
            text: 'Details',
            value: <cowboy_hat_url>,
          },
          {
            type: 'postback',
            text: 'Buy',
            value: {
              dialog: 'product',
              entities: ['cowboy hat'],
            },
          },
        ],
      },
      {
        title: 'Detective hat',
        image_url: <detective_hat_image_url>,
        buttons: [
          {
            type: 'link',
            text: 'Details',
            value: <detective_hat_url>,
          },
          {
            type: 'postback',
            text: 'Buy',
            value: {
              dialog: 'product',
              entities: ['detective hat'],
            },
          },
        ],
      },
    ],
  },
}

imageMessage

outputs

{
  type: 'image',
  sender: 'bot',
  user: userId,
  payload: {
    value: '<image_url>',
  },
}

usertextMessages

outputs

{
  type: 'text',
  sender: 'user',
  user: userId,
  payload: {
    value: 'Hello bot!',
  },
}

userImageMessage

outputs

{
  type: 'image',
  sender: 'user',
  user: userId,
  payload: {
    value: '<image_url>',
  },
}

postbackmessage :

outputs

{
  type: 'postback',
  sender: 'user',
  user: userId,
  payload: {
    value: { dialog, entities },
  },
}

bottablemessage :

outputs

{ type: 'table',
  sender: 'bot',
  user: userId,
  payload: {
    value: {
      schema: [Array],
      rows: [Array]
    },
  },
}