분반 기능

분반 시작

  • 예시

index.js
await knowledgetalk.createGroup(['kpoint123', 'knowledge123'], '분반명');

  • 타입

createGroup(
    list?: string[];
    title?: string;
): Promise<{
    groupId: string;
    code: ResponseCode;
}>

  • 요청 상세

Parameter
Description
Example

list

['kpoint123', 'knowledge123']

title

방 제목

'분반명'

  • 응답 상세

Parameter
Description
Example

groupId

분반 방 아이디

'r1196417'

분반 종료

  • 예시

index.js
await knowledgetalk.endGroup(groupId);

  • 타입

endGroup(
    groupId: string;
): Promise<{
    code: ResponseCode;
}>

  • 요청 상세

Parameter
Description
Example

groupId

  • 메인 룸에서 호출

  • 분반 destrory

'r1196417'

  • 응답 상세

Parameter
Description
Example

Last updated