Fix and update links in the documentation

This commit is contained in:
Lonami Exo
2019-01-12 13:06:14 +01:00
parent fbf7f75b00
commit 5ac88f764d
9 changed files with 42 additions and 34 deletions

View File

@@ -112,7 +112,7 @@ class Conversation(ChatGetter):
Returns a coroutine that will resolve once a response arrives.
Args:
message (:tl:`Message` | `int`, optional):
message (`Message <telethon.tl.custom.message.Message>` | `int`, optional):
The message (or the message ID) for which a response
is expected. By default this is the last sent message.

View File

@@ -17,7 +17,7 @@ class Dialog:
pinned (`bool`):
Whether this dialog is pinned to the top or not.
message (:tl:`Message`):
message (`Message <telethon.tl.custom.message.Message>`):
The last message sent on this dialog. Note that this member
will not be updated when new messages arrive, it's only set
on creation of the instance.

View File

@@ -106,7 +106,7 @@ class InlineResult:
entity (`entity`):
The entity to which the message of this result should be sent.
reply_to (`int` | :tl:`Message`, optional):
reply_to (`int` | `Message <telethon.tl.custom.message.Message>`, optional):
If present, the sent message will reply to this ID or message.
silent (`bool`, optional):

View File

@@ -65,7 +65,8 @@ class Message(ChatGetter, SenderGetter, TLObject, abc.ABC):
messages.
message (`str`):
The string text of the message for :tl:`Message` instances,
The string text of the message for `Message
<telethon.tl.custom.message.Message>` instances,
which will be ``None`` for other types of messages.
action (:tl:`MessageAction`):