Telegram 组 ban/boot/kick 用户
Telegram group ban/boot/kick user
我需要创建一个 Telegram 机器人来管理群组并能够 ban/boot/kick 群组中的用户。
我在 Telegram API 中找不到任何从组中引导用户的内容,机器人如何通过 API 执行此操作?
您可以使用 banChatMember 从组中删除用户。
The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.
我需要创建一个 Telegram 机器人来管理群组并能够 ban/boot/kick 群组中的用户。
我在 Telegram API 中找不到任何从组中引导用户的内容,机器人如何通过 API 执行此操作?
您可以使用 banChatMember 从组中删除用户。
The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.