Max Chat icon

Max Chat

Manage a MAX chat, its pinned message, and bot membership

Get Bot Membership

AI-generated

Summary

Retrieve the bot's membership details from a specified group chat or channel by providing its signed int64 Chat ID.

Inputs

  • Chat ID (required) — The signed int64 ID of the group chat or channel whose bot membership details are to be retrieved.

Output shape

a JSON object containing the bot membership information related to the specified chat ID.

The operation requires a valid and precise Chat ID as input and returns the bot membership data as JSON. Any errors typically pertain to invalid Chat ID or access issues.

Links

Discussion