GetGroupChannelList
public BackendReturnObject GetGroupChannelList(string groupName);
파라미터
Value | Type | Description |
---|---|---|
groupName | string | 검색할 채널 그룹의 이름 |
설명
그룹명을 통해 해당 그룹의 채팅 채널의 정보들을 불러옵니다.
채팅 채널 그룹은 뒤끝 콘솔 > 뒤끝챗 > 채팅 그룹 관리에서 미리 생성해야 하며 콘솔에서 생성한 채널 그룹을 불러올 수 있습니다.
Example
동기
Backend.Chat.GetGroupChannelList(string groupName);
비동기
Backend.Chat.GetGroupChannelList(string groupName, ( callback ) =>
{
// 이후 처리
});
SendQueue
SendQueue.Enqueue(Backend.Chat.GetGroupChannelList, string groupName, ( callback ) =>
{
// 이후 처리
});
ReturnCase
Success cases
조회에 성공한 경우
statusCode : 200
message : Success
returnValue : GetReturnValueToJSON 참조
Error cases
채팅 서비스가 비활성화상태인 경우
statusCode : 412
errorCode : PreconditionFailed
message : chat server is not available 사전 조건을 만족하지 않습니다.
groupName이 비어있을 경우
statusCode : 404
errorCode : NotFoundException
message : Resource not found, Resource을(를) 찾을 수 없습니다
해당 그룹명이 존재하지 않는 경우
statusCode : 404
errorCode : NotFoundException
message : Not found 그룹명 group. not found, Not found 그룹명 group.을(를) 찾을 수 없습니다
GetReturnValueToJSON
{
"groupName":"운영자전용",
"rows": [{
"groupName": "운영자전용",
"alias": "버그피드백채널",
"inDate": "2021-01-13T01:14:30.263Z",
"maxUserCount": 200,
"joinedUserCount": 10,
"serverAddress": "ec2-3-36-74-178.ap-northeast-2.compute.amazonaws.com",
"serverPort": 50000
},
{
"groupName": string,
"alias": string,
"inDate": string,
"maxUserCount": number,
"joinedUserCount": number,
"serverAddress": string,
"serverPort": number
}, ...]
}