SYMBOL INDEX (1346 symbols across 122 files) FILE: readthedocs/conf.py function skip (line 102) | def skip(app, what, name, obj, would_skip, options): function setup (line 116) | def setup(app): FILE: readthedocs/custom_roles.py function make_link_node (line 5) | def make_link_node(rawtext, app, name, options): function tl_role (line 32) | def tl_role(name, rawtext, text, lineno, inliner, options=None, content=... function setup (line 59) | def setup(app): FILE: setup.py class TempWorkDir (line 28) | class TempWorkDir: method __init__ (line 32) | def __init__(self, new=None): method __enter__ (line 36) | def __enter__(self): method __exit__ (line 43) | def __exit__(self, *args): function generate (line 68) | def generate(which, action='gen'): function main (line 156) | def main(argv): FILE: telethon/_updates/entitycache.py class EntityCache (line 7) | class EntityCache: method __init__ (line 8) | def __init__( method set_self_user (line 18) | def set_self_user(self, id, bot, hash): method get (line 24) | def get(self, id): method extend (line 31) | def extend(self, users, chats): method put (line 52) | def put(self, entity): method retain (line 55) | def retain(self, filter): method __len__ (line 58) | def __len__(self): FILE: telethon/_updates/messagebox.py class Sentinel (line 49) | class Sentinel: method __init__ (line 52) | def __init__(self, tag=None): method __repr__ (line 55) | def __repr__(self): function next_updates_deadline (line 71) | def next_updates_deadline(): function epoch (line 74) | def epoch(): class GapError (line 77) | class GapError(ValueError): method __repr__ (line 78) | def __repr__(self): class PrematureEndReason (line 82) | class PrematureEndReason(Enum): class PtsInfo (line 88) | class PtsInfo: method __init__ (line 91) | def __init__( method from_update (line 102) | def from_update(cls, update): method __repr__ (line 118) | def __repr__(self): class State (line 123) | class State: method __init__ (line 126) | def __init__( method __repr__ (line 136) | def __repr__(self): class PossibleGap (line 148) | class PossibleGap: method __init__ (line 151) | def __init__( method __repr__ (line 160) | def __repr__(self): class MessageBox (line 167) | class MessageBox: method __init__ (line 170) | def __init__( method _trace (line 206) | def _trace(self, msg, *args, **kwargs): method load (line 217) | def load(self, session_state, channel_states): method session_state (line 237) | def session_state(self): method is_empty (line 250) | def is_empty(self) -> bool: method check_deadlines (line 256) | def check_deadlines(self): method reset_deadlines (line 297) | def reset_deadlines(self, entries, deadline): method reset_channel_deadline (line 315) | def reset_channel_deadline(self, channel_id, timeout): method set_state (line 322) | def set_state(self, state, reset=True): method try_set_channel_state (line 351) | def try_set_channel_state(self, id, pts): method try_begin_get_diff (line 362) | def try_begin_get_diff(self, entry, reason): method end_get_diff (line 380) | def end_get_diff(self, entry): method process_updates (line 405) | def process_updates( method apply_pts_info (line 514) | def apply_pts_info( method get_difference (line 608) | def get_difference(self): method apply_difference (line 627) | def apply_difference( method apply_difference_type (line 671) | def apply_difference_type( method end_difference (line 702) | def end_difference(self): method get_channel_difference (line 723) | def get_channel_difference( method apply_channel_difference (line 757) | def apply_channel_difference( method end_channel_difference (line 808) | def end_channel_difference(self, request, reason: PrematureEndReason, ... FILE: telethon/_updates/session.py class SessionState (line 6) | class SessionState: method __init__ (line 24) | def __init__( method __repr__ (line 44) | def __repr__(self): class ChannelState (line 48) | class ChannelState: method __init__ (line 57) | def __init__( method __repr__ (line 65) | def __repr__(self): class EntityType (line 69) | class EntityType(IntEnum): method canonical (line 87) | def canonical(self): class Entity (line 104) | class Entity: method __init__ (line 118) | def __init__( method is_user (line 129) | def is_user(self): method is_group (line 136) | def is_group(self): method is_broadcast (line 145) | def is_broadcast(self): method from_str (line 154) | def from_str(cls, string: str): method from_bytes (line 169) | def from_bytes(cls, blob): method __str__ (line 180) | def __str__(self): method __bytes__ (line 183) | def __bytes__(self): method _as_input_peer (line 186) | def _as_input_peer(self): method __repr__ (line 194) | def __repr__(self): FILE: telethon/client/account.py class _TakeoutClient (line 15) | class _TakeoutClient: method __init__ (line 21) | def __init__(self, finalize, client, request): method success (line 31) | def success(self): method success (line 35) | def success(self, value): method __aenter__ (line 38) | async def __aenter__(self): method __aexit__ (line 48) | async def __aexit__(self, exc_type, exc_value, traceback): method __call__ (line 62) | async def __call__(self, request, ordered=False): method __getattribute__ (line 80) | def __getattribute__(self, name): method __getattr__ (line 93) | def __getattr__(self, name): method __setattr__ (line 103) | def __setattr__(self, name, value): class AccountMethods (line 110) | class AccountMethods: method takeout (line 111) | def takeout( method end_takeout (line 222) | async def end_takeout(self: 'TelegramClient', success: bool) -> bool: FILE: telethon/client/auth.py class AuthMethods (line 16) | class AuthMethods: method start (line 20) | def start( method _start (line 131) | async def _start( method _parse_phone_and_hash (line 254) | def _parse_phone_and_hash(self, phone, phone_hash): method sign_in (line 270) | async def sign_in( method sign_up (line 371) | async def sign_up( method _on_login (line 385) | async def _on_login(self, user): method send_code_request (line 409) | async def send_code_request( method qr_login (line 491) | async def qr_login(self: 'TelegramClient', ignored_ids: typing.List[in... method log_out (line 531) | async def log_out(self: 'TelegramClient') -> bool: method edit_2fa (line 559) | async def edit_2fa( method __aenter__ (line 668) | async def __aenter__(self): method __aexit__ (line 671) | async def __aexit__(self, *args): FILE: telethon/client/bots.py class BotMethods (line 10) | class BotMethods: method inline_query (line 11) | async def inline_query( FILE: telethon/client/buttons.py class ButtonMethods (line 7) | class ButtonMethods: method build_reply_markup (line 9) | def build_reply_markup( FILE: telethon/client/chats.py class _ChatAction (line 19) | class _ChatAction: method __init__ (line 45) | def __init__(self, client, chat, action, *, delay, auto_cancel): method __aenter__ (line 55) | async def __aenter__(self): method __aexit__ (line 68) | async def __aexit__(self, *args): method _update (line 82) | async def _update(self): method progress (line 94) | def progress(self, current, total): class _ParticipantsIter (line 99) | class _ParticipantsIter(RequestIter): method _init (line 100) | async def _init(self, entity, filter, search): method _load_next_chunk (line 184) | async def _load_next_chunk(self): class _AdminLogIter (line 241) | class _AdminLogIter(RequestIter): method _init (line 242) | async def _init( method _load_next_chunk (line 275) | async def _load_next_chunk(self): class _ProfilePhotoIter (line 302) | class _ProfilePhotoIter(RequestIter): method _init (line 303) | async def _init( method _load_next_chunk (line 341) | async def _load_next_chunk(self): class ChatMethods (line 395) | class ChatMethods: method iter_participants (line 399) | def iter_participants( method get_participants (line 470) | async def get_participants( method iter_admin_log (line 493) | def iter_admin_log( method get_admin_log (line 641) | async def get_admin_log( method iter_profile_photos (line 661) | def iter_profile_photos( method get_profile_photos (line 707) | async def get_profile_photos( method action (line 728) | def action( method edit_admin (line 825) | async def edit_admin( method edit_permissions (line 974) | async def edit_permissions( method kick_participant (line 1124) | async def kick_participant( method get_permissions (line 1190) | async def get_permissions( method get_stats (line 1258) | async def get_stats( FILE: telethon/client/dialogs.py function _dialog_message_key (line 16) | def _dialog_message_key(peer, message_id): class _DialogsIter (line 27) | class _DialogsIter(RequestIter): method _init (line 28) | async def _init( method _load_next_chunk (line 51) | async def _load_next_chunk(self): class _DraftsIter (line 116) | class _DraftsIter(RequestIter): method _init (line 117) | async def _init(self, entities, **kwargs): method _load_next_chunk (line 139) | async def _load_next_chunk(self): class DialogMethods (line 143) | class DialogMethods: method iter_dialogs (line 147) | def iter_dialogs( method get_dialogs (line 236) | async def get_dialogs(self: 'TelegramClient', *args, **kwargs) -> 'hin... method iter_drafts (line 264) | def iter_drafts( method get_drafts (line 298) | async def get_drafts( method edit_folder (line 322) | async def edit_folder( method delete_dialog (line 405) | async def delete_dialog( method conversation (line 476) | def conversation( FILE: telethon/client/downloads.py class _CdnRedirect (line 31) | class _CdnRedirect(Exception): method __init__ (line 32) | def __init__(self, cdn_redirect=None): class _DirectDownloadIter (line 36) | class _DirectDownloadIter(RequestIter): method _init (line 37) | async def _init( method _load_next_chunk (line 78) | async def _load_next_chunk(self): method _request (line 87) | async def _request(self): method close (line 141) | async def close(self): method __aenter__ (line 153) | async def __aenter__(self): method __aexit__ (line 156) | async def __aexit__(self, *args): class _GenericDownloadIter (line 163) | class _GenericDownloadIter(_DirectDownloadIter): method _load_next_chunk (line 164) | async def _load_next_chunk(self): class DownloadMethods (line 214) | class DownloadMethods: method download_profile_photo (line 218) | async def download_profile_photo( method download_media (line 332) | async def download_media( method download_file (line 453) | async def download_file( method _download_file (line 527) | async def _download_file( method iter_download (line 603) | def iter_download( method _iter_download (line 709) | def _iter_download( method _get_thumb (line 780) | def _get_thumb(thumbs, thumb): method _download_cached_photo_size (line 823) | def _download_cached_photo_size(self: 'TelegramClient', size, file): method _download_photo (line 845) | async def _download_photo(self: 'TelegramClient', photo, file, date, t... method _get_kind_and_names (line 885) | def _get_kind_and_names(attributes): method _download_document (line 908) | async def _download_document( method _download_contact (line 948) | def _download_contact(cls, mm_contact, file): method _download_web_document (line 987) | async def _download_web_document(cls, web, file, progress_callback): method _get_proper_filename (line 1027) | def _get_proper_filename(file, kind, extension, FILE: telethon/client/messageparse.py class MessageParseMethods (line 12) | class MessageParseMethods: method parse_mode (line 17) | def parse_mode(self: 'TelegramClient'): method parse_mode (line 53) | def parse_mode(self: 'TelegramClient', mode: str): method _replace_with_mention (line 60) | async def _replace_with_mention(self: 'TelegramClient', entities, i, u... method _parse_message_text (line 74) | async def _parse_message_text(self: 'TelegramClient', message, parse_m... method _get_response_message (line 113) | def _get_response_message(self: 'TelegramClient', request, result, inp... FILE: telethon/client/messages.py class _MessagesIter (line 16) | class _MessagesIter(RequestIter): method _init (line 20) | async def _init( method _load_next_chunk (line 178) | async def _load_next_chunk(self): method _message_in_range (line 241) | def _message_in_range(self, message): method _update_offset (line 257) | def _update_offset(self, last_message, response): class _IDsIter (line 285) | class _IDsIter(RequestIter): method _init (line 286) | async def _init(self, entity, ids): method _load_next_chunk (line 297) | async def _load_next_chunk(self): class MessageMethods (line 341) | class MessageMethods: method iter_messages (line 347) | def iter_messages( method get_messages (line 557) | async def get_messages( method _get_comment_data (line 614) | async def _get_comment_data( method send_message (line 627) | async def send_message( method forward_messages (line 946) | async def forward_messages( method edit_message (line 1085) | async def edit_message( method delete_messages (line 1263) | async def delete_messages( method send_read_acknowledge (line 1340) | async def send_read_acknowledge( method pin_message (line 1427) | async def pin_message( method unpin_message (line 1468) | async def unpin_message( method _pin (line 1498) | async def _pin(self, entity, message, *, unpin, notify=False, pm_onesi... FILE: telethon/client/telegrambaseclient.py class _ExportState (line 43) | class _ExportState: method __init__ (line 44) | def __init__(self): method add_borrow (line 51) | def add_borrow(self): method add_return (line 55) | def add_return(self): method should_disconnect (line 61) | def should_disconnect(self): method need_connect (line 66) | def need_connect(self): method mark_disconnected (line 69) | def mark_disconnected(self): class TelegramBaseClient (line 75) | class TelegramBaseClient(abc.ABC): method __init__ (line 244) | def __init__( method loop (line 454) | def loop(self: 'TelegramClient') -> asyncio.AbstractEventLoop: method disconnected (line 473) | def disconnected(self: 'TelegramClient') -> asyncio.Future: method flood_sleep_threshold (line 489) | def flood_sleep_threshold(self): method flood_sleep_threshold (line 493) | def flood_sleep_threshold(self, value): method connect (line 501) | async def connect(self: 'TelegramClient') -> None: method is_connected (line 622) | def is_connected(self: 'TelegramClient') -> bool: method disconnect (line 637) | def disconnect(self: 'TelegramClient'): method set_proxy (line 674) | def set_proxy(self: 'TelegramClient', proxy: typing.Union[tuple, dict]): method _save_states_and_entities (line 703) | async def _save_states_and_entities(self: 'TelegramClient'): method _disconnect_coro (line 725) | async def _disconnect_coro(self: 'TelegramClient'): method _disconnect (line 759) | async def _disconnect(self: 'TelegramClient'): method _switch_dc (line 771) | async def _switch_dc(self: 'TelegramClient', new_dc): method _auth_key_callback (line 787) | async def _auth_key_callback(self: 'TelegramClient', auth_key): method _get_dc (line 799) | async def _get_dc(self: 'TelegramClient', dc_id, cdn=False): method _create_exported_sender (line 830) | async def _create_exported_sender(self: 'TelegramClient', dc_id): method _borrow_exported_sender (line 858) | async def _borrow_exported_sender(self: 'TelegramClient', dc_id): method _return_exported_sender (line 890) | async def _return_exported_sender(self: 'TelegramClient', sender): method _clean_exported_senders (line 900) | async def _clean_exported_senders(self: 'TelegramClient'): method _get_cdn_client (line 914) | async def _get_cdn_client(self: 'TelegramClient', cdn_redirect): method __call__ (line 947) | def __call__(self: 'TelegramClient', request, ordered=False): method _update_loop (line 973) | def _update_loop(self: 'TelegramClient'): method _handle_auto_reconnect (line 977) | async def _handle_auto_reconnect(self: 'TelegramClient'): FILE: telethon/client/telegramclient.py class TelegramClient (line 8) | class TelegramClient( FILE: telethon/client/updates.py class OperationalError (line 20) | class OperationalError(Exception): class UpdateMethods (line 37) | class UpdateMethods: method _run_until_disconnected (line 41) | async def _run_until_disconnected(self: 'TelegramClient'): method set_receive_updates (line 54) | async def set_receive_updates(self: 'TelegramClient', receive_updates): method run_until_disconnected (line 65) | def run_until_disconnected(self: 'TelegramClient'): method on (line 112) | def on(self: 'TelegramClient', event: EventBuilder): method add_event_handler (line 139) | def add_event_handler( method remove_event_handler (line 188) | def remove_event_handler( method list_event_handlers (line 227) | def list_event_handlers(self: 'TelegramClient')\ method catch_up (line 248) | async def catch_up(self: 'TelegramClient'): method _update_loop (line 267) | async def _update_loop(self: 'TelegramClient'): method _preprocess_updates (line 507) | async def _preprocess_updates(self, updates, users, chats): method _keepalive_loop (line 516) | async def _keepalive_loop(self: 'TelegramClient'): method _dispatch_update (line 556) | async def _dispatch_update(self: 'TelegramClient', update): method _dispatch_event (line 623) | async def _dispatch_event(self: 'TelegramClient', event): method _handle_auto_reconnect (line 664) | async def _handle_auto_reconnect(self: 'TelegramClient'): class EventBuilderDict (line 710) | class EventBuilderDict: method __init__ (line 714) | def __init__(self, client: 'TelegramClient', update, others): method __getitem__ (line 719) | def __getitem__(self, builder): FILE: telethon/client/uploads.py class _CacheType (line 25) | class _CacheType: method __init__ (line 27) | def __init__(self, cls): method __call__ (line 30) | def __call__(self, *args, **kwargs): method __eq__ (line 33) | def __eq__(self, other): function _resize_photo_if_needed (line 37) | def _resize_photo_if_needed( class UploadMethods (line 109) | class UploadMethods: method send_file (line 113) | async def send_file( method _send_album (line 486) | async def _send_album(self: 'TelegramClient', entity, files, caption='', method upload_file (line 577) | async def upload_file( method _file_to_media (line 765) | async def _file_to_media( FILE: telethon/client/users.py function _fmt_flood (line 18) | def _fmt_flood(delay, request, *, early=False, td=datetime.timedelta): class UserMethods (line 28) | class UserMethods: method __call__ (line 29) | async def __call__(self: 'TelegramClient', request, ordered=False, flo... method _call (line 32) | async def _call(self: 'TelegramClient', sender, request, ordered=False... method get_me (line 144) | async def get_me(self: 'TelegramClient', input_peer: bool = False) \ method _self_id (line 181) | def _self_id(self: 'TelegramClient') -> typing.Optional[int]: method is_bot (line 190) | async def is_bot(self: 'TelegramClient') -> bool: method is_user_authorized (line 207) | async def is_user_authorized(self: 'TelegramClient') -> bool: method get_entity (line 229) | async def get_entity( method get_input_entity (line 354) | async def get_input_entity( method _get_peer (line 482) | async def _get_peer(self: 'TelegramClient', peer: 'hints.EntityLike'): method get_peer_id (line 486) | async def get_peer_id( method _get_entity_from_string (line 523) | async def _get_entity_from_string(self: 'TelegramClient', string): method _get_input_dialog (line 587) | async def _get_input_dialog(self: 'TelegramClient', dialog): method _get_input_notify (line 604) | async def _get_input_notify(self: 'TelegramClient', notify): FILE: telethon/crypto/aes.py class AES (line 29) | class AES: method decrypt_ige (line 35) | def decrypt_ige(cipher_text, key, iv): method encrypt_ige (line 72) | def encrypt_ige(plain_text, key, iv): FILE: telethon/crypto/aesctr.py class AESModeCTR (line 7) | class AESModeCTR: method __init__ (line 11) | def __init__(self, key, iv): method encrypt (line 26) | def encrypt(self, data): method decrypt (line 35) | def decrypt(self, data): FILE: telethon/crypto/authkey.py class AuthKey (line 10) | class AuthKey: method __init__ (line 15) | def __init__(self, data): method key (line 24) | def key(self): method key (line 28) | def key(self, value): method calc_new_nonce_hash (line 45) | def calc_new_nonce_hash(self, new_nonce, number): method __bool__ (line 59) | def __bool__(self): method __eq__ (line 62) | def __eq__(self, other): FILE: telethon/crypto/cdndecrypter.py class CdnDecrypter (line 12) | class CdnDecrypter: method __init__ (line 18) | def __init__(self, cdn_client, file_token, cdn_aes, cdn_file_hashes): method prepare_decrypter (line 33) | async def prepare_decrypter(client, cdn_client, cdn_redirect): method get_file (line 76) | def get_file(self): method check (line 96) | def check(data, cdn_hash): FILE: telethon/crypto/factorization.py class Factorization (line 7) | class Factorization: method factorize (line 12) | def factorize(cls, pq): method gcd (line 56) | def gcd(a, b): FILE: telethon/crypto/libssl.py function _find_ssl_lib (line 18) | def _find_ssl_lib(): class AES_KEY (line 91) | class AES_KEY(ctypes.Structure): function decrypt_ige (line 98) | def decrypt_ige(cipher_text, key, iv): function encrypt_ige (line 120) | def encrypt_ige(plain_text, key, iv): FILE: telethon/crypto/rsa.py function get_byte_array (line 21) | def get_byte_array(integer): function _compute_fingerprint (line 37) | def _compute_fingerprint(key): function add_key (line 50) | def add_key(pub, *, old): function encrypt (line 57) | def encrypt(fingerprint, data, *, use_old=False): FILE: telethon/errors/__init__.py function rpc_message_to_error (line 18) | def rpc_message_to_error(rpc_error, request): FILE: telethon/errors/common.py class ReadCancelledError (line 8) | class ReadCancelledError(Exception): method __init__ (line 10) | def __init__(self): class TypeNotFoundError (line 14) | class TypeNotFoundError(Exception): method __init__ (line 19) | def __init__(self, invalid_constructor_id, remaining): class InvalidChecksumError (line 30) | class InvalidChecksumError(Exception): method __init__ (line 35) | def __init__(self, checksum, valid_checksum): class InvalidBufferError (line 45) | class InvalidBufferError(BufferError): method __init__ (line 50) | def __init__(self, payload): class AuthKeyNotFound (line 62) | class AuthKeyNotFound(Exception): method __init__ (line 74) | def __init__(self): class SecurityError (line 78) | class SecurityError(Exception): method __init__ (line 82) | def __init__(self, *args): class CdnFileTamperedError (line 88) | class CdnFileTamperedError(SecurityError): method __init__ (line 93) | def __init__(self): class AlreadyInConversationError (line 99) | class AlreadyInConversationError(Exception): method __init__ (line 103) | def __init__(self): class BadMessageError (line 110) | class BadMessageError(Exception): method __init__ (line 149) | def __init__(self, request, code): class MultiError (line 157) | class MultiError(Exception): method __new__ (line 160) | def __new__(cls, exceptions, result, requests): FILE: telethon/errors/rpcbaseerrors.py class RPCError (line 13) | class RPCError(Exception): method __init__ (line 18) | def __init__(self, request, message, code=None): method _fmt_request (line 27) | def _fmt_request(request): method __reduce__ (line 38) | def __reduce__(self): class InvalidDCError (line 42) | class InvalidDCError(RPCError): class BadRequestError (line 50) | class BadRequestError(RPCError): class UnauthorizedError (line 60) | class UnauthorizedError(RPCError): class ForbiddenError (line 69) | class ForbiddenError(RPCError): class NotFoundError (line 78) | class NotFoundError(RPCError): class AuthKeyError (line 86) | class AuthKeyError(RPCError): class FloodError (line 95) | class FloodError(RPCError): class ServerError (line 106) | class ServerError(RPCError): class TimedOutError (line 116) | class TimedOutError(RPCError): FILE: telethon/events/__init__.py class StopPropagation (line 16) | class StopPropagation(Exception): function register (line 43) | def register(event=None): function unregister (line 87) | def unregister(callback, event=None): function is_handler (line 120) | def is_handler(callback): function list (line 128) | def list(callback): function _get_handlers (line 136) | def _get_handlers(callback): FILE: telethon/events/album.py class AlbumHack (line 22) | class AlbumHack: method __init__ (line 35) | def __init__(self, client, event): method extend (line 44) | def extend(self, messages): method deliver_event (line 50) | async def deliver_event(self): class Album (line 68) | class Album(EventBuilder): method __init__ (line 94) | def __init__( method build (line 99) | def build(cls, update, others=None, self_id=None): method filter (line 140) | def filter(self, event): class Event (line 145) | class Event(EventCommon, SenderGetter): method __init__ (line 153) | def __init__(self, messages): method _set_client (line 160) | def _set_client(self, client): method grouped_id (line 177) | def grouped_id(self): method text (line 184) | def text(self): method raw_text (line 192) | def raw_text(self): method is_reply (line 200) | def is_reply(self): method forward (line 212) | def forward(self): method get_reply_message (line 224) | async def get_reply_message(self): method respond (line 233) | async def respond(self, *args, **kwargs): method reply (line 241) | async def reply(self, *args, **kwargs): method forward_to (line 249) | async def forward_to(self, *args, **kwargs): method edit (line 260) | async def edit(self, *args, **kwargs): method delete (line 288) | async def delete(self, *args, **kwargs): method mark_read (line 302) | async def mark_read(self): method pin (line 313) | async def pin(self, *, notify=False): method __len__ (line 321) | def __len__(self): method __iter__ (line 329) | def __iter__(self): method __getitem__ (line 337) | def __getitem__(self, n): FILE: telethon/events/callbackquery.py class CallbackQuery (line 11) | class CallbackQuery(EventBuilder): method __init__ (line 58) | def __init__( method build (line 90) | def build(cls, update, others=None, self_id=None): method filter (line 100) | def filter(self, event): class Event (line 126) | class Event(EventCommon, SenderGetter): method __init__ (line 142) | def __init__(self, query, peer, msg_id): method _set_client (line 151) | def _set_client(self, client): method id (line 157) | def id(self): method message_id (line 165) | def message_id(self): method data (line 172) | def data(self): method chat_instance (line 179) | def chat_instance(self): method get_message (line 186) | async def get_message(self): method _refetch_sender (line 202) | async def _refetch_sender(self): method answer (line 219) | async def answer( method via_inline (line 256) | def via_inline(self): method respond (line 270) | async def respond(self, *args, **kwargs): method reply (line 284) | async def reply(self, *args, **kwargs): method edit (line 299) | async def edit(self, *args, **kwargs): method delete (line 326) | async def delete(self, *args, **kwargs): FILE: telethon/events/chataction.py class ChatAction (line 7) | class ChatAction(EventBuilder): method build (line 35) | def build(cls, update, others=None, self_id=None): class Event (line 122) | class Event(EventCommon): method __init__ (line 164) | def __init__(self, where, new_photo=None, method _set_client (line 219) | def _set_client(self, client): method respond (line 224) | async def respond(self, *args, **kwargs): method reply (line 233) | async def reply(self, *args, **kwargs): method delete (line 248) | async def delete(self, *args, **kwargs): method get_pinned_message (line 266) | async def get_pinned_message(self): method get_pinned_messages (line 277) | async def get_pinned_messages(self): method added_by (line 293) | def added_by(self): method get_added_by (line 304) | async def get_added_by(self): method kicked_by (line 314) | def kicked_by(self): method get_kicked_by (line 325) | async def get_kicked_by(self): method user (line 335) | def user(self): method get_user (line 345) | async def get_user(self): method input_user (line 353) | def input_user(self): method get_input_user (line 360) | async def get_input_user(self): method user_id (line 368) | def user_id(self): method users (line 376) | def users(self): method get_users (line 395) | async def get_users(self): method input_users (line 412) | def input_users(self): method get_input_users (line 436) | async def get_input_users(self): method user_ids (line 453) | def user_ids(self): FILE: telethon/events/common.py function _into_id_set (line 10) | async def _into_id_set(client, chats): class EventBuilder (line 41) | class EventBuilder(abc.ABC): method __init__ (line 68) | def __init__(self, chats=None, *, blacklist_chats=False, func=None): method build (line 77) | def build(cls, update, others=None, self_id=None): method resolve (line 89) | async def resolve(self, client): method _resolve (line 102) | async def _resolve(self, client): method filter (line 105) | def filter(self, event): class EventCommon (line 130) | class EventCommon(ChatGetter, abc.ABC): method __init__ (line 143) | def __init__(self, chat_peer=None, msg_id=None, broadcast=None): method _set_client (line 150) | def _set_client(self, client): method client (line 162) | def client(self): method __str__ (line 168) | def __str__(self): method stringify (line 171) | def stringify(self): method to_dict (line 174) | def to_dict(self): function name_inner_event (line 180) | def name_inner_event(cls): FILE: telethon/events/inlinequery.py class InlineQuery (line 13) | class InlineQuery(EventBuilder): method __init__ (line 50) | def __init__( method build (line 64) | def build(cls, update, others=None, self_id=None): method filter (line 68) | def filter(self, event): class Event (line 77) | class Event(EventCommon, SenderGetter): method __init__ (line 92) | def __init__(self, query): method _set_client (line 99) | def _set_client(self, client): method id (line 105) | def id(self): method text (line 112) | def text(self): method offset (line 119) | def offset(self): method geo (line 127) | def geo(self): method builder (line 136) | def builder(self): method answer (line 143) | async def answer( method _as_future (line 241) | def _as_future(obj): FILE: telethon/events/messagedeleted.py class MessageDeleted (line 6) | class MessageDeleted(EventBuilder): method build (line 39) | def build(cls, update, others=None, self_id=None): class Event (line 51) | class Event(EventCommon): method __init__ (line 52) | def __init__(self, deleted_ids, peer): FILE: telethon/events/messageedited.py class MessageEdited (line 7) | class MessageEdited(NewMessage): method build (line 46) | def build(cls, update, others=None, self_id=None): class Event (line 51) | class Event(NewMessage.Event): FILE: telethon/events/messageread.py class MessageRead (line 7) | class MessageRead(EventBuilder): method __init__ (line 32) | def __init__( method build (line 38) | def build(cls, update, others=None, self_id=None): method filter (line 57) | def filter(self, event): class Event (line 63) | class Event(EventCommon): method __init__ (line 80) | def __init__(self, peer=None, max_id=None, out=False, contents=False, method inbox (line 90) | def inbox(self): method message_ids (line 97) | def message_ids(self): method get_messages (line 106) | async def get_messages(self): method is_read (line 124) | def is_read(self, message): method __contains__ (line 138) | def __contains__(self, message): FILE: telethon/events/newmessage.py class NewMessage (line 9) | class NewMessage(EventBuilder): method __init__ (line 59) | def __init__(self, chats=None, *, blacklist_chats=False, func=None, method _resolve (line 92) | async def _resolve(self, client): method build (line 97) | def build(cls, update, others=None, self_id=None): method filter (line 142) | def filter(self, event): class Event (line 166) | class Event(EventCommon): method __init__ (line 199) | def __init__(self, message): method _set_client (line 207) | def _set_client(self, client): method __getattr__ (line 213) | def __getattr__(self, item): method __setattr__ (line 219) | def __setattr__(self, name, value): FILE: telethon/events/raw.py class Raw (line 5) | class Raw(EventBuilder): method __init__ (line 26) | def __init__(self, types=None, *, func=None): method resolve (line 41) | async def resolve(self, client): method build (line 45) | def build(cls, update, others=None, self_id=None): method filter (line 48) | def filter(self, event): FILE: telethon/events/userupdate.py function _requires_action (line 19) | def _requires_action(function): function _requires_status (line 27) | def _requires_status(function): class UserUpdate (line 36) | class UserUpdate(EventBuilder): method build (line 52) | def build(cls, update, others=None, self_id=None): class Event (line 68) | class Event(EventCommon, SenderGetter): method __init__ (line 88) | def __init__(self, peer, *, status=None, chat_peer=None, typing=None): method _set_client (line 95) | def _set_client(self, client): method user (line 101) | def user(self): method get_user (line 105) | async def get_user(self): method input_user (line 110) | def input_user(self): method get_input_user (line 114) | async def get_input_user(self): method user_id (line 119) | def user_id(self): method typing (line 125) | def typing(self): method uploading (line 133) | def uploading(self): method recording (line 149) | def recording(self): method playing (line 161) | def playing(self): method cancel (line 169) | def cancel(self): method geo (line 177) | def geo(self): method audio (line 185) | def audio(self): method round (line 196) | def round(self): method video (line 207) | def video(self): method contact (line 218) | def contact(self): method document (line 226) | def document(self): method sticker (line 234) | def sticker(self): method photo (line 242) | def photo(self): method last_seen (line 250) | def last_seen(self): method until (line 259) | def until(self): method _last_seen_delta (line 266) | def _last_seen_delta(self): method online (line 282) | def online(self): method recently (line 290) | def recently(self): method within_weeks (line 298) | def within_weeks(self): method within_months (line 306) | def within_months(self): FILE: telethon/extensions/binaryreader.py class BinaryReader (line 16) | class BinaryReader: method __init__ (line 21) | def __init__(self, data): method read_byte (line 30) | def read_byte(self): method read_int (line 36) | def read_int(self, signed=True): method read_long (line 43) | def read_long(self, signed=True): method read_float (line 50) | def read_float(self): method read_double (line 56) | def read_double(self): method read_large_int (line 62) | def read_large_int(self, bits, signed=True): method read (line 67) | def read(self, length=-1): method get_bytes (line 84) | def get_bytes(self): method tgread_bytes (line 92) | def tgread_bytes(self): method tgread_string (line 113) | def tgread_string(self): method tgread_bool (line 117) | def tgread_bool(self): method tgread_date (line 127) | def tgread_date(self): method tgread_object (line 134) | def tgread_object(self): method tgread_vector (line 160) | def tgread_vector(self): method close (line 170) | def close(self): method tell_position (line 176) | def tell_position(self): method set_position (line 180) | def set_position(self, position): method seek (line 184) | def seek(self, offset): method __enter__ (line 195) | def __enter__(self): method __exit__ (line 198) | def __exit__(self, exc_type, exc_val, exc_tb): FILE: telethon/extensions/html.py class HTMLToTelegramParser (line 20) | class HTMLToTelegramParser(HTMLParser): method __init__ (line 21) | def __init__(self): method handle_starttag (line 29) | def handle_starttag(self, tag, attrs): method handle_data (line 97) | def handle_data(self, text): method handle_endtag (line 109) | def handle_endtag(self, tag): function parse (line 120) | def parse(html: str) -> Tuple[str, List[TypeMessageEntity]]: function unparse (line 161) | def unparse(text: str, entities: Iterable[TypeMessageEntity]) -> str: FILE: telethon/extensions/markdown.py function parse (line 29) | def parse(message, delimiters=None, url_re=None): function unparse (line 137) | def unparse(text, entities, delimiters=None, url_fmt=None): FILE: telethon/extensions/messagepacker.py class MessagePacker (line 11) | class MessagePacker: method __init__ (line 25) | def __init__(self, state, loggers): method append (line 31) | def append(self, state): method extend (line 35) | def extend(self, states): method get (line 39) | async def get(self): FILE: telethon/helpers.py class _EntityType (line 15) | class _EntityType(enum.Enum): function generate_random_long (line 27) | def generate_random_long(signed=True): function ensure_parent_dir_exists (line 32) | def ensure_parent_dir_exists(file_path): function add_surrogate (line 39) | def add_surrogate(text): function del_surrogate (line 48) | def del_surrogate(text): function within_surrogate (line 52) | def within_surrogate(text, index, *, length=None): function strip_text (line 66) | def strip_text(text, entities): function retry_range (line 140) | def retry_range(retries, force_retry=True): function _maybe_await (line 159) | async def _maybe_await(value): function _cancel (line 166) | async def _cancel(log, **tasks): function _sync_enter (line 203) | def _sync_enter(self): function _sync_exit (line 222) | def _sync_exit(self, *args): function _entity_type (line 231) | def _entity_type(entity): function generate_key_data_from_nonce (line 271) | def generate_key_data_from_nonce(server_nonce, new_nonce): class TotalList (line 289) | class TotalList(list): method __init__ (line 312) | def __init__(self, *args, **kwargs): method __str__ (line 316) | def __str__(self): method __repr__ (line 320) | def __repr__(self): class _FileStream (line 325) | class _FileStream(io.IOBase): method __init__ (line 335) | def __init__(self, file, *, file_size=None): method __aenter__ (line 345) | async def __aenter__(self): method __aexit__ (line 389) | async def __aexit__(self, exc_type, exc_val, exc_tb): method file_size (line 394) | def file_size(self): method name (line 398) | def name(self): method read (line 402) | def read(self, *args, **kwargs): return self._stream.read(*args, **kwa... method readinto (line 403) | def readinto(self, *args, **kwargs): return self._stream.readinto(*arg... method write (line 404) | def write(self, *args, **kwargs): return self._stream.write(*args, **k... method fileno (line 405) | def fileno(self, *args, **kwargs): return self._stream.fileno(*args, *... method flush (line 406) | def flush(self, *args, **kwargs): return self._stream.flush(*args, **k... method isatty (line 407) | def isatty(self, *args, **kwargs): return self._stream.isatty(*args, *... method readable (line 408) | def readable(self, *args, **kwargs): return self._stream.readable(*arg... method readline (line 409) | def readline(self, *args, **kwargs): return self._stream.readline(*arg... method readlines (line 410) | def readlines(self, *args, **kwargs): return self._stream.readlines(*a... method seek (line 411) | def seek(self, *args, **kwargs): return self._stream.seek(*args, **kwa... method seekable (line 412) | def seekable(self, *args, **kwargs): return self._stream.seekable(*arg... method tell (line 413) | def tell(self, *args, **kwargs): return self._stream.tell(*args, **kwa... method truncate (line 414) | def truncate(self, *args, **kwargs): return self._stream.truncate(*arg... method writable (line 415) | def writable(self, *args, **kwargs): return self._stream.writable(*arg... method writelines (line 416) | def writelines(self, *args, **kwargs): return self._stream.writelines(... method close (line 422) | def close(self, *args, **kwargs): function get_running_loop (line 427) | def get_running_loop(): FILE: telethon/network/authenticator.py function do_authentication (line 22) | async def do_authentication(sender): function get_int (line 203) | def get_int(byte_array, signed=True): FILE: telethon/network/connection/connection.py class Connection (line 20) | class Connection(abc.ABC): method __init__ (line 36) | def __init__(self, ip, port, dc_id, *, loggers, proxy=None, local_addr... method _wrap_socket_ssl (line 54) | def _wrap_socket_ssl(sock): method _parse_proxy (line 68) | def _parse_proxy(proxy_type, addr, port, rdns=True, username=None, pas... method _proxy_connect (line 106) | async def _proxy_connect(self, timeout=None, local_addr=None): method _connect (line 207) | async def _connect(self, timeout=None, ssl=None): method connect (line 246) | async def connect(self, timeout=None, ssl=None): method disconnect (line 257) | async def disconnect(self): method send (line 290) | def send(self, data): method recv (line 301) | async def recv(self): method _send_loop (line 316) | async def _send_loop(self): method _recv_loop (line 334) | async def _recv_loop(self): method _init_conn (line 364) | def _init_conn(self): method _send (line 376) | def _send(self, data): method _recv (line 379) | async def _recv(self): method __str__ (line 382) | def __str__(self): class ObfuscatedConnection (line 389) | class ObfuscatedConnection(Connection): method _init_conn (line 398) | def _init_conn(self): method _send (line 402) | def _send(self, data): method _recv (line 405) | async def _recv(self): class PacketCodec (line 409) | class PacketCodec(abc.ABC): method __init__ (line 421) | def __init__(self, connection): method encode_packet (line 428) | def encode_packet(self, data): method read_packet (line 435) | async def read_packet(self, reader): FILE: telethon/network/connection/http.py class HttpPacketCodec (line 9) | class HttpPacketCodec(PacketCodec): method encode_packet (line 13) | def encode_packet(self, data): method read_packet (line 23) | async def read_packet(self, reader): class ConnectionHttp (line 35) | class ConnectionHttp(Connection): method connect (line 38) | async def connect(self, timeout=None, ssl=None): FILE: telethon/network/connection/tcpabridged.py class AbridgedPacketCodec (line 6) | class AbridgedPacketCodec(PacketCodec): method encode_packet (line 10) | def encode_packet(self, data): method read_packet (line 18) | async def read_packet(self, reader): class ConnectionTcpAbridged (line 27) | class ConnectionTcpAbridged(Connection): FILE: telethon/network/connection/tcpfull.py class FullPacketCodec (line 9) | class FullPacketCodec(PacketCodec): method __init__ (line 12) | def __init__(self, connection): method encode_packet (line 16) | def encode_packet(self, data): method read_packet (line 25) | async def read_packet(self, reader): class ConnectionTcpFull (line 54) | class ConnectionTcpFull(Connection): FILE: telethon/network/connection/tcpintermediate.py class IntermediatePacketCodec (line 8) | class IntermediatePacketCodec(PacketCodec): method encode_packet (line 12) | def encode_packet(self, data): method read_packet (line 15) | async def read_packet(self, reader): class RandomizedIntermediatePacketCodec (line 20) | class RandomizedIntermediatePacketCodec(IntermediatePacketCodec): method encode_packet (line 28) | def encode_packet(self, data): method read_packet (line 33) | async def read_packet(self, reader): class ConnectionTcpIntermediate (line 41) | class ConnectionTcpIntermediate(Connection): FILE: telethon/network/connection/tcpmtproxy.py class MTProxyIO (line 16) | class MTProxyIO: method __init__ (line 23) | def __init__(self, connection): method init_header (line 33) | def init_header(secret, dc_id, packet_codec): method readexactly (line 76) | async def readexactly(self, n): method write (line 79) | def write(self, data): class TcpMTProxy (line 83) | class TcpMTProxy(ObfuscatedConnection): method __init__ (line 99) | def __init__(self, ip, port, dc_id, *, loggers, proxy=None, local_addr... method _connect (line 106) | async def _connect(self, timeout=None, ssl=None): method address_info (line 129) | def address_info(proxy_info): method normalize_secret (line 135) | def normalize_secret(secret): class ConnectionTcpMTProxyAbridged (line 147) | class ConnectionTcpMTProxyAbridged(TcpMTProxy): class ConnectionTcpMTProxyIntermediate (line 154) | class ConnectionTcpMTProxyIntermediate(TcpMTProxy): class ConnectionTcpMTProxyRandomizedIntermediate (line 161) | class ConnectionTcpMTProxyRandomizedIntermediate(TcpMTProxy): FILE: telethon/network/connection/tcpobfuscated.py class ObfuscatedIO (line 9) | class ObfuscatedIO: method __init__ (line 12) | def __init__(self, connection): method init_header (line 21) | def init_header(packet_codec): method readexactly (line 47) | async def readexactly(self, n): method write (line 50) | def write(self, data): class ConnectionTcpObfuscated (line 54) | class ConnectionTcpObfuscated(ObfuscatedConnection): FILE: telethon/network/mtprotoplainsender.py class MTProtoPlainSender (line 12) | class MTProtoPlainSender: method __init__ (line 17) | def __init__(self, connection, *, loggers): method send (line 26) | async def send(self, request): FILE: telethon/network/mtprotosender.py class MTProtoSender (line 33) | class MTProtoSender: method __init__ (line 48) | def __init__(self, auth_key, *, loggers, method connect (line 123) | async def connect(self, connection): method is_connected (line 137) | def is_connected(self): method _transport_connected (line 140) | def _transport_connected(self): method disconnect (line 147) | async def disconnect(self): method send (line 154) | def send(self, request, ordered=False): method disconnected (line 209) | def disconnected(self): method _disconnected (line 220) | def _disconnected(self): method _connect (line 228) | async def _connect(self): method _try_connect (line 287) | async def _try_connect(self, attempt): method _try_gen_auth_key (line 299) | async def _try_gen_auth_key(self, attempt): method _disconnect (line 320) | async def _disconnect(self, error=None): method _reconnect (line 354) | async def _reconnect(self, last_error): method _start_reconnect (line 423) | def _start_reconnect(self, error): method _keepalive_ping (line 438) | def _keepalive_ping(self, rnd_id): method _send_loop (line 452) | async def _send_loop(self): method _recv_loop (line 503) | async def _recv_loop(self): method _process_message (line 568) | async def _process_message(self, message): method _pop_states (line 579) | def _pop_states(self, msg_id): method _handle_rpc_result (line 603) | async def _handle_rpc_result(self, message): method _handle_container (line 657) | async def _handle_container(self, message): method _handle_gzip_packed (line 667) | async def _handle_gzip_packed(self, message): method _handle_update (line 678) | async def _handle_update(self, message): method _store_own_updates (line 692) | def _store_own_updates(self, obj, *, _update_ids=frozenset(( method _handle_pong (line 731) | async def _handle_pong(self, message): method _handle_bad_server_salt (line 747) | async def _handle_bad_server_salt(self, message): method _handle_bad_notification (line 763) | async def _handle_bad_notification(self, message): method _handle_detailed_info (line 799) | async def _handle_detailed_info(self, message): method _handle_new_detailed_info (line 811) | async def _handle_new_detailed_info(self, message): method _handle_new_session_created (line 823) | async def _handle_new_session_created(self, message): method _handle_ack (line 834) | async def _handle_ack(self, message): method _handle_future_salts (line 858) | async def _handle_future_salts(self, message): method _handle_state_forgotten (line 873) | async def _handle_state_forgotten(self, message): method _handle_msg_all (line 882) | async def _handle_msg_all(self, message): method _handle_destroy_session (line 887) | async def _handle_destroy_session(self, message): method _handle_destroy_auth_key (line 903) | async def _handle_destroy_auth_key(self, message): FILE: telethon/network/mtprotostate.py class _OpaqueRequest (line 27) | class _OpaqueRequest(TLRequest): method __init__ (line 31) | def __init__(self, data: bytes): method _bytes (line 34) | def _bytes(self): class MTProtoState (line 39) | class MTProtoState: method __init__ (line 62) | def __init__(self, auth_key, loggers): method reset (line 74) | def reset(self): method update_message_id (line 86) | def update_message_id(self, message): method _calc_key (line 94) | def _calc_key(auth_key, msg_key, client): method write_data_as_message (line 109) | def write_data_as_message(self, buffer, data, content_related, method encrypt_message_data (line 130) | def encrypt_message_data(self, data): method decrypt_message_data (line 151) | def decrypt_message_data(self, body): method _count_ignored (line 232) | def _count_ignored(self): method _get_new_msg_id (line 239) | def _get_new_msg_id(self): method update_time_offset (line 254) | def update_time_offset(self, correct_msg_id): method _get_seq_no (line 275) | def _get_seq_no(self, content_related): FILE: telethon/network/requeststate.py class RequestState (line 4) | class RequestState: method __init__ (line 13) | def __init__(self, request, after=None): FILE: telethon/password.py function check_prime_and_good_check (line 8) | def check_prime_and_good_check(prime: int, g: int): function check_prime_and_good (line 45) | def check_prime_and_good(prime_bytes: bytes, g: int): function is_good_large (line 71) | def is_good_large(number: int, p: int) -> bool: function num_bytes_for_hash (line 78) | def num_bytes_for_hash(number: bytes) -> bytes: function big_num_for_hash (line 82) | def big_num_for_hash(g: int) -> bytes: function sha256 (line 86) | def sha256(*p: bytes) -> bytes: function is_good_mod_exp_first (line 93) | def is_good_mod_exp_first(modexp, prime) -> bool: function xor (line 105) | def xor(a: bytes, b: bytes) -> bytes: function pbkdf2sha512 (line 109) | def pbkdf2sha512(password: bytes, salt: bytes, iterations: int): function compute_hash (line 113) | def compute_hash(algo: types.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512... function compute_digest (line 121) | def compute_digest(algo: types.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA5... function compute_check (line 136) | def compute_check(request: types.account.Password, password: str): FILE: telethon/requestiter.py class RequestIter (line 8) | class RequestIter(abc.ABC): method __init__ (line 29) | def __init__(self, client, limit, *, reverse=False, wait_time=None, **... method _init (line 41) | async def _init(self, **kwargs): method __anext__ (line 55) | async def __anext__(self): method __next__ (line 85) | def __next__(self): method __aiter__ (line 91) | def __aiter__(self): method __iter__ (line 98) | def __iter__(self): method collect (line 107) | async def collect(self): method _load_next_chunk (line 120) | async def _load_next_chunk(self): method __reversed__ (line 132) | def __reversed__(self): FILE: telethon/sessions/abstract.py class Session (line 4) | class Session(ABC): method __init__ (line 5) | def __init__(self): method clone (line 8) | def clone(self, to_instance=None): method set_dc (line 15) | def set_dc(self, dc_id, server_address, port): method dc_id (line 25) | def dc_id(self): method server_address (line 33) | def server_address(self): method port (line 41) | def port(self): method auth_key (line 49) | def auth_key(self): method auth_key (line 58) | def auth_key(self, value): method takeout_id (line 66) | def takeout_id(self): method takeout_id (line 75) | def takeout_id(self, value): method get_update_state (line 82) | def get_update_state(self, entity_id): method set_update_state (line 92) | def set_update_state(self, entity_id, state): method get_update_states (line 101) | def get_update_states(self): method close (line 106) | def close(self): method save (line 113) | def save(self): method delete (line 121) | def delete(self): method list_sessions (line 129) | def list_sessions(cls): method process_entities (line 136) | def process_entities(self, tlo): method get_input_entity (line 144) | def get_input_entity(self, key): method cache_file (line 154) | def cache_file(self, md5_digest, file_size, instance): method get_file (line 165) | def get_file(self, md5_digest, file_size, cls): FILE: telethon/sessions/memory.py class _SentFileType (line 13) | class _SentFileType(Enum): method from_type (line 18) | def from_type(cls): class MemorySession (line 27) | class MemorySession(Session): method __init__ (line 28) | def __init__(self): method set_dc (line 42) | def set_dc(self, dc_id, server_address, port): method dc_id (line 48) | def dc_id(self): method server_address (line 52) | def server_address(self): method port (line 56) | def port(self): method auth_key (line 60) | def auth_key(self): method tmp_auth_key (line 64) | def tmp_auth_key(self): method auth_key (line 68) | def auth_key(self, value): method tmp_auth_key (line 72) | def tmp_auth_key(self, value): method takeout_id (line 76) | def takeout_id(self): method takeout_id (line 80) | def takeout_id(self, value): method get_update_state (line 83) | def get_update_state(self, entity_id): method set_update_state (line 86) | def set_update_state(self, entity_id, state): method get_update_states (line 89) | def get_update_states(self): method close (line 92) | def close(self): method save (line 95) | def save(self): method delete (line 98) | def delete(self): method _entity_values_to_row (line 102) | def _entity_values_to_row(id, hash, username, phone, name): method _entity_to_row (line 108) | def _entity_to_row(self, e): method _entities_to_rows (line 137) | def _entities_to_rows(self, tlo): method process_entities (line 159) | def process_entities(self, tlo): method get_entity_rows_by_phone (line 162) | def get_entity_rows_by_phone(self, phone): method get_entity_rows_by_username (line 169) | def get_entity_rows_by_username(self, username): method get_entity_rows_by_name (line 176) | def get_entity_rows_by_name(self, name): method get_entity_rows_by_id (line 183) | def get_entity_rows_by_id(self, id, exact=True): method get_input_entity (line 199) | def get_input_entity(self, key): method cache_file (line 248) | def cache_file(self, md5_digest, file_size, instance): method get_file (line 255) | def get_file(self, md5_digest, file_size, cls): FILE: telethon/sessions/sqlite.py class SQLiteSession (line 24) | class SQLiteSession(MemorySession): method __init__ (line 33) | def __init__(self, session_id=None, store_tmp_auth_key_on_disk:bool=Fa... method clone (line 117) | def clone(self, to_instance=None): method _upgrade_database (line 122) | def _upgrade_database(self, old): method _create_table (line 166) | def _create_table(c, *definitions): method set_dc (line 172) | def set_dc(self, dc_id, server_address, port): method auth_key (line 189) | def auth_key(self, value): method tmp_auth_key (line 194) | def tmp_auth_key(self, value): method takeout_id (line 199) | def takeout_id(self, value): method _update_session_table (line 203) | def _update_session_table(self): method get_update_state (line 221) | def get_update_state(self, entity_id): method set_update_state (line 230) | def set_update_state(self, entity_id, state): method get_update_states (line 235) | def get_update_states(self): method save (line 249) | def save(self): method _cursor (line 256) | def _cursor(self): method _execute (line 263) | def _execute(self, stmt, *values): method close (line 274) | def close(self): method delete (line 282) | def delete(self): method list_sessions (line 293) | def list_sessions(cls): method process_entities (line 302) | def process_entities(self, tlo): method get_entity_rows_by_phone (line 323) | def get_entity_rows_by_phone(self, phone): method get_entity_rows_by_username (line 327) | def get_entity_rows_by_username(self, username): method get_entity_rows_by_name (line 348) | def get_entity_rows_by_name(self, name): method get_entity_rows_by_id (line 352) | def get_entity_rows_by_id(self, id, exact=True): method get_file (line 366) | def get_file(self, md5_digest, file_size, cls): method cache_file (line 376) | def cache_file(self, md5_digest, file_size, instance): FILE: telethon/sessions/string.py class StringSession (line 14) | class StringSession(MemorySession): method __init__ (line 29) | def __init__(self, string: str = None): method encode (line 45) | def encode(x: bytes) -> str: method decode (line 49) | def decode(x: str) -> bytes: method save (line 52) | def save(self: Session): FILE: telethon/sync.py function _syncify_wrap (line 29) | def _syncify_wrap(t, method_name): function syncify (line 46) | def syncify(*types): FILE: telethon/tl/core/gzippacked.py class GzipPacked (line 10) | class GzipPacked(TLObject): method __init__ (line 13) | def __init__(self, data): method gzip_if_smaller (line 17) | def gzip_if_smaller(content_related, data): method __bytes__ (line 30) | def __bytes__(self): method read (line 35) | def read(reader): method from_reader (line 41) | def from_reader(cls, reader): method to_dict (line 44) | def to_dict(self): FILE: telethon/tl/core/messagecontainer.py class MessageContainer (line 5) | class MessageContainer(TLObject): method __init__ (line 23) | def __init__(self, messages): method to_dict (line 26) | def to_dict(self): method from_reader (line 36) | def from_reader(cls, reader): FILE: telethon/tl/core/rpcresult.py class RpcResult (line 6) | class RpcResult(TLObject): method __init__ (line 9) | def __init__(self, req_msg_id, body, error): method from_reader (line 15) | def from_reader(cls, reader): method to_dict (line 29) | def to_dict(self): FILE: telethon/tl/core/tlmessage.py class TLMessage (line 4) | class TLMessage(TLObject): method __init__ (line 23) | def __init__(self, msg_id, seq_no, obj): method to_dict (line 28) | def to_dict(self): FILE: telethon/tl/custom/adminlogevent.py class AdminLogEvent (line 5) | class AdminLogEvent: method __init__ (line 26) | def __init__(self, original, entities): method id (line 33) | def id(self): method date (line 40) | def date(self): method user_id (line 47) | def user_id(self): method action (line 54) | def action(self): method old (line 61) | def old(self): method new (line 107) | def new(self): method changed_about (line 156) | def changed_about(self): method changed_title (line 166) | def changed_title(self): method changed_username (line 176) | def changed_username(self): method changed_photo (line 186) | def changed_photo(self): method changed_sticker_set (line 196) | def changed_sticker_set(self): method changed_message (line 206) | def changed_message(self): method deleted_message (line 217) | def deleted_message(self): method changed_admin (line 228) | def changed_admin(self): method changed_restrictions (line 241) | def changed_restrictions(self): method changed_invites (line 253) | def changed_invites(self): method changed_location (line 263) | def changed_location(self): method joined (line 273) | def joined(self): method joined_invite (line 282) | def joined_invite(self): method left (line 294) | def left(self): method changed_hide_history (line 302) | def changed_hide_history(self): method changed_signatures (line 313) | def changed_signatures(self): method changed_pin (line 324) | def changed_pin(self): method changed_default_banned_rights (line 335) | def changed_default_banned_rights(self): method stopped_poll (line 346) | def stopped_poll(self): method started_group_call (line 357) | def started_group_call(self): method discarded_group_call (line 367) | def discarded_group_call(self): method user_muted (line 377) | def user_muted(self): method user_unmutted (line 387) | def user_unmutted(self): method changed_call_settings (line 397) | def changed_call_settings(self): method changed_history_ttl (line 407) | def changed_history_ttl(self): method deleted_exported_invite (line 420) | def deleted_exported_invite(self): method edited_exported_invite (line 430) | def edited_exported_invite(self): method revoked_exported_invite (line 441) | def revoked_exported_invite(self): method joined_by_invite (line 451) | def joined_by_invite(self): method changed_user_volume (line 462) | def changed_user_volume(self): method __str__ (line 471) | def __str__(self): method stringify (line 474) | def stringify(self): FILE: telethon/tl/custom/button.py class Button (line 5) | class Button: method __init__ (line 40) | def __init__(self, button, *, resize, single_use, selective, method _is_inline (line 50) | def _is_inline(button): method inline (line 66) | def inline(text, data=None): method switch_inline (line 94) | def switch_inline(text, query='', same_peer=False): method url (line 112) | def url(text, url=None): method auth (line 128) | def auth(text, url=None, *, bot=None, write_access=False, fwd_text=None): method text (line 174) | def text(cls, text, *, resize=None, single_use=None, selective=None, method request_location (line 222) | def request_location(cls, text, *, resize=None, single_use=None, selec... method request_phone (line 244) | def request_phone(cls, text, *, resize=None, single_use=None, method request_poll (line 266) | def request_poll(cls, text, *, force_quiz=False, resize=None, single_u... method clear (line 295) | def clear(selective=None): method force_reply (line 306) | def force_reply(single_use=None, selective=None, placeholder=None): method buy (line 320) | def buy(text): method game (line 335) | def game(text): FILE: telethon/tl/custom/chatgetter.py class ChatGetter (line 7) | class ChatGetter(abc.ABC): method __init__ (line 13) | def __init__(self, chat_peer=None, *, input_chat=None, chat=None, broa... method chat (line 21) | def chat(self): method get_chat (line 35) | async def get_chat(self): method input_chat (line 56) | def input_chat(self): method get_input_chat (line 76) | async def get_input_chat(self): method chat_id (line 96) | def chat_id(self): method is_private (line 111) | def is_private(self): method is_group (line 121) | def is_group(self): method is_channel (line 141) | def is_channel(self): method _refetch_chat (line 147) | async def _refetch_chat(self): FILE: telethon/tl/custom/conversation.py function _checks_cancelled (line 16) | def _checks_cancelled(f): class Conversation (line 26) | class Conversation(ChatGetter): method __init__ (line 41) | def __init__(self, client, input_chat, method send_message (line 82) | async def send_message(self, *args, **kwargs): method send_file (line 98) | async def send_file(self, *args, **kwargs): method mark_read (line 114) | def mark_read(self, message=None): method get_response (line 133) | def get_response(self, message=None, *, timeout=None): method get_reply (line 162) | def get_reply(self, message=None, *, timeout=None): method _get_message (line 171) | def _get_message( method get_edit (line 232) | def get_edit(self, message=None, *, timeout=None): method wait_read (line 261) | def wait_read(self, message=None, *, timeout=None): method wait_event (line 280) | async def wait_event(self, event, *, timeout=None): method _check_custom (line 346) | async def _check_custom(self, built): method _on_new_message (line 360) | def _on_new_message(self, response): method _on_edit (line 387) | def _on_edit(self, message): method _on_read (line 413) | def _on_read(self, event): method _get_message_id (line 424) | def _get_message_id(self, message): method _get_result (line 433) | def _get_result(self, future, start_time, timeout, pending, target_id): method _cancel_all (line 451) | def _cancel_all(self, exception=None): method __aenter__ (line 468) | async def __aenter__(self): method cancel (line 499) | def cancel(self): method cancel_all (line 508) | async def cancel_all(self): method __aexit__ (line 519) | async def __aexit__(self, exc_type, exc_val, exc_tb): FILE: telethon/tl/custom/dialog.py class Dialog (line 6) | class Dialog: method __init__ (line 72) | def __init__(self, client, dialog, entities, message): method send_message (line 99) | async def send_message(self, *args, **kwargs): method delete (line 107) | async def delete(self, revoke=False): method archive (line 120) | async def archive(self, folder=1): method to_dict (line 147) | def to_dict(self): method __str__ (line 157) | def __str__(self): method stringify (line 160) | def stringify(self): FILE: telethon/tl/custom/draft.py class Draft (line 11) | class Draft: method __init__ (line 27) | def __init__(self, client, entity, draft): method entity (line 43) | def entity(self): method input_entity (line 50) | def input_entity(self): method get_entity (line 63) | async def get_entity(self): method get_input_entity (line 76) | async def get_input_entity(self): method text (line 85) | def text(self): method raw_text (line 93) | def raw_text(self): method is_empty (line 101) | def is_empty(self): method set_message (line 107) | async def set_message( method send (line 155) | async def send(self, clear=True, parse_mode=()): method delete (line 166) | async def delete(self): method to_dict (line 172) | def to_dict(self): method __str__ (line 187) | def __str__(self): method stringify (line 190) | def stringify(self): FILE: telethon/tl/custom/file.py class File (line 8) | class File: method __init__ (line 18) | def __init__(self, media): method id (line 22) | def id(self): method name (line 42) | def name(self): method ext (line 49) | def ext(self): method mime_type (line 63) | def mime_type(self): method width (line 73) | def width(self): method height (line 84) | def height(self): method duration (line 95) | def duration(self): method title (line 103) | def title(self): method performer (line 110) | def performer(self): method emoji (line 117) | def emoji(self): method sticker_set (line 124) | def sticker_set(self): method size (line 131) | def size(self): method _from_attr (line 142) | def _from_attr(self, cls, field): FILE: telethon/tl/custom/forward.py class Forward (line 7) | class Forward(ChatGetter, SenderGetter): method __init__ (line 26) | def __init__(self, client, original, entities): FILE: telethon/tl/custom/inlinebuilder.py class InlineBuilder (line 21) | class InlineBuilder: method __init__ (line 70) | def __init__(self, client): method article (line 74) | async def article( method photo (line 151) | async def photo( method document (line 227) | async def document( method game (line 352) | async def game( method _message (line 380) | async def _message( FILE: telethon/tl/custom/inlineresult.py class InlineResult (line 5) | class InlineResult: method __init__ (line 32) | def __init__(self, client, original, query_id=None, *, entity=None): method type (line 39) | def type(self): method message (line 52) | def message(self): method title (line 60) | def title(self): method description (line 67) | def description(self): method url (line 74) | def url(self): method photo (line 84) | def photo(self): method document (line 95) | def document(self): method click (line 105) | async def click(self, entity=None, reply_to=None, comment_to=None, method download_media (line 166) | async def download_media(self, *args, **kwargs): FILE: telethon/tl/custom/inlineresults.py class InlineResults (line 6) | class InlineResults(list): method __init__ (line 47) | def __init__(self, client, original, *, entity=None): method results_valid (line 60) | def results_valid(self): method _to_str (line 67) | def _to_str(self, item_function): method __str__ (line 79) | def __str__(self): method __repr__ (line 82) | def __repr__(self): FILE: telethon/tl/custom/inputsizedfile.py class InputSizedFile (line 4) | class InputSizedFile(InputFile): method __init__ (line 6) | def __init__(self, id_, parts, name, md5, size): FILE: telethon/tl/custom/message.py class Message (line 14) | class Message(ChatGetter, SenderGetter, TLObject): method __init__ (line 175) | def __init__( method _finish_init (line 312) | def _finish_init(self, client, entities, input_chat): method client (line 378) | def client(self): method text (line 389) | def text(self): method text (line 404) | def text(self, value): method raw_text (line 412) | def raw_text(self): method raw_text (line 423) | def raw_text(self, value): method is_reply (line 429) | def is_reply(self): method forward (line 441) | def forward(self): method reply_to_chat (line 449) | def reply_to_chat(self): method reply_to_sender (line 457) | def reply_to_sender(self): method buttons (line 465) | def buttons(self): method get_buttons (line 485) | async def get_buttons(self): method button_count (line 504) | def button_count(self): method file (line 519) | def file(self): method photo (line 538) | def photo(self): method document (line 557) | def document(self): method web_preview (line 570) | def web_preview(self): method audio (line 579) | def audio(self): method voice (line 587) | def voice(self): method video (line 595) | def video(self): method video_note (line 602) | def video_note(self): method gif (line 610) | def gif(self): method sticker (line 621) | def sticker(self): method contact (line 628) | def contact(self): method game (line 636) | def game(self): method geo (line 644) | def geo(self): method invoice (line 654) | def invoice(self): method poll (line 662) | def poll(self): method venue (line 670) | def venue(self): method dice (line 678) | def dice(self): method action_entities (line 686) | def action_entities(self): method via_bot (line 702) | def via_bot(self): method via_input_bot (line 712) | def via_input_bot(self): method reply_to_msg_id (line 719) | def reply_to_msg_id(self): method to_id (line 731) | def to_id(self): method get_entities_text (line 747) | def get_entities_text(self, cls=None): method get_reply_message (line 787) | async def get_reply_message(self): method respond (line 815) | async def respond(self, *args, **kwargs): method reply (line 825) | async def reply(self, *args, **kwargs): method forward_to (line 836) | async def forward_to(self, *args, **kwargs): method edit (line 851) | async def edit(self, *args, **kwargs): method delete (line 897) | async def delete(self, *args, **kwargs): method download_media (line 915) | async def download_media(self, *args, **kwargs): method click (line 926) | async def click(self, i=None, j=None, method mark_read (line 1123) | async def mark_read(self): method pin (line 1134) | async def pin(self, *, notify=False, pm_oneside=False): method unpin (line 1147) | async def unpin(self): method _reload_message (line 1161) | async def _reload_message(self): method _refetch_sender (line 1186) | async def _refetch_sender(self): method _set_buttons (line 1189) | def _set_buttons(self, chat, bot): method _needed_markup_bot (line 1201) | def _needed_markup_bot(self): method _document_by_attribute (line 1229) | def _document_by_attribute(self, kind, condition=None): FILE: telethon/tl/custom/messagebutton.py class MessageButton (line 12) | class MessageButton: method __init__ (line 30) | def __init__(self, client, original, chat, bot, msg_id): method client (line 38) | def client(self): method text (line 46) | def text(self): method data (line 51) | def data(self): method inline_query (line 57) | def inline_query(self): method url (line 63) | def url(self): method click (line 68) | async def click(self, share_phone=None, share_geo=None, *, password=No... FILE: telethon/tl/custom/participantpermissions.py function _admin_prop (line 4) | def _admin_prop(field_name, doc): class ParticipantPermissions (line 21) | class ParticipantPermissions: method __init__ (line 38) | def __init__(self, participant, chat: bool): method is_admin (line 43) | def is_admin(self): method is_creator (line 54) | def is_creator(self): method has_default_permissions (line 64) | def has_default_permissions(self): method is_banned (line 76) | def is_banned(self): method has_left (line 83) | def has_left(self): method add_admins (line 90) | def add_admins(self): FILE: telethon/tl/custom/qrlogin.py class QRLogin (line 9) | class QRLogin: method __init__ (line 16) | def __init__(self, client, ignored_ids): method recreate (line 22) | async def recreate(self): method token (line 30) | def token(self) -> bytes: method url (line 41) | def url(self) -> str: method expires (line 60) | def expires(self) -> datetime.datetime: method wait (line 68) | async def wait(self, timeout: float = None): FILE: telethon/tl/custom/sendergetter.py class SenderGetter (line 6) | class SenderGetter(abc.ABC): method __init__ (line 12) | def __init__(self, sender_id=None, *, sender=None, input_sender=None): method sender (line 19) | def sender(self): method get_sender (line 33) | async def get_sender(self): method input_sender (line 62) | def input_sender(self): method get_input_sender (line 80) | async def get_input_sender(self): method sender_id (line 90) | def sender_id(self): method _refetch_sender (line 99) | async def _refetch_sender(self): FILE: telethon/tl/patched/__init__.py class MessageEmpty (line 4) | class MessageEmpty(_Message, types.MessageEmpty): class MessageService (line 10) | class MessageService(_Message, types.MessageService): class Message (line 16) | class Message(_Message, types.Message): FILE: telethon/tl/tlobject.py function _datetime_to_timestamp (line 12) | def _datetime_to_timestamp(dt): function _json_default (line 25) | def _json_default(value): class TLObject (line 34) | class TLObject: method pretty_format (line 39) | def pretty_format(obj, indent=None): method serialize_bytes (line 106) | def serialize_bytes(data): method serialize_datetime (line 141) | def serialize_datetime(dt): method __eq__ (line 160) | def __eq__(self, o): method __ne__ (line 163) | def __ne__(self, o): method __str__ (line 166) | def __str__(self): method stringify (line 169) | def stringify(self): method to_dict (line 172) | def to_dict(self): method to_json (line 175) | def to_json(self, fp=None, default=_json_default, **kwargs): method __bytes__ (line 192) | def __bytes__(self): method _bytes (line 205) | def _bytes(self): method from_reader (line 209) | def from_reader(cls, reader): class TLRequest (line 213) | class TLRequest(TLObject): method read_result (line 218) | def read_result(reader): method resolve (line 221) | async def resolve(self, client, utils): FILE: telethon/utils.py function chunks (line 73) | def chunks(iterable, size=100): function get_display_name (line 84) | def get_display_name(entity): function get_extension (line 106) | def get_extension(media): function _raise_cast_fail (line 132) | def _raise_cast_fail(entity, target): function get_input_peer (line 137) | def get_input_peer(entity, allow_self=True, check_hash=True): function get_input_channel (line 233) | def get_input_channel(entity): function get_input_user (line 261) | def get_input_user(entity): function get_input_dialog (line 301) | def get_input_dialog(dialog): function get_input_document (line 319) | def get_input_document(document): function get_input_photo (line 344) | def get_input_photo(photo): function get_input_chat_photo (line 382) | def get_input_chat_photo(photo): function get_input_geo (line 401) | def get_input_geo(geo): function get_input_media (line 424) | def get_input_media( function get_input_message (line 560) | def get_input_message(message): function get_input_group_call (line 575) | def get_input_group_call(call): function _get_entity_pair (line 586) | def _get_entity_pair(entity_id, entities, cache, function get_message_id (line 607) | def get_message_id(message): function _get_metadata (line 628) | def _get_metadata(file): function get_attributes (line 679) | def get_attributes(file, *, attributes=None, mime_type=None, function sanitize_parse_mode (line 766) | def sanitize_parse_mode(mode): function get_input_location (line 799) | def get_input_location(location): function _get_file_info (line 810) | def _get_file_info(location): function _get_extension (line 843) | def _get_extension(file): function is_image (line 860) | def is_image(file): function is_gif (line 871) | def is_gif(file): function is_audio (line 878) | def is_audio(file): function is_video (line 892) | def is_video(file): function is_list_like (line 906) | def is_list_like(obj): function parse_phone (line 917) | def parse_phone(phone): function parse_username (line 927) | def parse_username(username): function get_inner_text (line 952) | def get_inner_text(text, entities): function get_peer (line 971) | def get_peer(peer): function get_peer_id (line 1005) | def get_peer_id(peer, add_mark=True): function resolve_id (line 1053) | def resolve_id(marked_id): function _rle_decode (line 1066) | def _rle_decode(data): function _rle_encode (line 1086) | def _rle_encode(string): function _decode_telegram_base64 (line 1103) | def _decode_telegram_base64(string): function _encode_telegram_base64 (line 1119) | def _encode_telegram_base64(string): function resolve_bot_file_id (line 1129) | def resolve_bot_file_id(file_id): function pack_bot_file_id (line 1236) | def pack_bot_file_id(file): function resolve_invite_link (line 1284) | def resolve_invite_link(link): function resolve_inline_message_id (line 1321) | def resolve_inline_message_id(inline_msg_id): function get_appropriated_part_size (line 1342) | def get_appropriated_part_size(file_size): function encode_waveform (line 1354) | def encode_waveform(waveform): function decode_waveform (line 1395) | def decode_waveform(waveform): function split_text (line 1420) | def split_text(text, entities, *, limit=4096, max_entities=100, split_at... class AsyncClassWrapper (line 1515) | class AsyncClassWrapper: method __init__ (line 1516) | def __init__(self, wrapped): method __getattr__ (line 1519) | def __getattr__(self, item): function stripped_photo_to_jpg (line 1531) | def stripped_photo_to_jpg(stripped): function _photo_size_byte_count (line 1548) | def _photo_size_byte_count(size): function maybe_async (line 1566) | async def maybe_async(coro): FILE: telethon_examples/assistant.py function get_env (line 39) | def get_env(name, message, cast=str): function main (line 57) | async def main(): FILE: telethon_examples/gui.py function get_env (line 24) | def get_env(name, message, cast=str): function sanitize_str (line 42) | def sanitize_str(string): function callback (line 47) | def callback(func): function allow_copy (line 61) | def allow_copy(widget): class App (line 69) | class App(tkinter.Tk): method __init__ (line 81) | def __init__(self, client, *args, **kwargs): method post_init (line 137) | async def post_init(self): method on_message (line 150) | async def on_message(self, event): method sign_in (line 182) | async def sign_in(self, event=None): method set_signed_in (line 211) | def set_signed_in(self, me): method send_message (line 227) | async def send_message(self, event=None): method check_chat (line 309) | async def check_chat(self, event=None): function main (line 344) | async def main(interval=0.05): FILE: telethon_examples/interactive_telegram_client.py function sprint (line 13) | def sprint(string, *args, **kwargs): function print_title (line 23) | def print_title(title): function bytes_to_string (line 31) | def bytes_to_string(byte_count): function async_input (line 43) | async def async_input(prompt): function get_env (line 53) | def get_env(name, message, cast=str): class InteractiveTelegramClient (line 66) | class InteractiveTelegramClient(TelegramClient): method __init__ (line 75) | def __init__(self, session_user_id, api_id, api_hash, method init (line 109) | async def init(self): method run (line 145) | async def run(self): method send_photo (line 305) | async def send_photo(self, path, entity): method send_document (line 313) | async def send_document(self, path, entity): method download_media_by_id (line 322) | async def download_media_by_id(self, media_id): method download_progress_callback (line 343) | def download_progress_callback(downloaded_bytes, total_bytes): method upload_progress_callback (line 349) | def upload_progress_callback(uploaded_bytes, total_bytes): method print_progress (line 355) | def print_progress(progress_type, downloaded_bytes, total_bytes): method message_handler (line 361) | async def message_handler(self, event): function main (line 393) | async def main(): FILE: telethon_examples/payment.py function get_env (line 24) | def get_env(name, message, cast=str): function payment_pre_checkout_handler (line 47) | async def payment_pre_checkout_handler(event: types.UpdateBotPrecheckout... function payment_received_handler (line 81) | async def payment_received_handler(event): function generate_invoice (line 93) | def generate_invoice(price_label: str, price_amount: int, currency: str,... function start_handler (line 135) | async def start_handler(event: events.NewMessage.Event): function start_handler (line 140) | async def start_handler(event: events.NewMessage.Event): function start_handler (line 151) | async def start_handler(event: events.NewMessage.Event): function start_handler (line 162) | async def start_handler(event: events.NewMessage.Event): function main (line 172) | async def main(): FILE: telethon_examples/print_messages.py function get_env (line 10) | def get_env(name, message, cast=str): function handler (line 36) | async def handler(event): FILE: telethon_examples/print_updates.py function get_env (line 14) | def get_env(name, message, cast=str): function handler (line 34) | async def handler(update): FILE: telethon_examples/quart_login.py function get_env (line 10) | def get_env(name, message): function format_message (line 64) | async def format_message(message): function startup (line 83) | async def startup(): function cleanup (line 91) | async def cleanup(): function root (line 96) | async def root(): FILE: telethon_examples/replier.py function get_env (line 22) | def get_env(name, message, cast=str): function can_react (line 34) | def can_react(chat_id): function handler (line 53) | async def handler(event): FILE: telethon_generator/data/html/js/search.js function find (line 87) | function find(haystack, needle) { function getSearchArray (line 127) | function getSearchArray(original, originalu, query) { function buildList (line 144) | function buildList(countSpan, resultList, foundElements) { function updateSearch (line 159) | function updateSearch(event) { function getQuery (line 213) | function getQuery(name) { FILE: telethon_generator/docswriter.py class DocsWriter (line 5) | class DocsWriter: method __init__ (line 9) | def __init__(self, filename, type_to_path): method _rel (line 32) | def _rel(self, path): method write_head (line 41) | def write_head(self, title, css_path, default_css): method set_menu_separator (line 69) | def set_menu_separator(self, img): method add_menu (line 79) | def add_menu(self, name, link=None): method end_menu (line 100) | def end_menu(self): method write_title (line 106) | def write_title(self, title, level=1, id=None): method write_code (line 117) | def write_code(self, tlobject): method begin_table (line 198) | def begin_table(self, column_count): method add_row (line 205) | def add_row(self, text, link=None, bold=False, align=None): method end_table (line 237) | def end_table(self): method write_text (line 244) | def write_text(self, text): method write_copy_button (line 248) | def write_copy_button(self, text, text_to_copy): method add_script (line 255) | def add_script(self, src='', path=None): method end_body (line 262) | def end_body(self): method write (line 280) | def write(self, s, *args, **kwargs): method __enter__ (line 288) | def __enter__(self): method __exit__ (line 294) | def __exit__(self, exc_type, exc_val, exc_tb): FILE: telethon_generator/generators/docs.py function _get_file_name (line 20) | def _get_file_name(tlobject): function get_import_code (line 29) | def get_import_code(tlobject): function _get_path_for (line 37) | def _get_path_for(tlobject): function _get_path_for_type (line 46) | def _get_path_for_type(type_): function _find_title (line 57) | def _find_title(html_file): function _build_menu (line 69) | def _build_menu(docs): function _generate_index (line 90) | def _generate_index(folder, paths, function _get_description (line 160) | def _get_description(arg): function _copy_replace (line 201) | def _copy_replace(src, dst, replacements): function _write_html_pages (line 211) | def _write_html_pages(tlobjects, methods, layer, input_res): function _copy_resources (line 608) | def _copy_resources(res_dir): function _create_structure (line 617) | def _create_structure(tlobjects): function generate_docs (line 646) | def generate_docs(tlobjects, methods_info, layer, input_res): FILE: telethon_generator/generators/errors.py function generate_errors (line 1) | def generate_errors(errors, f): FILE: telethon_generator/generators/tlobject.py function _write_modules (line 54) | def _write_modules( function _write_source_code (line 162) | def _write_source_code(tlobject, kind, builder, type_constructors): function _write_class_init (line 179) | def _write_class_init(tlobject, kind, type_constructors, builder): function _write_resolve (line 254) | def _write_resolve(tlobject, builder): function _write_to_dict (line 287) | def _write_to_dict(tlobject, builder): function _write_to_bytes (line 323) | def _write_to_bytes(tlobject, builder): function _write_from_reader (line 361) | def _write_from_reader(tlobject, builder): function _write_read_result (line 371) | def _write_read_result(tlobject, builder): function _write_arg_to_bytes (line 399) | def _write_arg_to_bytes(builder, arg, tlobject, name=None): function _write_arg_read_code (line 531) | def _write_arg_read_code(builder, arg, tlobject, name): function _write_all_tlobjects (line 654) | def _write_all_tlobjects(tlobjects, layer, builder): function generate_tlobjects (line 684) | def generate_tlobjects(tlobjects, layer, import_depth, output_dir): function clean_tlobjects (line 709) | def clean_tlobjects(output_dir): FILE: telethon_generator/parsers/errors.py function _get_class_name (line 20) | def _get_class_name(error_code): class Error (line 41) | class Error: method __init__ (line 42) | def __init__(self, codes, name, description): function parse_errors (line 64) | def parse_errors(csv_file): FILE: telethon_generator/parsers/methods.py class Usability (line 6) | class Usability(enum.Enum): method key (line 13) | def key(self): class MethodInfo (line 22) | class MethodInfo: method __init__ (line 23) | def __init__(self, name, usability, errors, friendly): function parse_methods (line 39) | def parse_methods(csv_file, friendly_csv_file, errors_dict): FILE: telethon_generator/parsers/tlobject/parser.py function _from_line (line 38) | def _from_line(line, is_function, method_info, layer): function parse_tl (line 82) | def parse_tl(file_path, layer, methods=None, ignored_ids=CORE_TYPES): function find_layer (line 141) | def find_layer(file_path): FILE: telethon_generator/parsers/tlobject/tlarg.py function _fmt_strings (line 4) | def _fmt_strings(*dicts): class TLArg (line 91) | class TLArg: method __init__ (line 92) | def __init__(self, name, arg_type, generic_definition): method type_hint (line 169) | def type_hint(self): method real_type (line 192) | def real_type(self): method __str__ (line 212) | def __str__(self): method __repr__ (line 219) | def __repr__(self): method orig_name (line 222) | def orig_name(self): method to_dict (line 225) | def to_dict(self): method as_example (line 231) | def as_example(self, f, indent=0): method omit_example (line 254) | def omit_example(self): FILE: telethon_generator/parsers/tlobject/tlobject.py class TLObject (line 15) | class TLObject: method __init__ (line 16) | def __init__(self, fullname, object_id, args, result, method innermost_result (line 62) | def innermost_result(self): method sorted_args (line 69) | def sorted_args(self): method __repr__ (line 77) | def __repr__(self, ignore_id=False): method infer_id (line 90) | def infer_id(self): method to_dict (line 106) | def to_dict(self): method is_good_example (line 118) | def is_good_example(self): method as_example (line 121) | def as_example(self, f, indent=0): FILE: telethon_generator/sourcebuilder.py class SourceBuilder (line 1) | class SourceBuilder: method __init__ (line 4) | def __init__(self, out_stream, indent_size=4): method indent (line 13) | def indent(self): method write (line 19) | def write(self, string, *args, **kwargs): method writeln (line 34) | def writeln(self, string='', *args, **kwargs): method end_block (line 48) | def end_block(self): method __str__ (line 57) | def __str__(self): method __enter__ (line 61) | def __enter__(self): method __exit__ (line 64) | def __exit__(self, exc_type, exc_val, exc_tb): FILE: telethon_generator/syncerrors.py function main (line 18) | def main(): FILE: telethon_generator/utils.py function snake_to_camel_case (line 4) | def snake_to_camel_case(name, suffix=None): FILE: tests/readthedocs/conftest.py function docs_dir (line 7) | def docs_dir(): FILE: tests/readthedocs/quick_references/test_client_reference.py function test_all_methods_present (line 6) | def test_all_methods_present(docs_dir): FILE: tests/telethon/client/test_messages.py function test_send_message_with_file_forwards_args (line 13) | async def test_send_message_with_file_forwards_args(): class TestMessageMethods (line 47) | class TestMessageMethods: method test_send_msg_and_file (line 53) | async def test_send_msg_and_file(self, formatting_entities): FILE: tests/telethon/crypto/test_rsa.py function server_key_fp (line 10) | def server_key_fp(): function test_encryption_inv_key (line 21) | def test_encryption_inv_key(): function test_encryption_old_key (line 26) | def test_encryption_old_key(server_key_fp): function test_encryption_allowed_old_key (line 31) | def test_encryption_allowed_old_key(server_key_fp): function test_encryption_current_key (line 38) | def test_encryption_current_key(server_key_fp): FILE: tests/telethon/events/test_chataction.py function get_client (line 6) | def get_client(): function get_user_456 (line 10) | def get_user_456(): function test_get_input_users_no_action_message_no_entities (line 19) | async def test_get_input_users_no_action_message_no_entities(): function test_get_input_users_no_action_message (line 31) | async def test_get_input_users_no_action_message(): function test_get_users_no_action_message_no_entities (line 45) | async def test_get_users_no_action_message_no_entities(): function test_get_users_no_action_message (line 57) | async def test_get_users_no_action_message(): FILE: tests/telethon/extensions/test_html.py function test_entity_edges (line 8) | def test_entity_edges(): function test_malformed_entities (line 18) | def test_malformed_entities(): function test_trailing_malformed_entities (line 29) | def test_trailing_malformed_entities(): function test_entities_together (line 41) | def test_entities_together(): function test_nested_entities (line 56) | def test_nested_entities(): function test_offset_at_emoji (line 72) | def test_offset_at_emoji(): FILE: tests/telethon/extensions/test_markdown.py function test_entity_edges (line 8) | def test_entity_edges(): function test_malformed_entities (line 18) | def test_malformed_entities(): function test_trailing_malformed_entities (line 29) | def test_trailing_malformed_entities(): function test_entities_together (line 41) | def test_entities_together(): function test_nested_entities (line 56) | def test_nested_entities(): function test_offset_at_emoji (line 71) | def test_offset_at_emoji(): FILE: tests/telethon/test_helpers.py function test_strip_text (line 15) | def test_strip_text(): class TestSyncifyAsyncContext (line 41) | class TestSyncifyAsyncContext: class NoopContextManager (line 42) | class NoopContextManager: method __init__ (line 43) | def __init__(self, loop=None): method __aenter__ (line 47) | async def __aenter__(self): method __aexit__ (line 51) | async def __aexit__(self, exc_type, *args): method test_sync_acontext (line 58) | def test_sync_acontext(self): method test_async_acontext (line 68) | async def test_async_acontext(self): function test_generate_key_data_from_nonce (line 78) | def test_generate_key_data_from_nonce(): FILE: tests/telethon/test_pickle.py function _assert_equality (line 6) | def _assert_equality(error, unpickled_error): function test_base_rpcerror_pickle (line 13) | def test_base_rpcerror_pickle(): function test_rpcerror_pickle (line 19) | def test_rpcerror_pickle(): function test_fancy_rpcerror_pickle (line 25) | def test_fancy_rpcerror_pickle(): function test_fancy_rpcerror_capture_pickle (line 31) | def test_fancy_rpcerror_capture_pickle(): FILE: tests/telethon/test_utils.py function test_game_input_media_memory_error (line 12) | def test_game_input_media_memory_error(): function test_private_get_extension (line 26) | def test_private_get_extension(): function test_rle_encode_trailing_zeros (line 57) | def test_rle_encode_trailing_zeros(): FILE: tests/telethon/tl/test_serialization.py function test_nested_invalid_serialization (line 6) | def test_nested_invalid_serialization():