2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-01 14:55:12 +00:00

Use concise names when cross-referencing, "type" is often implicit

This commit is contained in:
Dan
2018-01-06 12:27:28 +01:00
parent fa9b0332bc
commit 75dbbaeaf5
2 changed files with 4 additions and 4 deletions

View File

@@ -42,5 +42,5 @@ Examples
if isinstance(update, types.UpdateShortMessage) and not update.out:
client.send_message(update.user_id, update.message)
This checks if the update type is :obj:`types.UpdateShortMessage <pyrogram.api.types.UpdateShortMessage>` and that the
This checks if the update type is :obj:`UpdateShortMessage <pyrogram.api.types.UpdateShortMessage>` and that the
update is not generated by yourself (i.e., the message is not outgoing), then sends back the same message.