Telegram group ban/boot/kick user

前端 未结 1 1587
情书的邮戳
情书的邮戳 2021-01-13 02:08

I need to create a Telegram bot to moderate a group and be able to ban/boot/kick users from the group.

I could not find anything in the Telegram API to boot a user f

相关标签:
1条回答
  • 2021-01-13 02:53

    You can use kickChatMember to remove a user from a group.

    The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.

    0 讨论(0)
提交回复
热议问题