update new members message to include chatmemberbot.py

Harshil 2021-12-23 16:18:15 +05:30
parent 164bebf2d7
commit 122fb78198

@ -514,6 +514,7 @@ def add_group(update: Update, context: CallbackContext):
add_group_handle = MessageHandler(Filters.status_update.new_chat_members, add_group)
dispatcher.add_handler(add_group_handle)
```
Note that service messages about non-bot users joining the chat are removed from large groups. You can get the new members message by following the [chatmemberbot.py example](https://github.com/python-telegram-bot/python-telegram-bot/tree/master/examples#chatmemberbotpy).
---
#### Exclude forwarded channel posts in discussion groups from MessageHandlers