Actions8
- Message Management Actions
- Message Reaction Actions
- Pin Actions
Pin → Get Pins in Group
AI-generatedOverview
This node operation retrieves a list of pinned messages within a specified chat group in Lark Messenger. It is useful for scenarios where users want to access or manage pinned messages in a group chat, such as displaying important messages or reviewing pinned content for reference.
Use Case Examples
- Fetching all pinned messages in a project team chat to review key updates.
- Listing pinned messages in a customer support group to track important customer queries.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat group from which to retrieve pinned messages. |
| Page Size | The number of pinned messages to retrieve per page, used for pagination. |
| Page Token | A token to specify the page of results to retrieve, used for pagination. |
Output
JSON
jsonitems- Array of pinned messages retrieved from the specified chat group.page_token- Token for the next page of results, if more pinned messages are available.
Dependencies
- Lark Messenger API access with app ID and app secret credentials
Troubleshooting
- Ensure valid and active Lark API credentials are provided; missing or invalid credentials will cause authentication failures.
- Verify the chat ID is correct and accessible by the authenticated app; invalid chat IDs will result in errors or empty results.
- Check pagination parameters (page size and page token) for correctness to avoid unexpected results or empty responses.
- Common error messages include 'No credentials returned!' indicating missing credentials, and 'Get tenant_token failed' indicating failure to obtain an access token from Lark API.
Links
- Lark Messenger API Documentation - Official documentation for Lark Messenger API including pin management endpoints.