Message

  • ID of the groups that the message belongs to

  • The date and time (UTC) that the message was created.

  • The date and time (UTC) that the message content was last edited, or null if it has never been edited.

  • How many times the message was edited

  • ID of the message

  • ID of the parent message. This value is expected only when the message is in a thread, in response to another message.

  • The text of the message

  • The date and time (UTC) that the message was last updated.

  • ID of the user that created the message. Null for system-generated messages.

  • This property is deprecated and will be removed soon. Please use attachments instead.

    If the message has more than one attachment, this property will be the first attachment. Never included in webhook event payloads.

    Properties: 8
  • Properties: 8
  • The chat or thread the message was posted in, so consumers can tell a thread from a regular chat (and find the parent chat) without an extra API round-trip. Only present in webhook event payloads.

    Properties: 18
  • Stable identifier grouping this message into a conversation, for integrations that track context across related messages (for example, chatbot sessions). Resolves to the source message ID of the thread the message was posted in, else the ID of the message it replies to, else the message's own ID. Only present in webhook event payloads.

  • Whether the message mentions everyone in the chat.

  • The detected language of the message text (locale), or null/unknown if it could not be determined.

  • Accuracy (in meters) of the shared location, if any.

  • Latitude of a location shared with the message, if any.

  • Longitude of a location shared with the message, if any.

  • The meeting associated with this message, or null.

    Properties: 16
  • ID of the meeting associated with this message, if any.

  • Users mentioned in the message.

    Properties: 22
  • The poll associated with this message, or null.

    Properties: 14
  • ID of the poll associated with this message, if any.

  • A summary of the reactions on the message, grouped by emoji.

    Properties: 5
  • The unfurled link resource associated with this message, or null.

    Properties: 9
  • ID of the unfurled link resource associated with this message, if any.

  • For system-generated messages, the type of system event. Null for normal user messages.

  • Structured parts used to render a system message. Null for normal user messages.

  • The task associated with this message, or null.

    Properties: 14
  • ID of the task associated with this message, if any.

  • The thread referenced by this message, or null.

    Properties: 18
  • ID of the thread referenced by this message, if any.

  • The user who sent the message. Null for system-generated messages.

    Properties: 22
Examples
{
  "id": 7846871,
  "user_id": 12345,
  "group_id": 54321,
  "message": "Hello, world!",
  "created_at": "2021-07-22T18:05:53Z",
  "updated_at": "2021-07-22T18:05:53Z"
}