Api.replyRoomWithMarkdown()

특정 방에 Markdown 메시지를 보내고 방에 대한 세션의 존재 여부를 반환합니다. hideToasttrue일 경우 방의 세션 존재 여부를 토스트 메시지로 출력합니다.

구문

JavaScript

Api.replyRoomWithMarkdown(room, message);
Api.replyRoomWithMarkdown(room, message, hideToast);

매개변수

room String | BigInt

메시지를 보낼 방의 식별자. 식별자는 방의 이름 또는 방의 ID를 사용할 수 있습니다.

message String

보낼 Markdown 메시지의 내용

hideToast Boolean 선택적

메시지를 보낼 방의 세션 존재 여부를 토스트 메시지로 출력할 것인지의 여부

기본값
false

반환값

Boolean - room 방에 대한 세션이 존재하면 true, 존재하지 않으면 false를 반환합니다.

호환성

replyRoomWithMarkdown