CTT.DEFAULT_TYPE

Harshil 2022-06-11 17:48:45 +04:00
parent 145b1e9aa0
commit 70c7395069

@ -502,7 +502,10 @@ slot_machine_value = {
```python ```python
import asyncio import asyncio
async def add_group(update: Update, context: CallbackContext): from telegram import Update
from telegram.ext import ContextTypes
async def add_group(update: Update, context: ContextTypes.DEFAULT_TYPE):
await asyncio.gather( await asyncio.gather(
update.message.reply_text(f"{member.full_name} just joined the group") update.message.reply_text(f"{member.full_name} just joined the group")
for member in update.message.new_chat_members for member in update.message.new_chat_members