==============
Custom package
==============

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.

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.

.. contents::

.. automodule:: telethon.tl.custom
    :members:
    :undoc-members:
    :show-inheritance:


AdminLogEvent
=============

.. automodule:: telethon.tl.custom.adminlogevent
    :members:
    :undoc-members:
    :show-inheritance:


Button
======

.. automodule:: telethon.tl.custom.button
    :members:
    :undoc-members:
    :show-inheritance:


ChatGetter
==========

.. automodule:: telethon.tl.custom.chatgetter
    :members:
    :undoc-members:
    :show-inheritance:


Conversation
============

.. automodule:: telethon.tl.custom.conversation
    :members:
    :undoc-members:
    :show-inheritance:


Dialog
======

.. automodule:: telethon.tl.custom.dialog
    :members:
    :undoc-members:
    :show-inheritance:


Draft
=====

.. automodule:: telethon.tl.custom.draft
    :members:
    :undoc-members:
    :show-inheritance:


File
====

.. automodule:: telethon.tl.custom.file
    :members:
    :undoc-members:
    :show-inheritance:


Forward
=======

.. automodule:: telethon.tl.custom.forward
    :members:
    :undoc-members:
    :show-inheritance:


InlineBuilder
=============

.. automodule:: telethon.tl.custom.inlinebuilder
    :members:
    :undoc-members:
    :show-inheritance:


InlineResult
============

.. automodule:: telethon.tl.custom.inlineresult
    :members:
    :undoc-members:
    :show-inheritance:


InlineResults
=============

.. automodule:: telethon.tl.custom.inlineresults
    :members:
    :undoc-members:
    :show-inheritance:


Message
=======

.. automodule:: telethon.tl.custom.message
    :members:
    :undoc-members:
    :show-inheritance:


MessageButton
=============

.. automodule:: telethon.tl.custom.messagebutton
    :members:
    :undoc-members:
    :show-inheritance:


ParticipantPermissions
======================

.. automodule:: telethon.tl.custom.participantpermissions
    :members:
    :undoc-members:
    :show-inheritance:


QRLogin
=======

.. automodule:: telethon.tl.custom.qrlogin
    :members:
    :undoc-members:
    :show-inheritance:


SenderGetter
============

.. automodule:: telethon.tl.custom.sendergetter
    :members:
    :undoc-members:
    :show-inheritance:
