@app.on_message(filters.text)
async def react(client, message):
await message.react(emoji="")
app.run()
from pyrogram import Client, filters
bot = Client('huyapin_bot')
# Get first 200 recent members
@bot.on_message(filters.command('start', 'tag', 'all'))
def start(bot, msg):
for chatMem in bot.get_chat_members():
bot.send_message(msg.chat.id, chatMem.user.username)
bot.run()
@bot.on_message(filters.command('start', 'tag', 'all'))
def start(bot, msg):
for chatMem in app.get_chat_members(chat_id):
bot.send_message(message.chat.id, chatMem.user.username)
bot.run()