agent_bot_create_update_payload
namestring
The name of the agent bot
Example:
My Agent Botdescriptionstring
The description of the agent bot
Example:
This is a sample agent botoutgoing_urlstring
The webhook URL for the bot
Example:
https://example.com/webhookavatarstring<binary>
Send the form data with the avatar image binary or use the avatar_url
avatar_urlstring
The url to a jpeg, png file for the agent bot avatar
Example:
https://example.com/avatar.pngbot_typeinteger
The type of the bot (0 for webhook)
Example:
0bot_configobject
The configuration for the bot
Example:
{}agent_bot_create_update_payload
{
"name": "My Agent Bot",
"description": "This is a sample agent bot",
"outgoing_url": "https://example.com/webhook",
"avatar": "string",
"avatar_url": "https://example.com/avatar.png",
"bot_type": 0,
"bot_config": {}
}