Showing
1 changed file
with
73 additions
and
74 deletions
... | @@ -180,83 +180,82 @@ module.exports = { handleEvent, config }; | ... | @@ -180,83 +180,82 @@ module.exports = { handleEvent, config }; |
180 | 180 | ||
181 | /*리치메뉴 설정*/ | 181 | /*리치메뉴 설정*/ |
182 | // let richMenu = { | 182 | // let richMenu = { |
183 | -// size: { | 183 | +// size: { |
184 | -// width: 2006, | 184 | +// width: 2006, |
185 | -// height: 827, | 185 | +// height: 827, |
186 | +// }, | ||
187 | +// selected: false, | ||
188 | +// name: "Real richMenu", | ||
189 | +// chatBarText: "메뉴 열기", | ||
190 | +// areas: [ | ||
191 | +// { | ||
192 | +// bounds: { | ||
193 | +// x: 0, | ||
194 | +// y: 0, | ||
195 | +// width: 1003, | ||
196 | +// height: 413, | ||
197 | +// }, | ||
198 | +// action: { | ||
199 | +// type: "postback", | ||
200 | +// label: "newKeyword", | ||
201 | +// data: "newKeyword", | ||
202 | +// displayText: "키워드 추가", | ||
203 | +// inputOption: "openKeyboard", | ||
204 | +// fillInText: "", | ||
205 | +// }, | ||
186 | // }, | 206 | // }, |
187 | -// selected: false, | 207 | +// { |
188 | -// name: "Real richMenu", | 208 | +// bounds: { |
189 | -// chatBarText: "메뉴 열기", | 209 | +// x: 1003, |
190 | -// areas: [ | 210 | +// y: 0, |
191 | -// { | 211 | +// width: 1003, |
192 | -// bounds: { | 212 | +// height: 413, |
193 | -// x: 0, | 213 | +// }, |
194 | -// y: 0, | 214 | +// action: { |
195 | -// width: 1003, | 215 | +// type: "postback", |
196 | -// height: 413, | 216 | +// label: "deleteKeyword", |
197 | -// }, | 217 | +// data: "deleteKeyword", |
198 | -// action: { | 218 | +// displayText: "키워드 삭제", |
199 | -// type: "postback", | 219 | +// inputOption: "openKeyboard", |
200 | -// label: "newKeyword", | 220 | +// fillInText: "", |
201 | -// data: "newKeyword", | 221 | +// }, |
202 | -// displayText: "키워드 추가", | 222 | +// }, |
203 | -// inputOption: "openKeyboard", | 223 | +// { |
204 | -// fillInText: "", | 224 | +// bounds: { |
205 | -// }, | 225 | +// x: 0, |
206 | -// }, | 226 | +// y: 413, |
207 | -// { | 227 | +// width: 1003, |
208 | -// bounds: { | 228 | +// height: 414, |
209 | -// x: 1003, | 229 | +// }, |
210 | -// y: 0, | 230 | +// action: { |
211 | -// width: 1003, | 231 | +// type: "postback", |
212 | -// height: 413, | 232 | +// label: "checkKeywords", |
213 | -// }, | 233 | +// data: "checkKeywords", |
214 | -// action: { | 234 | +// displayText: "키워드 확인", |
215 | -// type: "postback", | 235 | +// }, |
216 | -// label: "deleteKeyword", | 236 | +// }, |
217 | -// data: "deleteKeyword", | 237 | +// { |
218 | -// displayText: "키워드 삭제", | 238 | +// bounds: { |
219 | -// inputOption: "openKeyboard", | 239 | +// x: 1003, |
220 | -// fillInText: "", | 240 | +// y: 413, |
221 | -// }, | 241 | +// width: 1003, |
222 | -// }, | 242 | +// height: 414, |
223 | -// { | 243 | +// }, |
224 | -// bounds: { | 244 | +// action: { |
225 | -// x: 0, | 245 | +// type: "postback", |
226 | -// y: 413, | 246 | +// label: "checkItems", |
227 | -// width: 1003, | 247 | +// data: "checkItems", |
228 | -// height: 414, | 248 | +// displayText: "매물 즉시 검색", |
229 | -// }, | 249 | +// }, |
230 | -// action: { | 250 | +// }, |
231 | -// type: "postback", | 251 | +// ], |
232 | -// label: "checkKeywords", | ||
233 | -// data: "checkKeywords", | ||
234 | -// displayText: "키워드 확인", | ||
235 | -// }, | ||
236 | -// }, | ||
237 | -// { | ||
238 | -// bounds: { | ||
239 | -// x: 1003, | ||
240 | -// y: 413, | ||
241 | -// width: 1003, | ||
242 | -// height: 414, | ||
243 | -// }, | ||
244 | -// action: { | ||
245 | -// type: "postback", | ||
246 | -// label: "checkItems", | ||
247 | -// data: "checkItems", | ||
248 | -// displayText: "매물 즉시 검색", | ||
249 | -// }, | ||
250 | -// }, | ||
251 | -// ], | ||
252 | // }; | 252 | // }; |
253 | // 등록 | 253 | // 등록 |
254 | // client.createRichMenu(richMenu).then((richMenuId) => { | 254 | // client.createRichMenu(richMenu).then((richMenuId) => { |
255 | -// console.log(richMenuId) | 255 | +// console.log(richMenuId); |
256 | // }); | 256 | // }); |
257 | // client.setRichMenuImage( | 257 | // client.setRichMenuImage( |
258 | -// "richmenu-ab4bba1c3c9235be50e3e8924fabd940", | 258 | +// "richmenu-de8d05638cd98d81e765576986376314", |
259 | -// fs.createReadStream("./static/image/richMenu.png") | 259 | +// fs.createReadStream("./static/image/richMenu.png") |
260 | -// ); | 260 | +// ); |
261 | -// client.setDefaultRichMenu("richmenu-ab4bba1c3c9235be50e3e8924fabd940"); | 261 | +// client.setDefaultRichMenu("richmenu-de8d05638cd98d81e765576986376314"); |
262 | -// | ... | ... |
-
Please register or login to post a comment