Messaggio Preview Url¶
Formato del Messaggio¶
Key |
Value |
Description |
|---|---|---|
body:type |
chat_preview_url |
Tipo di messaggio |
body:arguments |
json object |
Contenuto del messaggio |
arguments:title |
String |
Titolo della preview |
arguments:description |
String |
Descrizione della preview |
arguments:imageUrl |
String |
Url immagine della preview |
arguments:imageFilename |
String |
Nome dell’immagine |
arguments:site |
String |
Link al sito |
arguments:textMessage |
String |
Testo del messaggio |
Esempio¶
<message to="bob@wfp" id="51c9b72c-f2f1-4e8d-927b-33401065cf0f-211610484933107" type="chat">
<thread>9e036646-48a9-477d-a165-6feaea487c76</thread>
<body>{
"arguments": {
"title": "Google",
"description": "Google description",
"imageUrl": "http://…./image.jpg",
"imageFilename": "google",
"site": "http://www.google.com",
"textMessage": "Google text message"
},
"chat_type": "chat",
"creation_date": "2024-10-14T17:54:40.8070000Z",
"domain": "chat",
"identifier": "0b6685ba-7118-4a1d-84ba-138f328ec54e-211610540337024",
"language": "eng",
"type": "chat_preview_url",
"version": "1.0"
}</body>
</message>