Actions116
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ļø Sessions Actions
- š Profile Actions
- š¼ļø Screenshot Actions
- š¤ Chatting Actions
- š¢ Channels Actions
- š¢ Status Actions
- š„ Groups Actions
- Add Participants
- 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
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Remove Participants
- Promote To Admin
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
- š Auth Actions
Overview
This node operation sets a picture for a specified group in a messaging or social platform. It is useful for automating the process of updating group profile images based on dynamic inputs, such as changing event banners or group logos. For example, a user can automate setting a new group picture by providing the group ID, session name, and image file URL or data.
Use Case Examples
- Automatically update a group picture when a new event is created.
- Set a custom group image based on user input or external triggers.
Properties
| Name | Meaning |
|---|---|
| Session | The session name used to authenticate and identify the user session for the operation. |
| Id | The unique identifier of the group whose picture is to be set. |
| File | The image file data or URL to be set as the group's picture, including mimetype and filename. |
| Request Options | Optional settings for the HTTP request such as batching, SSL certificate validation, proxy, and timeout. |
Output
JSON
success- Indicates if the group picture was successfully set.message- Additional information or error message related to the operation.
Dependencies
- Requires an authenticated session to the messaging platform, typically via a session name or token.
Troubleshooting
- Ensure the session name is valid and authenticated before attempting to set the picture.
- Verify the group ID is correct and the user has permission to change the group picture.
- Check the file object contains a valid image URL or data with correct mimetype and filename.
- If SSL errors occur, consider enabling the 'Ignore SSL Issues' option or configuring a proper proxy.
- Timeout errors may require increasing the timeout setting or checking network connectivity.