getChatAdministrators

Use this method to get a list of administrators in a chat, which aren't bots. Returns an Array of ChatMember objects.

Api reference

Parameters

chatId

Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)