Daniel Newton
Daniel Newton

Reputation: 3

How to get list of Channel administrators from the Telegram API?

Most of the information I have found relating to this refers to the Bot Api. The only way I can see to get the information from the full API is by using GetParticipants, however, that requires that the requesting user be an admin.

Upvotes: 0

Views: 17226

Answers (1)

MarcoBuster
MarcoBuster

Reputation: 1233

For get a list of administrators (except other bots) in a channel, you can use the getChatAdministrators method.

Remember that the bot must be admin of the channel. In no way you can get the administrators of a channel without be an administrator.

Upvotes: 4

Related Questions