Facebook · Schema

Message

A message in a conversation.

Fortune 500AdvertisingContent PublishingMessagingSocial MediaSocial Networking

Properties

Name Type Description
id string Message ID.
message string Message text.
created_time string Message creation time.
from object
View JSON Schema on GitHub

JSON Schema

facebook-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Message",
  "title": "Message",
  "type": "object",
  "description": "A message in a conversation.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Message ID.",
      "example": "mid.1234567890"
    },
    "message": {
      "type": "string",
      "description": "Message text.",
      "example": "Hello!"
    },
    "created_time": {
      "type": "string",
      "format": "date-time",
      "description": "Message creation time."
    },
    "from": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    }
  }
}