USER_BOT
Bots can only be admins in channels.
Error details
Section titled “Error details”- code: 400
- parameterized: no
- mapped methods:
channels.inviteToChannel
Python error class
Section titled “Python error class”from miniproto.errors import UserBotPublic access: miniproto.errors.UserBot.