2019-05-09 13:24:37 +03:00
|
|
|
==============
|
|
|
|
Custom package
|
|
|
|
==============
|
2017-11-19 19:56:05 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
The `telethon.tl.custom` package contains custom classes that the library
|
|
|
|
uses in order to make working with Telegram easier. Only those that you
|
|
|
|
are supposed to use will be documented here. You can use undocumented ones
|
|
|
|
at your own risk.
|
2017-11-19 19:56:05 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
More often than not, you don't need to import these (unless you want
|
|
|
|
type hinting), nor do you need to manually create instances of these
|
|
|
|
classes. They are returned by client methods.
|
2017-11-19 19:56:05 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
.. contents::
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom
|
2017-11-19 19:56:05 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2018-03-22 20:39:42 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
AdminLogEvent
|
|
|
|
=============
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.adminlogevent
|
2018-03-22 20:39:42 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
2018-06-02 13:52:38 +03:00
|
|
|
|
2019-05-08 19:41:40 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
Button
|
|
|
|
======
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.button
|
2019-05-08 19:41:40 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2018-06-02 13:52:38 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
ChatGetter
|
|
|
|
==========
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.chatgetter
|
2018-06-02 13:52:38 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
Conversation
|
|
|
|
============
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.conversation
|
2018-06-02 13:52:38 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
2018-06-25 12:34:10 +03:00
|
|
|
|
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
Dialog
|
|
|
|
======
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.dialog
|
2018-06-25 12:34:10 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
2018-07-10 13:42:57 +03:00
|
|
|
|
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
Draft
|
|
|
|
=====
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.draft
|
2018-07-10 13:42:57 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
2018-07-10 16:15:22 +03:00
|
|
|
|
2018-10-12 13:38:46 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
File
|
|
|
|
====
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.file
|
2018-10-12 13:38:46 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2018-08-01 02:06:47 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
Forward
|
|
|
|
=======
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.forward
|
2018-08-01 02:06:47 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2018-10-12 13:38:46 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
InlineBuilder
|
|
|
|
=============
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.inlinebuilder
|
2018-10-12 13:38:46 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
2018-07-10 16:15:22 +03:00
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
InlineResult
|
|
|
|
============
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.inlineresult
|
2018-07-10 16:15:22 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
InlineResults
|
|
|
|
=============
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.inlineresults
|
2018-07-10 16:15:22 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
2018-08-24 14:20:38 +03:00
|
|
|
|
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
Message
|
|
|
|
=======
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.message
|
2018-08-24 14:20:38 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
2019-01-03 21:20:52 +03:00
|
|
|
|
|
|
|
|
2019-05-09 13:24:37 +03:00
|
|
|
MessageButton
|
|
|
|
=============
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.messagebutton
|
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|
|
|
|
|
|
|
|
|
|
|
|
SenderGetter
|
|
|
|
============
|
|
|
|
|
|
|
|
.. automodule:: telethon.tl.custom.sendergetter
|
2019-01-03 21:20:52 +03:00
|
|
|
:members:
|
|
|
|
:undoc-members:
|
|
|
|
:show-inheritance:
|