Telegram - Get chat member action

The Get chat member action returns a chat member's status and permissions in Telegram. Use this action to check a member's permissions before allowing access to features.

Input

Input fieldDescription
Chat IDEnter the unique identifier for the target chat or the username of the target supergroup or channel, for example @channelusername.
User IDEnter the unique identifier of the target user.

Output

This action's output fields vary based on the member's status, such as creator, administrator, member, restricted, left, or kicked. The following table contains frequently returned fields. Refer to the Telegram Bot API ChatMember documentation for the more information on available output fields.

Output fieldDescription
StatusThe member's status in the chat.
UserThe user's ID, name, and username.
Custom titleThe member's custom title. Only for owners and administrators.
Is anonymousA boolean response (true or false) that indicates if the member's presence in the chat is hidden. Only for owners and administrators.
Can delete messagesA boolean response (true or false) that indicates if the administrator can delete messages from other users.
Can invite usersA boolean response (true or false) that indicates if the member can invite new users to the chat.
Can pin messagesA boolean response (true or false) that indicates if the member can pin messages.
Is memberA boolean response (true or false) that indicates if the user is a member of the chat. Only for restricted members.
Until dateThe Unix timestamp the member's restriction or ban is lifted, if applicable.

Last updated: