mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 03:13:45 +03:00
Fix copy pasted docs and snake_case files
This commit is contained in:
parent
26f121060d
commit
f2c8663266
|
@ -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)):
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user