채팅 마커 설정
Set chat markers to track message read status.
읽는 시간 1분최근 업데이트: 19일 전
채팅 마커 API를 사용하면 채팅 마커 생성을 제어할 수 있습니다. 채팅 마커를 사용하여 메시지를 읽음으로 표시할 수 있습니다. 또한 대화 목록 API에 대한 데이터도 제공합니다. 이 기능은 채널과 다이렉트 메시지 모두에서 작동합니다. 대화의 읽음 마커를 설정하려면 애플리케이션에 로그인하고
VivoxService.Instance.SetMessageAsReadAsync()VivoxMessageMessageIdVivoxMessageMessageId
다음은 채팅 마커를 설정하는 방법의 예제를 보여 주는 코드입니다.
DateTime seenAt = DateTime.Now; // Optional timestamp for when the message was seen. Default is DateTime.Now converted to UTC.var readMessage = await VivoxService.Instance.SetMessageAsReadAsync(message, seenAt);
IsReadVivoxMessageVivoxMessageVivoxService.Instance.SetMessageAsReadAsync()VivoxMessageVivoxService.Instance.SetMessageAsReadAsync()VivoxMessage// EventsChannelMessageReceived;ChannelMessageEdited;ChannelMessageDeleted;DirectedMessageReceived;DirectedMessageDeleted;DirectedMessageEdited;
// MethodsGetChannelTextMessageHistoryAsync();GetDirectTextMessageHistoryAsync();