Message Types: Inbound

Text

{
    "type": "text",
    "text": "hi",
    "timestamp": 0
}

Image

{
    "type": "image",
    "text": "https://s3chatchannel-imagesbucket-qa.s3.us-west-2.amazonaws.com/1668587750577_a7b28eb4-b774-4fd0-9297-5ca258074c6d",
    "url": "https://s3chatchannel-imagesbucket-qa.s3.us-west-2.amazonaws.com/1668587750577_a7b28eb4-b774-4fd0-9297-5ca258074c6d",
    "timestamp": 0,
    "contentType": "image/jpeg",
    "fileName": "sample-clouds-400x300.jpg"
}

Audio

{
    "type": "audio",
    "text": "https://s3chatchannel-imagesbucket-qa.s3.us-west-2.amazonaws.com/1668588007441_240f4746-63b8-4316-acd0-67fa802dad05",
    "url": "https://s3chatchannel-imagesbucket-qa.s3.us-west-2.amazonaws.com/1668588007441_240f4746-63b8-4316-acd0-67fa802dad05",
    "timestamp": 0,
    "contentType": "audio/mpeg",
    "fileName": "sanitytest1bot_AgADzgUAAtzSCFU.mp3"
}

File

{
    "type": "file",
    "text": "https://s3chatchannel-imagesbucket-qa.s3.us-west-2.amazonaws.com/1668588151779_9cab2352-3ca2-46e9-8340-4a92cf71b595",
    "url": "https://s3chatchannel-imagesbucket-qa.s3.us-west-2.amazonaws.com/1668588151779_9cab2352-3ca2-46e9-8340-4a92cf71b595",
    "timestamp": 0,
    "contentType": "application/pdf",
    "fileName": "sample.pdf"
}

Video

{
    "type": "video",
    "text": "https://s3chatchannel-imagesbucket-qa.s3.us-west-2.amazonaws.com/1668587902537_ea995d59-1ccb-4dd2-a76e-04442746782a",
    "url": "https://s3chatchannel-imagesbucket-qa.s3.us-west-2.amazonaws.com/1668587902537_ea995d59-1ccb-4dd2-a76e-04442746782a",
    "timestamp": 0,
    "contentType": "video/mp4",
    "fileName": "prodsanitytest13bot_AgADcgUAArqtMVU.mp4"
}