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 operation sets a profile picture for a user session. It is useful in scenarios where you want to programmatically update or change the profile image associated with a user account or session, such as in social media management, user profile customization, or automated account setup workflows. For example, you can use this node to upload a new profile picture from a URL or local file to a user's profile in an automated process.
Use Case Examples
- Automatically update a user's profile picture based on an external image URL.
- Batch update profile pictures for multiple user sessions in a workflow.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the user session for which the profile picture will be set. |
| File | The image file to be used as the profile picture, including its MIME type, filename, and URL. |
| Request Options | Optional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
success- Indicates whether the profile picture was successfully set.profilePictureUrl- The URL of the newly set profile picture.session- The session name for which the profile picture was updated.
Dependencies
- Requires an API key or authentication token to access the user session and update the profile picture.
Troubleshooting
- Ensure the session name is correct and active; otherwise, the profile picture update will fail.
- Verify the file object contains a valid URL and correct MIME type for the image.
- If using batching, check batch size and interval settings to avoid request throttling issues.
- If SSL errors occur, consider enabling 'Ignore SSL Issues' but be aware of security risks.
- Check proxy settings if behind a corporate firewall or proxy server.
- Timeout errors may require increasing the timeout value in request options.