Telethon
v2
First steps
Installation
Signing in
Next steps
Concepts
Peers, users and chats
Updates
Messages
Sessions
RPC Errors
HTTP Bot API vs MTProto
The Full API
Data centers
Glossary
API reference
Client class
Events and filters
Types
Sessions
Development resources
Changelog (Version History)
Migrating from v1 to v2
Frequently Asked Questions (FAQ)
Contributing
Telethon
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
Y
A
access hash
add_event_handler() (telethon.Client method)
add_photo() (telethon.types.AlbumBuilder method)
add_video() (telethon.types.AlbumBuilder method)
admin_rights (telethon.types.Participant property)
AdminRight (class in telethon.types)
AlbumBuilder (class in telethon.types)
All (class in telethon.events.filters)
answer() (telethon.events.ButtonCallback method)
Any (class in telethon.events.filters)
AsyncList (class in telethon.types)
AsyncReader (class in telethon._impl.mtsender.sender)
AsyncWriter (class in telethon._impl.mtsender.sender)
AUDIO (telethon.events.filters.Media attribute)
audio (telethon.types.Message property)
auth (telethon.session.DataCenter attribute)
authorization (telethon.types.ChannelRef attribute)
(telethon.types.GroupRef attribute)
(telethon.types.PeerRef attribute)
(telethon.types.UserRef attribute)
B
BAN_USERS (telethon.types.AdminRight attribute)
banned (telethon.types.Participant property)
bot (telethon.session.User attribute)
(telethon.types.User property)
Bot API
bot_sign_in() (telethon.Client method)
Button (class in telethon.types)
ButtonCallback (class in telethon.events)
buttons (telethon.types.Message property)
C
Callback (class in telethon.types.buttons)
CallbackAnswer (class in telethon.types)
can_forward (telethon.types.Message property)
CHANGE_INFO (telethon.types.AdminRight attribute)
(telethon.types.ChatRestriction attribute)
Channel (class in telethon.types)
channel_id (telethon.events.MessageDeleted property)
ChannelRef (class in telethon.types)
channels (telethon.session.UpdateState attribute)
ChannelState (class in telethon.session)
chat (telethon.events.MessageRead property)
(telethon.types.Dialog property)
(telethon.types.Draft property)
(telethon.types.Message property)
chat_ids (telethon.events.filters.Chats property)
ChatRestriction (class in telethon.types)
Chats (class in telethon.events.filters)
ChatType (class in telethon.events.filters)
check_password() (telethon.Client method)
click() (telethon.types.buttons.Callback method)
(telethon.types.buttons.Text method)
Client (class in telethon)
client (telethon.events.Event property)
close() (telethon._impl.mtsender.sender.AsyncWriter method)
(telethon.session.MemorySession method)
(telethon.session.SqliteSession method)
(telethon.session.Storage method)
code (telethon.RpcError property)
Combinable (class in telethon._impl.client.events.filters.combinators)
Command (class in telethon.events.filters)
connect() (telethon.Client method)
connected (telethon.Client property)
Connector (class in telethon._impl.mtsender.sender)
Continue (class in telethon.events)
creator (telethon.types.Participant property)
D
Data (class in telethon.events.filters)
data (telethon.events.ButtonCallback property)
(telethon.types.buttons.Callback property)
DataCenter (class in telethon.session)
date (telethon.session.UpdateState attribute)
(telethon.types.Draft property)
(telethon.types.Message property)
dc (telethon.session.User attribute)
dcs (telethon.session.Session attribute)
delete() (telethon.types.Draft method)
(telethon.types.Message method)
delete_dialog() (telethon.Client method)
DELETE_MESSAGES (telethon.types.AdminRight attribute)
delete_messages() (telethon.Client method)
DELETE_STORIES (telethon.types.AdminRight attribute)
description (telethon.types.InlineResult property)
Dialog (class in telethon.types)
disconnect() (telethon.Client method)
download() (telethon.Client method)
(telethon.types.File method)
Draft (class in telethon.types)
draft (telethon.types.Dialog property)
drain() (telethon._impl.mtsender.sender.AsyncWriter method)
E
edit() (telethon.types.Draft method)
(telethon.types.Message method)
edit_draft() (telethon.Client method)
edit_message() (telethon.Client method)
EDIT_MESSAGES (telethon.types.AdminRight attribute)
EDIT_STORIES (telethon.types.AdminRight attribute)
EMBED_LINKS (telethon.types.ChatRestriction attribute)
errors (in module telethon)
Event (class in telethon.events)
ext (telethon.types.File property)
F
File (class in telethon.types)
file (telethon.types.Message property)
filter (telethon.events.filters.Not property)
filters (telethon.events.filters.All property)
(telethon.events.filters.Any property)
first_name (telethon.types.User property)
Forward (class in telethon.events.filters)
forward() (telethon.types.Message method)
forward_info (telethon.types.Message property)
forward_messages() (telethon.Client method)
from_str() (telethon.types.ChannelRef class method)
(telethon.types.GroupRef class method)
(telethon.types.PeerRef class method)
(telethon.types.UserRef class method)
G
get_admin_log() (telethon.Client method)
get_contacts() (telethon.Client method)
get_dialogs() (telethon.Client method)
get_drafts() (telethon.Client method)
get_file_bytes() (telethon.Client method)
get_handler_filter() (telethon.Client method)
get_me() (telethon.Client method)
get_message() (telethon.events.ButtonCallback method)
get_messages() (telethon.Client method)
get_messages_with_ids() (telethon.Client method)
get_participants() (telethon.Client method)
get_profile_photos() (telethon.Client method)
get_replied_message() (telethon.types.Message method)
Group (class in telethon.types)
grouped_id (telethon.types.Message property)
GroupRef (class in telethon.types)
H
height (telethon.types.File property)
hint (telethon.types.PasswordToken property)
HTTP Bot API
I
id (telethon.session.ChannelState attribute)
(telethon.session.DataCenter attribute)
(telethon.session.User attribute)
(telethon.types.Channel property)
(telethon.types.Group property)
(telethon.types.Message property)
(telethon.types.Peer property)
(telethon.types.RecentAction property)
(telethon.types.User property)
identifier (telethon.types.ChannelRef attribute)
(telethon.types.GroupRef attribute)
(telethon.types.PeerRef attribute)
(telethon.types.UserRef attribute)
Incoming (class in telethon.events.filters)
incoming (telethon.types.Message property)
InFileLike (class in telethon._impl.client.types.file)
inline_query() (telethon.Client method)
InlineButton (class in telethon.types)
InlineQuery (class in telethon.events)
InlineResult (class in telethon.types)
interactive_login() (telethon.Client method)
INVITE_USERS (telethon.types.AdminRight attribute)
(telethon.types.ChatRestriction attribute)
ipv4_addr (telethon.session.DataCenter attribute)
ipv6_addr (telethon.session.DataCenter attribute)
is_authorized() (telethon.Client method)
is_megagroup (telethon.types.Group property)
L
last_name (telethon.types.User property)
latest_message (telethon.types.Dialog property)
layer
left (telethon.types.Participant property)
link_preview (telethon.types.Draft property)
(telethon.types.Message property)
load() (telethon.session.MemorySession method)
(telethon.session.SqliteSession method)
(telethon.session.Storage method)
login
LoginToken (class in telethon.types)
M
MANAGE_ADMINS (telethon.types.AdminRight attribute)
MANAGE_CALLS (telethon.types.AdminRight attribute)
MANAGE_TOPICS (telethon.types.AdminRight attribute)
(telethon.types.ChatRestriction attribute)
max_message_id_read (telethon.events.MessageRead property)
Media (class in telethon.events.filters)
MemorySession (class in telethon.session)
Message (class in telethon.types)
message_ids (telethon.events.MessageDeleted property)
MessageDeleted (class in telethon.events)
MessageEdited (class in telethon.events)
MessageRead (class in telethon.events)
module
telethon.events
telethon.events.filters
telethon.session
telethon.types
telethon.types.buttons
MsgId (class in telethon._impl.mtproto.mtp.types)
MTProto
N
name (telethon.RpcError property)
(telethon.types.Channel property)
(telethon.types.File property)
(telethon.types.Group property)
(telethon.types.Peer property)
(telethon.types.User property)
NewMessage (class in telethon.events)
Not (class in telethon.events.filters)
O
on() (telethon.Client method)
OTHER (telethon.types.AdminRight attribute)
OutFileLike (class in telethon._impl.client.types.file)
Outgoing (class in telethon.events.filters)
outgoing (telethon.types.Message property)
P
Participant (class in telethon.types)
PasswordToken (class in telethon.types)
peer
Peer (class in telethon.types)
PeerAuth (class in telethon._impl.session.chat.peer_ref)
PeerIdentifier (class in telethon._impl.session.chat.peer_ref)
PeerRef (class in telethon.types)
phone (telethon.types.User property)
PHOTO (telethon.events.filters.Media attribute)
photo (telethon.types.Message property)
pin() (telethon.types.Message method)
pin_message() (telethon.Client method)
PIN_MESSAGES (telethon.types.AdminRight attribute)
(telethon.types.ChatRestriction attribute)
POST_MESSAGES (telethon.types.AdminRight attribute)
POST_STORIES (telethon.types.AdminRight attribute)
prepare_album() (telethon.Client method)
pts (telethon.session.ChannelState attribute)
(telethon.session.UpdateState attribute)
Q
qts (telethon.session.UpdateState attribute)
query (telethon.types.buttons.SwitchInline property)
R
Raw API
read() (telethon._impl.client.types.file.InFileLike method)
(telethon._impl.mtsender.sender.AsyncReader method)
(telethon.types.Message method)
read_message() (telethon.Client method)
RecentAction (class in telethon.types)
ref (telethon.types.Channel property)
(telethon.types.Group property)
(telethon.types.Peer property)
(telethon.types.User property)
REMAIN_ANONYMOUS (telethon.types.AdminRight attribute)
remove_event_handler() (telethon.Client method)
replied_message_id (telethon.types.Draft property)
(telethon.types.Message property)
Reply (class in telethon.events.filters)
reply() (telethon.types.Message method)
request_login_code() (telethon.Client method)
RequestGeoLocation (class in telethon.types.buttons)
RequestPhone (class in telethon.types.buttons)
RequestPoll (class in telethon.types.buttons)
resolve_peers() (telethon.Client method)
resolve_phone() (telethon.Client method)
resolve_username() (telethon.Client method)
respond() (telethon.types.Message method)
restrictions (telethon.types.Participant property)
RPC
RPC Error
RpcError (class in telethon)
run_until_disconnected() (telethon.Client method)
S
save() (telethon.session.MemorySession method)
(telethon.session.SqliteSession method)
(telethon.session.Storage method)
search_all_messages() (telethon.Client method)
search_messages() (telethon.Client method)
send() (telethon.types.AlbumBuilder method)
(telethon.types.Draft method)
(telethon.types.InlineResult method)
send_audio() (telethon.Client method)
SEND_AUDIOS (telethon.types.ChatRestriction attribute)
SEND_DOCUMENTS (telethon.types.ChatRestriction attribute)
send_file() (telethon.Client method)
SEND_GAMES (telethon.types.ChatRestriction attribute)
SEND_GIFS (telethon.types.ChatRestriction attribute)
SEND_INLINE (telethon.types.ChatRestriction attribute)
SEND_MEDIA (telethon.types.ChatRestriction attribute)
send_message() (telethon.Client method)
SEND_MESSAGES (telethon.types.ChatRestriction attribute)
send_photo() (telethon.Client method)
SEND_PHOTOS (telethon.types.ChatRestriction attribute)
SEND_PLAIN_MESSAGES (telethon.types.ChatRestriction attribute)
SEND_POLLS (telethon.types.ChatRestriction attribute)
SEND_ROUND_VIDEOS (telethon.types.ChatRestriction attribute)
SEND_STICKERS (telethon.types.ChatRestriction attribute)
send_video() (telethon.Client method)
SEND_VIDEOS (telethon.types.ChatRestriction attribute)
SEND_VOICE_NOTES (telethon.types.ChatRestriction attribute)
sender (telethon.types.Message property)
sender_ids (telethon.events.filters.Senders property)
Senders (class in telethon.events.filters)
seq (telethon.session.UpdateState attribute)
session
Session (class in telethon.session)
session (telethon.session.MemorySession attribute)
set_admin_rights() (telethon.types.Participant method)
set_chat_default_restrictions() (telethon.Client method)
set_default_restrictions() (telethon.types.Group method)
set_handler_filter() (telethon.Client method)
set_participant_admin_rights() (telethon.Client method)
set_participant_restrictions() (telethon.Client method)
set_restrictions() (telethon.types.Participant method)
sign in
sign_in() (telethon.Client method)
sign_out() (telethon.Client method)
silent (telethon.types.Message property)
SqliteSession (class in telethon.session)
state (telethon.session.Session attribute)
Storage (class in telethon.session)
SwitchInline (class in telethon.types.buttons)
T
T (in module telethon._impl.client.types.async_list)
telethon.events
module
telethon.events.filters
module
telethon.session
module
telethon.types
module
telethon.types.buttons
module
Text (class in telethon.events.filters)
(class in telethon.types.buttons)
text (telethon.types.Button property)
(telethon.types.buttons.Text property)
(telethon.types.CallbackAnswer property)
(telethon.types.Draft property)
(telethon.types.Message property)
text_html (telethon.types.Draft property)
(telethon.types.Message property)
text_markdown (telethon.types.Draft property)
(telethon.types.Message property)
thumbnails (telethon.types.File property)
timeout (telethon.types.LoginToken property)
title (telethon.types.InlineResult property)
TL
type (telethon.events.filters.ChatType property)
(telethon.types.InlineResult property)
Type Language
types (telethon.events.filters.Media property)
U
unpin() (telethon.types.Message method)
unpin_message() (telethon.Client method)
unread_count (telethon.types.Dialog property)
UpdateState (class in telethon.session)
Url (class in telethon.types.buttons)
url (telethon.types.buttons.Url property)
(telethon.types.CallbackAnswer property)
User (class in telethon.session)
(class in telethon.types)
user (telethon.session.Session attribute)
(telethon.types.Participant property)
username (telethon.session.User attribute)
(telethon.types.Channel property)
(telethon.types.Group property)
(telethon.types.Peer property)
(telethon.types.User property)
UserRef (class in telethon.types)
V
value (telethon.RpcError property)
VERSION (telethon.session.Session attribute)
VIDEO (telethon.events.filters.Media attribute)
video (telethon.types.Message property)
VIEW_MESSAGES (telethon.types.ChatRestriction attribute)
W
wait_closed() (telethon._impl.mtsender.sender.AsyncWriter method)
width (telethon.types.File property)
write() (telethon._impl.client.types.file.OutFileLike method)
(telethon._impl.mtsender.sender.AsyncWriter method)
Y
yourself
Read the Docs
v: v2
Versions
stable
v2
Downloads
pdf
On Read the Docs
Project Home
Builds