채널 내 메시징
1. 채널 내 메시지 목록 조회
const resp = await client.getMessages({
channelId: 'my_channel',
order: 'latest', // default: 'latest'. Use 'oldest' to order by oldest messages first
limit: 10, // how many messages to fetch, default: 20, max: 50
});
if (resp.hasNext) {
const lastMessageId = resp.messages[resp.messages.length - 1].id;
const moreResp = await client.getMessages({
channelId: 'my_channel',
lastMessageId: lastMessageId,
limit: 10,
});
}Response
2. 채널 내 파일 메시지 목록 조회
3. 메시지 발송
4. 메시지 조회
5. 메시지 회신
6. 메시지 읽음 확인
7. 메시지 리액션
8. 메시지 번역
9. 특정 메시지 안 읽은 사용자 수 확인
10. 메시지 삭제
Last updated
Was this helpful?