Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To return a document as a response, we use Dialogflow “Image” response (eg. from Facebook or Telegram channel), with the url that returns the document and configured with the following parameters:

Property

Required

Description

messageType

Status
colourRed
titleYES

Indicates the type of response: in this case must be “document”

fileName

Status
colourRed
titleYES

File name including extension

Being able to return multiple messages, even of different types, for the same intent, the parameters must end with a number corresponding to the position of the response in the sequence of configured responses.

Example

Response configured with a text message, a document, a text message and another document in this exact order.

...

Menu message