fix errors

This commit is contained in:
iv8 2019-03-04 15:24:55 +08:00 committed by GitHub
parent 8005ca2f6c
commit c77307881d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -524,16 +524,16 @@ Telegram Bot API support new type Chat for message.chat.
- Check the ```type``` attribute in ```Chat``` object:
-
```python
if message.chat.type == “private”:
if message.chat.type == "private":
# private chat message
if message.chat.type == “group”:
if message.chat.type == "group":
# group chat message
if message.chat.type == “supergroup”:
if message.chat.type == "supergroup":
# supergroup chat message
if message.chat.type == “channel”:
if message.chat.type == "channel":
# channel message
```