mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Remove unnecessary thing
This commit is contained in:
parent
1bfc082d46
commit
995e28e9d8
@ -769,7 +769,6 @@ See more examples in our [examples](https://github.com/eternnoir/pyTelegramBotAP
|
|||||||
Telegram Bot API support new type Chat for message.chat.
|
Telegram Bot API support new type Chat for message.chat.
|
||||||
|
|
||||||
- Check the ```type``` attribute in ```Chat``` object:
|
- Check the ```type``` attribute in ```Chat``` object:
|
||||||
-
|
|
||||||
```python
|
```python
|
||||||
if message.chat.type == "private":
|
if message.chat.type == "private":
|
||||||
# private chat message
|
# private chat message
|
||||||
|
Loading…
Reference in New Issue
Block a user