Update a bot
Updates information on a bot.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
Parameter name | Type | Description |
---|---|---|
bot_userid | string | Specifies the unique ID of a bot. |
Request body
The following table lists the properties of an HTTP request that this action supports.
Optional
Property name | Type | Description |
---|---|---|
bot_nickname | string | Specifies the bot's nickname. The length is limited to 80 characters. |
bot_profile_url | string | Specifies the URL of the bot's profile image. The size is limited to 2,048 characters. |
bot_callback_url | string | Specifies the server URL of where the bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters. |
is_privacy_mode | boolean | Determines whether to forward all or specific messages to the bot in channels where the bot is a member. If set to |
enable_mark_as_read | boolean | Determines whether to mark the bot's message as read upon sending it. (Default: |
show_member | boolean | Determines whether to include information about the members of each channel in a callback response. (Default: |
channel_invitation_preference | int | Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to |
Response
If successful, this action returns a bot resource in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.