Skip to content

Full Message

Defines the structure of the full message resource.

Utilized by:

Schema

{
"id": "string",
"group_chat_id": "string",
"message_content": "string",
"user": {
"id": 0,
"user_first_name": "string",
"user_middle_name": "string",
"user_last_name": "string",
"user_username": "string",
"user_avatar_url": "string",
"user_visible": "string"
},
"replied_to": {
"id": "string",
"group_chat_id": "string",
"message_content": "string",
"user": {
"id": 0,
"user_first_name": "string",
"user_middle_name": "string",
"user_last_name": "string",
"user_username": "string",
"user_avatar_url": "string",
"user_visible": "string"
},
"created_at": "2025-01-21T05:33:55.062Z",
"updated_at": "2025-01-21T05:33:55.062Z"
},
"seens": [
{
"user": {
"id": 0,
"user_first_name": "string",
"user_middle_name": "string",
"user_last_name": "string",
"user_avatar_url": "string"
}
}
],
"reactions": [
{
"id": "string",
"message_id": "string",
"message_reaction": "string",
"message_reaction_count": "string",
"created_at": "2025-01-21T05:33:55.062Z",
"updated_at": "2025-01-21T05:33:55.062Z"
}
],
"attachments": [
{
"id": 0,
"message_attachment_url": "string",
"message_attachment_added_to_album": true,
"user": {
"id": 0,
"user_first_name": "string",
"user_middle_name": "string",
"user_last_name": "string",
"user_username": "string",
"user_avatar_url": "string",
"user_visible": "string"
},
"created_at": "2025-01-21T05:33:55.062Z",
"updated_at": "2025-01-21T05:33:55.062Z"
}
],
"created_at": "2025-01-21T05:33:55.062Z",
"updated_at": "2025-01-21T05:33:55.062Z"
}

Properties

id

Description: The ID of the message
Data Type: Integer
Nullable: No
Table: Message

group_chat_id

Description: The ID of the group chat
Data Type: Integer
Nullable: No
Table: Group Chat

message_content

Description: The content of the message
Data Type: String
Nullable: No
Table: Message

user

Description: The user info of the sender of the message
Data Type: Object
Nullable: No
Resource: Minimal User

replied_to

Description: The user to whom the message was replied
Data Type: Object
Nullable: Yes
Resource: Message

seens

Description: The list of users who have seen the message
Data Type: Array of Object
Nullable: No
Resource: Basic User

reactions

Description: The list of reactions to the mesage
Data Type: Array of Object
Nullable: No
Resource: Message Reaction

attachments

Description: The list of attachments to the mesage
Data Type: Array of Object
Nullable: No
Resource: Message Attachment

created_at

Description: The timestamp when the record is created
Data Type: Timestamp
Nullable: Yes
Table: Message

updated_at

Description: The timestamp when the record is updated
Data Type: Timestamp
Nullable: Yes
Table: Message