Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정민혁
/
TermProject_KakaoBot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
정민혁
2018-12-13 23:35:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4a45ae4b3686e5f79fdc2582c961803f488ba70d
4a45ae4b
1 parent
72252082
오류수정을 위한 마이너 코드 수정, 발표자료 제작
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
oss카카오봇.pptx
routes/message.js
oss카카오봇.pptx
0 → 100644
View file @
4a45ae4
This file is too large to display.
routes/message.js
View file @
4a45ae4
...
...
@@ -90,7 +90,7 @@ app.post('/', function(req, res) {
"text"
:
objBody
.
message
.
result
.
translatedText
},
"keyboard"
:
{
"type"
:
"buttons"
,
"buttons"
:[
"설정"
,
"번역"
,
"트랜드 검색"
]
"buttons"
:[
"
언어
설정"
,
"번역"
,
"트랜드 검색"
]
}
};
// Kakao Message API 전송
...
...
@@ -109,7 +109,7 @@ app.post('/', function(req, res) {
},
"keyboard"
:
{
"type"
:
"buttons"
,
"buttons"
:[
"설정"
,
"번역"
,
"트랜드 검색"
]
"buttons"
:[
"
언어
설정"
,
"번역"
,
"트랜드 검색"
]
}
};
...
...
@@ -161,7 +161,7 @@ app.post('/', function(req, res) {
"text"
:
response
.
body
},
"keyboard"
:
{
"type"
:
"buttons"
,
"buttons"
:[
"설정"
,
"번역"
,
"트랜드 검색"
]
"buttons"
:[
"
언어
설정"
,
"번역"
,
"트랜드 검색"
]
}
};
...
...
@@ -177,7 +177,7 @@ app.post('/', function(req, res) {
"text"
:
response
.
statusCode
},
"keyboard"
:
{
"type"
:
"buttons"
,
"buttons"
:[
"설정"
,
"번역"
,
"트랜드 검색"
]
"buttons"
:[
"
언어
설정"
,
"번역"
,
"트랜드 검색"
]
}
};
res
.
set
({
...
...
@@ -276,7 +276,7 @@ app.post('/', function(req, res) {
},
"keyboard"
:
{
"type"
:
"buttons"
,
"buttons"
:[
"설정"
,
"번역"
,
"트랜드 검색"
]
"buttons"
:[
"
언어
설정"
,
"번역"
,
"트랜드 검색"
]
}
});
}
...
...
Please
register
or
login
to post a comment