Update admin_filter_example.py

This commit is contained in:
_run 2021-12-12 15:13:07 +05:00
parent e92946301f
commit 096d58ae71
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
from telebot.async_telebot import AsyncTeleBot
from telebot import asyncio_filters
bot = AsyncTeleBot('1297441208:AAGiez5xhzai5russPtPKmZjbdjybW4T0U8')
bot = AsyncTeleBot('TOKEN')
# Handler
@bot.message_handler(chat_types=['supergroup'], is_chat_admin=True)