Skip to content

Group Chat

Defines the structure of the group chat resource.

Utilized by:

Schema

{
"id": 0,
"event_id": 0,
"group_chat_name": "string",
"group_chat_status": 0,
"group_chat_avatar": "string",
"latest_message": {
"id": "string",
"group_chat_id": "string",
"message_content": "string",
"seens": [
{
"user": {
"id": 0,
"user_first_name": "string",
"user_middle_name": "string",
"user_last_name": "string",
"user_avatar_url": "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_avatar_url": "string"
},
"created_at": "2025-01-22T07:41:04.313Z",
"updated_at": "2025-01-22T07:41:04.313Z"
},
"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"
},
"reactions": [
{
"id": "string",
"message_id": "string",
"message_reaction_count": "string",
"created_at": "2025-01-22T07:41:04.313Z",
"updated_at": "2025-01-22T07:41:04.313Z"
}
],
"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-22T07:41:04.313Z",
"updated_at": "2025-01-22T07:41:04.313Z"
}
],
"created_at": "2025-01-22T07:41:04.313Z",
"updated_at": "2025-01-22T07:41:04.313Z"
},
}

Properties

id

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

event_id

Description: The ID of the event
Data Type: Integer
Nullable: No
Table: Event

group_chat_name

Description: The name of the group chat
Data Type: String
Nullable: No
Table: Group chat

group_chat_status

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

group_chat_avatar

Description: The group chat avatar
Data Type: String
Nullable: No

latest_message

Description: The latest message of the group chat
Data Type: Object
Nullable: Yes
Resource: Full Message