Send a message to other users. Require notification:send_from:self
permission
Request
Body Params application/json
{
"receiver_id": 0,
"title": "string",
"message": "string"
}
Request Code Samples
curl --location --request POST 'http://localhost:8000/notification/send' \
--header 'Content-Type: application/json' \
--data-raw '{
"receiver_id": 0,
"title": "string",
"message": "string"
}'
Responses
{
"notification_id": 0,
"sender_id": 0,
"receiver_id": 0,
"created_time": 0,
"read_time": 0,
"content": {
"content_type": "text",
"category": "basic",
"title": "string",
"message": "string"
}
}
Modified at 2024-12-11 01:16:41