Actions116
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Add Participants
- Remove Participants
- Promote To Admin
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- 🖥️ Sessions Actions
- 🆔 Profile Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
- 🔑 Auth Actions
Overview
This node updates a session configuration in a system that manages sessions, likely for a web or messaging service. It allows users to specify the session name and provide a detailed JSON configuration to update the session's settings. This is useful for scenarios where session parameters need to be dynamically changed, such as updating proxy settings, webhook configurations, or debugging options. For example, a user might update a session to change the proxy server or modify webhook event subscriptions.
Use Case Examples
- Updating a session to change its proxy server and enable debugging.
- Modifying webhook URLs and event subscriptions for a session.
- Adjusting session storage and synchronization settings.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session to update. This identifies which session's configuration will be modified. |
| Config | A JSON object representing the new configuration for the session, including metadata, proxy settings, debug flags, webhook configurations, and other session-specific options. |
| Request Options | Optional settings for the HTTP request such as batching, SSL certificate validation, proxy usage, and timeout duration. |
Output
JSON
updatedSession- The updated session object or confirmation of the update operation.
Dependencies
- Requires an API key or authentication token to access the session management service.
Troubleshooting
- Ensure the session name provided exists; otherwise, the update will fail.
- Verify the JSON configuration is correctly formatted to avoid parsing errors.
- If using a proxy, ensure the proxy details are correct and accessible.
- Timeout errors may occur if the server is slow or unreachable; increase the timeout setting if needed.
- SSL validation errors can be bypassed by enabling 'Ignore SSL Issues', but this reduces security.
Links
- Session Update API Documentation - Official documentation for updating sessions via API.