Message

Common properties

Field

Required

Type

Description

Restriction

quickReply

false

Object

Contains quickReply items array

Quick Reply - Items

Field

Required

Type

Description

Restriction

type

true

String

action

imageUrl

false

String

URL of the icon that is displayed at the beginning of the button

  • Max characters: 1000

action

false

Object

Action performed when the button is tapped (see Action Schema)

"quickReply": {
  "items": [
    {
      "type": "action",
      "action": {
         "type":"message",
         "label":"Yes",
         "text":"Yes"
      }
    }
  ]
}

Text Message

Field

Required

Type

Description

Restriction

type

true

String

message

text

true

String

Message text

Image Message

Field

Required

Type

Description

Restriction

type

true

String

image

originalContentUrl

true

String

Image URL

  • Max characters: 1000

previewImageUrl

true

String

Preview image URL

  • Max characters: 1000

Video Message

Field

Required

Type

Description

Restriction

type

true

String

video

originalContentUrl

true

String

URL of video file

  • Max characters: 1000

previewImageUrl

true

String

URL of preview image

  • Max characters: 1000

Audio Message

Field

Required

Type

Description

Restriction

type

true

String

audio

originalContentUrl

true

String

URL of audio file

  • Max characters: 1000

duration

true

Number

Length of audio file (milliseconds)

Imagemap Message

Field

Required

Type

Description

Restriction

type

true

String

imagemap

baseUrl

true

String

Base URL of the image

  • Max characters: 1000

baseSize.width

true

Number

Width of base image in pixels.

baseSize.height

true

Number

Height of base image in pixels.

actions

true

Array

Action when tapped (see Action Schema)

  • Max: 50

Template Message

Field

Required

Type

Description

Restriction

type

true

String

template

template

true

Object

See "Template" schema

Last updated