kind of messages event
Messages Object
メッセージが送信されたことを示すEvent Objectです。
Sample kind: text
{
"id":10305,
"room_id":3157,
"content":"テストメッセージその1",
"user_id":1421,
"created_at":"2017-09-20T18:48:21.797+09:00",
"updated_at":"2017-09-20T18:48:21.797+09:00",
"kind":"text",
"settings":{},
"status":"posted",
"posted_at":"2017-09-20T18:48:21.789+09:00",
"drive_id":null,
"info":{},
"stamp_id":null,
"deleted_at":null,
"tags":[]
}
Sample kind: image
{
"id":10293,
"room_id":2424,
"content":null,
"user_id":1242,
"created_at":"2017-09-19T20:21:30.851+09:00",
"updated_at":"2017-09-19T20:21:30.851+09:00",
"kind":"image",
"settings":{
"src_url":"https://hogehoge.cloudfront.net/attachments/hogehoge/store/hogehoge/hogehoge.jpg",
"alt":"hogehoge.jpg",
"type":"image/jpeg"
},
"status":"posted",
"posted_at":"2017-09-19T20:21:29.040+09:00",
"drive_id":"2060",
"info":{},
"stamp_id":null,
"deleted_at":null,
"tags":[]
}
最終更新