Skip to content

Latest commit

 

History

History
202 lines (144 loc) · 3.08 KB

client-reference.rst

File metadata and controls

202 lines (144 loc) · 3.08 KB

Client Reference

This page contains a summary of all the important methods and properties that you may need when using Telethon. They are sorted by relevance and are not in alphabetical order.

You should use this page to learn about which methods are available, and if you need a usage example or further description of the arguments, be sure to follow the links.

TelegramClient

This is a summary of the methods and properties you will find at telethon-client.

Auth

telethon.client.auth.AuthMethods

start send_code_request sign_in qr_login log_out edit_2fa

Base

connect disconnect is_connected disconnected loop set_proxy

Messages

send_message edit_message delete_messages forward_messages iter_messages get_messages pin_message unpin_message send_read_acknowledge

Uploads

send_file upload_file

Downloads

telethon.client.downloads.DownloadMethods

download_media download_profile_photo download_file iter_download

Dialogs

iter_dialogs get_dialogs edit_folder iter_drafts get_drafts delete_dialog conversation

Users

get_me is_bot is_user_authorized get_entity get_input_entity get_peer_id

Chats

telethon.client.chats.ChatMethods

iter_participants get_participants kick_participant iter_admin_log get_admin_log iter_profile_photos get_profile_photos edit_admin edit_permissions get_permissions get_stats action

Parse Mode

parse_mode

Updates

on run_until_disconnected add_event_handler remove_event_handler list_event_handlers catch_up set_receive_updates

Bots

telethon.client.bots.BotMethods

inline_query

Buttons

telethon.client.buttons.ButtonMethods

build_reply_markup

Account

telethon.client.account.AccountMethods

takeout end_takeout