POST/bots/{botId}/users/{userId}/messages
봇이 특정 사용자에게 메시지를 전송할 수 있다.
각 템플릿 또는 빠른 답장 버튼을 이용하여 postback 메시지를 callback으로 서버에서 수신할 수 있다. postback 형식은 메시지 수신 - Callback 형태를 참고한다.
각 템플릿과 빠른 답장의 구조는 다음과 같다.
[그림 1 Button template]
[그림 2 List template]
[그림 3 Carousel template]
[그림 4 Image carousel template]
[그림 5 Flexible template]
[그림 6 Quick reply]
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.
bot.message
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | 봇 ID required example : 2000001 format : int64 |
| userId | string | 사용자 ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
메시지 유형을 참고한다.
OK