我的代码:
import telebot
bot = telebot.TeleBot(constants.token)
@bot.message_handler(commands=['roll'])
def handle_command(message):
roll = random.randint(1, 100)
bot.send_message(message.chat.id, roll)
bot.getChatMembersCount()
bot.polling(none_stop=True, interval=0)
错误:
AttributeError:“TeleBot”对象没有属性“getChatMembersCount”
如何使用“getChatMembersCount”?