Replace "|" with "or"

This commit is contained in:
Dan 2018-01-08 06:34:49 +01:00
parent 44d1679108
commit ead7573d33

View File

@ -468,7 +468,7 @@ class Client:
"""Use this method to send text messages.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -511,12 +511,12 @@ class Client:
"""Use this method to forward messages of any kind.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
from_chat_id (:obj:`int` | :obj:`str`):
from_chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the chat where the original message was sent
(or channel/supergroup username in the format @username). For your personal cloud
storage (Saved Messages) you can simply use "me" or "self".
@ -554,7 +554,7 @@ class Client:
"""Use this method to send photos.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -620,7 +620,7 @@ class Client:
For sending voice messages, use the :obj:`send_voice` method instead.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -693,7 +693,7 @@ class Client:
"""Use this method to send general files.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -755,7 +755,7 @@ class Client:
"""Use this method to send video files.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -828,7 +828,7 @@ class Client:
"""Use this method to send audio files.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -894,7 +894,7 @@ class Client:
"""Use this method to send video messages.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -961,7 +961,7 @@ class Client:
"""Use this method to send points on the map.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -1012,7 +1012,7 @@ class Client:
"""Use this method to send information about a venue.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -1075,7 +1075,7 @@ class Client:
"""Use this method to send phone contacts.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -1123,7 +1123,7 @@ class Client:
"""Use this method when you need to tell the other party that something is happening on your side.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -1153,7 +1153,7 @@ class Client:
"""Use this method to get a list of profile pictures for a user.
Args:
user_id (:obj:`int` | :obj:`str`):
user_id (:obj:`int` or :obj:`str`):
Unique identifier of the target user.
offset (:obj:`int`, optional):
@ -1184,7 +1184,7 @@ class Client:
"""Use this method to edit text messages.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -1217,7 +1217,7 @@ class Client:
"""Use this method to edit captions of messages.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username). For your personal cloud storage (Saved Messages) you can
simply use "me" or "self".
@ -1510,7 +1510,7 @@ class Client:
"""Use this method to leave a group chat or channel.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username).
@ -1552,7 +1552,7 @@ class Client:
The user must be an administrator in the chat for this to work and must have the appropriate admin rights.
Args:
chat_id (:obj:`int` | :obj:`str`):
chat_id (:obj:`int` or :obj:`str`):
Unique identifier for the target chat or username of the target channel/supergroup
(in the format @username).