Pular para o conteúdo principal

agent_bot_create_update_payload

namestring

The name of the agent bot

Example: My Agent Bot
descriptionstring

The description of the agent bot

Example: This is a sample agent bot
outgoing_urlstring

The webhook URL for the bot

Example: https://example.com/webhook
avatarstring<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.png
bot_typeinteger

The type of the bot (0 for webhook)

Example: 0
bot_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": {}
}