我有一个电报机器人,它会向频道用户询问一组特定的问题。基于这些答案,我希望该用户自动成为电报频道的管理员。那可能吗?
问问题
1512 次
1 回答
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.
于 2019-12-08T13:21:52.910 回答