Skip to main content
Version: 5.7.0

SysChannelConnect

Connect to a chat channel.

ServiceOperation
chatSYS_CHANNEL_CONNECT

Method Parameters

ParameterDescription
channelIdThe channel id to connect to.
maxReturnMax channel messages to return.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"data": {
"messages": [
{
"date": 1698765119868,
"ver": 1,
"msgId": "869767741372417",
"from": {
"name": "Homer",
"pic": "http://www.simpsons.test/homer.jpg",
"id": ""
},
"content": {
"text": "Hello world",
"custom": {
"somethingCustom": "wow"
}
},
"expiresAt": 1701357119868,
"chId": "55555:sy:mysyschannel",
"updatedAt": 1698765119868
}
]
},
"status": 200
}