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 performs a search for channels based on a specified view and filters such as countries and categories. It is useful for retrieving a curated list of channels according to predefined views like 'RECOMMENDED'. For example, it can be used to fetch recommended channels available in the US within certain categories, with pagination support via a start cursor and limit on the number of results.
Use Case Examples
- Search for recommended channels in the US with a limit of 50 results.
- Retrieve channels filtered by specific categories and countries using a custom view.
Properties
| Name | Meaning |
|---|---|
| Session | The session name used to authenticate or identify the search context. |
| View | The view type to filter the channels, e.g., 'RECOMMENDED'. |
| Countries | List of country codes to filter the channels by geographic location. |
| Categories | List of categories to filter the channels by content type or genre. |
| Limit | Maximum number of channels to return in the search results. |
| Start Cursor | Cursor string for pagination to start the search from a specific point. |
| Request Options | Additional request options such as batching, SSL handling, proxy, and timeout settings. |
Output
JSON
channels- Array of channel objects matching the search criteria.nextCursor- Cursor string for fetching the next page of results if pagination is supported.
Dependencies
- Requires an API key or session token for authentication to the channel service.
Troubleshooting
- Common issues include invalid session names causing authentication failures.
- Incorrectly formatted JSON for countries or categories may cause request errors.
- Timeouts can occur if the server is slow or the timeout setting is too low; increase timeout if needed.
- SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this is insecure.