飞书 icon

飞书

飞书 API 集成,支持多种飞书功能

Actions105

群组管理 → 判断用户或机器人是否在群里

AI-generated

Summary

Check whether a specified user or bot is a member of a given Feishu group chat.

Inputs

  • 凭证类型 — Choose the credential type for authentication: user-level or app-level credential.
  • 群 ID (required) — The chat ID of the group to check membership in. Obtainable via group creation result, querying group list APIs, or searching visible groups.
  • Options — Additional optional settings including batching (with items per batch and batch interval) to control concurrent requests, and a timeout in milliseconds to abort requests if no response is received within the specified time.

Output shape

a single record indicating membership status

The operation returns whether the specified user or bot is in the specified group chat. Supports batch processing with concurrency settings for multiple input items. Errors per item are reported if continue on fail is enabled.

Examples

Example 1: Check if multiple users or bots are members of a group concurrently

Provide multiple input items each with user or bot identifiers, set batching options with batchSize and batchInterval to perform concurrent membership checks with control over request pacing.

Links

Discussion