Update chat_type_filter.py

This commit is contained in:
Yan Khachko 2021-02-09 15:31:46 +00:00 committed by GitHub
parent 4701b852bd
commit c625b7beb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,8 @@ dp = Dispatcher(bot)
@dp.message_handler(chat_type=[ChatType.PRIVATE, ChatType.CHANNEL])
async def send_welcome(message: types.Message):
"""
This handler will be called when user sends message in private chat or channel
"""
This handler will be called when user sends message in private chat or channel
"""
await message.reply("Hi!\nI'm hearing your messages in private chats and channels")
# propagate message to the next handler