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: Returns:
:tl:`InputFileBig` if the file size is larger than 10MB, :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. (subclass of :tl:`InputFile`) otherwise.
""" """
if isinstance(file, (types.InputFile, types.InputFileBig)): if isinstance(file, (types.InputFile, types.InputFileBig)):

View File

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

View File

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