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 allows users to preview messages from a specified channel in a messaging or communication platform. It is useful for scenarios where users want to fetch and review recent messages from a channel without joining or interacting with it directly. For example, it can be used to monitor channel activity, perform content analysis, or archive messages.
Use Case Examples
- Preview the last 100 messages from a marketing channel to analyze customer feedback.
- Fetch recent messages from a support channel to review ongoing customer issues.
Properties
| Name | Meaning |
|---|---|
| Session | The session name used to authenticate and identify the user session for accessing the channel. |
| Id | The unique identifier or invite code of the channel from which to preview messages. |
| Download Media | Flag indicating whether to download media files attached to the messages. |
| Limit | The maximum number of messages to retrieve from the channel. |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
messages- Array of message objects retrieved from the channel preview.channelId- The ID of the channel from which messages were previewed.mediaDownloaded- Indicates if media files were downloaded along with the messages.
Dependencies
- Requires an API key or session authentication to access channel messages.
Troubleshooting
- Ensure the session name is valid and active to avoid authentication errors.
- Verify the channel ID or invite code is correct to prevent 'channel not found' errors.
- If media download is enabled, check network connectivity and storage availability.
- Adjust timeout settings if requests frequently time out due to slow server response.
- If using a proxy, ensure proxy credentials and URL are correctly configured.