Skip to content

Commit 237484e

Browse files
committed
Fix non ascii '
1 parent 760867e commit 237484e

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

telegram/bot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def send_audio(self,
445445
to remove reply keyboard or to force a reply from the user.
446446
thumb (`filelike object`): Thumbnail of the
447447
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
448-
A thumbnails width and height should not exceed 90. Ignored if the file is not
448+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
449449
is passed as a string or file_id.
450450
timeout (:obj:`int` | :obj:`float`, optional): Send file timeout (default: 20 seconds).
451451
**kwargs (:obj:`dict`): Arbitrary keyword arguments.
@@ -527,7 +527,7 @@ def send_document(self,
527527
to remove reply keyboard or to force a reply from the user.
528528
thumb (`filelike object`): Thumbnail of the
529529
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
530-
A thumbnails width and height should not exceed 90. Ignored if the file is not
530+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
531531
is passed as a string or file_id.
532532
timeout (:obj:`int` | :obj:`float`, optional): Send file timeout (default: 20 seconds).
533533
**kwargs (:obj:`dict`): Arbitrary keyword arguments.
@@ -663,7 +663,7 @@ def send_video(self,
663663
to remove reply keyboard or to force a reply from the user.
664664
thumb (`filelike object`): Thumbnail of the
665665
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
666-
A thumbnails width and height should not exceed 90. Ignored if the file is not
666+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
667667
is passed as a string or file_id.
668668
timeout (:obj:`int` | :obj:`float`, optional): Send file timeout (default: 20 seconds).
669669
**kwargs (:obj:`dict`): Arbitrary keyword arguments.
@@ -741,7 +741,7 @@ def send_video_note(self,
741741
instructions to remove reply keyboard or to force a reply from the user.
742742
thumb (`filelike object`): Thumbnail of the
743743
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
744-
A thumbnails width and height should not exceed 90. Ignored if the file is not
744+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
745745
is passed as a string or file_id.
746746
timeout (:obj:`int` | :obj:`float`, optional): Send file timeout (default: 20 seconds).
747747
**kwargs (:obj:`dict`): Arbitrary keyword arguments.
@@ -805,7 +805,7 @@ def send_animation(self,
805805
height (:obj:`int`, optional): Animation height.
806806
thumb (`filelike object`): Thumbnail of the
807807
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
808-
A thumbnails width and height should not exceed 90. Ignored if the file is not
808+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
809809
is passed as a string or file_id.
810810
caption (:obj:`str`, optional): Animation caption (may also be used when resending
811811
animations by file_id), 0-200 characters.

telegram/files/inputmedia.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class InputMediaAnimation(InputMedia):
4141
Lastly you can pass an existing :class:`telegram.Animation` object to send.
4242
thumb (`filelike object`): Optional. Thumbnail of the
4343
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
44-
A thumbnails width and height should not exceed 90. Ignored if the file is not
44+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
4545
is passed as a string or file_id.
4646
caption (:obj:`str`): Optional. Caption of the animation to be sent, 0-200 characters.
4747
parse_mode (:obj:`str`): Optional. Send Markdown or HTML, if you want Telegram apps to show
@@ -58,7 +58,7 @@ class InputMediaAnimation(InputMedia):
5858
Lastly you can pass an existing :class:`telegram.Animation` object to send.
5959
thumb (`filelike object`, optional): Thumbnail of the
6060
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
61-
A thumbnails width and height should not exceed 90. Ignored if the file is not
61+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
6262
is passed as a string or file_id.
6363
caption (:obj:`str`, optional): Caption of the animation to be sent, 0-200 characters.
6464
parse_mode (:obj:`str`, optional): Send Markdown or HTML, if you want Telegram apps to show
@@ -119,7 +119,7 @@ class InputMediaPhoto(InputMedia):
119119
in :class:`telegram.ParseMode` for the available modes.
120120
thumb (`filelike object`): Optional. Thumbnail of the
121121
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
122-
A thumbnails width and height should not exceed 90. Ignored if the file is not
122+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
123123
is passed as a string or file_id.
124124
125125
Args:
@@ -132,7 +132,7 @@ class InputMediaPhoto(InputMedia):
132132
in :class:`telegram.ParseMode` for the available modes.
133133
thumb (`filelike object`, optional): Thumbnail of the
134134
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
135-
A thumbnails width and height should not exceed 90. Ignored if the file is not
135+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
136136
is passed as a string or file_id.
137137
"""
138138

@@ -176,7 +176,7 @@ class InputMediaVideo(InputMedia):
176176
for streaming.
177177
thumb (`filelike object`): Optional. Thumbnail of the
178178
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
179-
A thumbnails width and height should not exceed 90. Ignored if the file is not
179+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
180180
is passed as a string or file_id.
181181
182182
Args:
@@ -194,7 +194,7 @@ class InputMediaVideo(InputMedia):
194194
for streaming.
195195
thumb (`filelike object`, optional): Thumbnail of the
196196
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
197-
A thumbnails width and height should not exceed 90. Ignored if the file is not
197+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
198198
is passed as a string or file_id.
199199
200200
Note:
@@ -254,7 +254,7 @@ class InputMediaAudio(InputMedia):
254254
title (:obj:`str`): Optional. Title of the audio as defined by sender or by audio tags.
255255
thumb (`filelike object`): Optional. Thumbnail of the
256256
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
257-
A thumbnails width and height should not exceed 90. Ignored if the file is not
257+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
258258
is passed as a string or file_id.
259259
260260
Args:
@@ -271,7 +271,7 @@ class InputMediaAudio(InputMedia):
271271
title (:obj:`str`, optional): Title of the audio as defined by sender or by audio tags.
272272
thumb (`filelike object`, optional): Thumbnail of the
273273
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
274-
A thumbnails width and height should not exceed 90. Ignored if the file is not
274+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
275275
is passed as a string or file_id.
276276
277277
Note:
@@ -325,7 +325,7 @@ class InputMediaDocument(InputMedia):
325325
in :class:`telegram.ParseMode` for the available modes.
326326
thumb (`filelike object`): Optional. Thumbnail of the
327327
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
328-
A thumbnails width and height should not exceed 90. Ignored if the file is not
328+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
329329
is passed as a string or file_id.
330330
331331
Args:
@@ -338,7 +338,7 @@ class InputMediaDocument(InputMedia):
338338
in :class:`telegram.ParseMode` for the available modes.
339339
thumb (`filelike object`, optional): Thumbnail of the
340340
file sent. The thumbnail should be in JPEG format and less than 200 kB in size.
341-
A thumbnails width and height should not exceed 90. Ignored if the file is not
341+
A thumbnail's width and height should not exceed 90. Ignored if the file is not
342342
is passed as a string or file_id.
343343
"""
344344

0 commit comments

Comments
 (0)