mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
Updated Code snippets (markdown)
parent
ce5599efae
commit
8460508daf
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ slot_machine_value = {
|
|||
```python
|
||||
def add_group(update: Update, context: CallbackContext):
|
||||
for member in update.message.new_chat_members:
|
||||
update.message.reply_text("{member.full_name} just joined the group")
|
||||
update.message.reply_text(f"{member.full_name} just joined the group")
|
||||
|
||||
add_group_handle = MessageHandler(Filters.status_update.new_chat_members, add_group)
|
||||
dispatcher.add_handler(add_group_handle)
|
||||
|
|
Loading…
Reference in a new issue