Message
- chatType: integer
_id requiredID of the groups that the message belongs to
- createdType: stringFormat: date-time
_at requiredThe date and time (UTC) that the message was created.
- editedType: string | null
_at requiredThe date and time (UTC) that the message content was last edited, or null if it has never been edited.
- editedType: integer
_version requiredHow many times the message was edited
- idType: integerrequired
ID of the message
- parentType: integer | null
_id requiredID of the parent message. This value is expected only when the message is in a thread, in response to another message.
- textType: stringrequired
The text of the message
- updatedType: stringFormat: date-time
_at requiredThe date and time (UTC) that the message was last updated.
- userType: integer | null
_id requiredID of the user that created the message. Null for system-generated messages.
- attachmentType:Properties: 8
This property is deprecated and will be removed soon. Please use
attachmentsinstead.If the message has more than one attachment, this property will be the first attachment. Never included in webhook event payloads.
- Properties: 8attachmentsType:
- chatType:Properties: 18
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.
- conversationType: integer
_id 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.
- everyoneType: boolean
_mentioned Whether the message mentions everyone in the chat.
- languageType: string | null
The detected language of the message text (locale), or null/unknown if it could not be determined.
- locationType: number | null
_accuracy Accuracy (in meters) of the shared location, if any.
- locationType: number | null
_lat Latitude of a location shared with the message, if any.
- locationType: number | null
_long Longitude of a location shared with the message, if any.
- meetingType: nullableProperties: 16
The meeting associated with this message, or null.
- meetingType: integer | null
_id ID of the meeting associated with this message, if any.
- mentionsType:Properties: 22
Users mentioned in the message.
- pollType: nullableProperties: 14
The poll associated with this message, or null.
- pollType: integer | null
_id ID of the poll associated with this message, if any.
- reactionsType:Properties: 5
A summary of the reactions on the message, grouped by emoji.
- resourceType: nullableProperties: 9
The unfurled link resource associated with this message, or null.
- resourceType: integer | null
_id ID of the unfurled link resource associated with this message, if any.
- systemType: string | null
_event For system-generated messages, the type of system event. Null for normal user messages.
- systemType: object | null
_message _parts Structured parts used to render a system message. Null for normal user messages.
- taskType: nullableProperties: 14
The task associated with this message, or null.
- taskType: integer | null
_id ID of the task associated with this message, if any.
- threadType: nullableProperties: 18
The thread referenced by this message, or null.
- threadType: integer | null
_id ID of the thread referenced by this message, if any.
- userType: nullableProperties: 22
The user who sent the message. Null for system-generated messages.
{
"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"
}