Update Bot
Update Bot
PUT https://api.talkplus.io/v1.4/api/bots/:botId/
Path Parameters
Name
Type
Description
botId*
string
Name
Type
Description
content-type
string
application/json
app-id*
string
App ID
api-key*
string
App API key
Request Body
Name
Type
Description
name
string
profileImageUrl
string
type
string
user-defined value (max char length: 68)
callbackUrl
string
this address will be called when a message event occurs in the joined channels
{
"bot": {
"id": "bot_001",
"name": "channel_001_bot",
"profileImageUrl": "http://cnd.test.com/123.jpg",
"type": "cs",
"callbackUrl": "http://someaddress.com/for-handling-callback"
}
}{
"error": true,
"code": "1006",
"message": "Unauthorized"
}Last updated