봇 메시지 생성
채널별 봇 메시지를 생성합니다.
시작하기 전에
필요한 역할: 관리자
프로시저
봇 메시지 구현
봇 메시지 API를 사용하여 채널별 봇 메시지를 구현합니다.
봇 메시지 API
다음 API를 사용하여 봇 메시지를 사용자 지정 채팅 통합에 통합합니다.
예: 봇 메시지 구현
function getBotMessage(providerId, inboundId, botMessageName) {
// fetch the bot message using bot messages api
var botMessages = sn_cs.VASystemObject.getAllBotMessages(providerId, inboundId);
if (botMessages && botMessages[botMessageName]) {
var botMessage = botMessages[botMessageName];
botMessage = botMessage.trim();
if (botMessage) {
return botMessage;
}
}
}