2025-11-25
This commit is contained in:
20
PhenixRTS/chat/Demo.md
Normal file
20
PhenixRTS/chat/Demo.md
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
```sh
|
||||
curl https://pcast-stg.phenixrts.com/pcast/channel/us-central%23phenixrts.com-alex.zinn%23frontendWebsocket.LnQnpYeK26hH/message \
|
||||
-u "${APPLICATION_ID}:${SECRET_STG}" \
|
||||
-H "Accept: application/json" \
|
||||
-H "Content-Type: application/json" \
|
||||
-X PUT \
|
||||
-d '{
|
||||
"message": {
|
||||
"from": {
|
||||
"screenName": "Me",
|
||||
"role": "Moderator",
|
||||
"lastUpdate": 0
|
||||
},
|
||||
"mimeType": "text/plain",
|
||||
"message": "This is my chat message",
|
||||
"tags": ["my-tag", "my-other-tag"]
|
||||
}
|
||||
}'
|
||||
```
|
||||
Reference in New Issue
Block a user