0

I have a telegram bot that asks a channel user a certain set of questions. Based on these answers, I would like that user to automatically become the admin of the telegram channel. Is that possible?

I would like to enable my bot to make other users admins for only one privilege - to add new subscribers

Carlos F
  • 893
  • 2
  • 12
  • 30

1 Answers1

1

Yes.

Bots can promote users using the method promoteChatMember. You can also select which privilege the user should have.

Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Pass False for all boolean parameters to demote a user. Returns True on success.

Check the documentation to find all the details for its usage.

marcopiii
  • 793
  • 7
  • 25
  • Just a clarification - if the owner promotes another user to “admin” with ONLY add subscriber rights, does the new admin see who the other admins are? Can he DM other admins? – Carlos F Dec 08 '19 at 13:26