Fix copy pasted docs and snake_case files

This commit is contained in:
Lonami Exo 2018-07-28 11:28:02 +02:00
parent 26f121060d
commit f2c8663266
4 changed files with 5 additions and 5 deletions

View File

@ -274,7 +274,7 @@ class UploadMethods(ButtonMethods, MessageParseMethods, UserMethods):
Returns:
:tl:`InputFileBig` if the file size is larger than 10MB,
`telethon.tl.custom.input_sized_file.InputSizedFile`
`telethon.tl.custom.inputsizedfile.InputSizedFile`
(subclass of :tl:`InputFile`) otherwise.
"""
if isinstance(file, (types.InputFile, types.InputFileBig)):

View File

@ -1,6 +1,6 @@
from .draft import Draft
from .dialog import Dialog
from .input_sized_file import InputSizedFile
from .inputsizedfile import InputSizedFile
from .messagebutton import MessageButton
from .forward import Forward
from .message import Message

View File

@ -5,9 +5,9 @@ import webbrowser
class MessageButton:
"""
Custom class that encapsulates a message providing an abstraction to
easily access some commonly needed features (such as the markdown text
or the text for a given message entity).
Custom class that encapsulates a message button providing
an abstraction to easily access some commonly needed features
(such as clicking the button itself).
Attributes: