James R T
2357116f01
Fix IPv6 typo to IPv4 for StringSession.save() ( #3760 )
2022-03-06 17:47:35 +01:00
Lonami Exo
08bb72ea6b
Fix inline builder articles
2022-03-02 13:41:33 +01:00
Lonami Exo
2c64970451
Fix remove_event_handler
2022-03-02 13:41:24 +01:00
Lonami Exo
fa6e5d95a9
Fix parsing messages
2022-03-02 13:41:14 +01:00
Lonami Exo
3ec0b132f0
Fix process_updates on updateShort not having users
2022-03-02 13:15:00 +01:00
Lonami Exo
0eb18f2f5a
Raise TimeoutError from inline_query instead
2022-03-02 13:13:43 +01:00
Lonami Exo
4d6e75a54e
Fix update dispatch errors
2022-03-02 13:10:33 +01:00
Lonami Exo
2a750fa696
Ignore ChannelParticipantLeft
...
Closes #3252 .
2022-03-02 13:01:28 +01:00
Lonami Exo
07aadf9fbf
Fix get_profile name errors
2022-03-02 13:00:41 +01:00
Lonami Exo
7413b6a630
Fix typehint typo
2022-03-02 13:00:41 +01:00
Lonami Exo
6d293b440c
Update code using get_input_entity
2022-03-02 13:00:41 +01:00
Lonami Exo
5ff8eb8159
Remove get_input_entity and get_peer_id
2022-03-02 13:00:41 +01:00
Lonami Exo
3865b7fa53
Rename get_entity to get_profile
2022-03-02 13:00:41 +01:00
Lonami Exo
68d07beb21
Rename Entity type hint
2022-03-02 13:00:41 +01:00
Lonami Exo
c3cefef37c
Rename entity parameter with something clearer
2022-03-02 13:00:41 +01:00
Lonami Exo
392808b950
Handle GapError in updates loop
2022-03-02 13:00:41 +01:00
Lonami Exo
4c94407b79
Fix access to properties in User and Chat
2022-03-02 13:00:41 +01:00
Lonami Exo
a76c9e9f4c
Fix non-obvious error when not connected
2022-03-02 13:00:41 +01:00
Lonami Exo
d5cdda28c5
Change QrLogin to reduce room for error
2022-03-02 13:00:41 +01:00
Lonami Exo
48bd061562
Fix calls to remove_event_handler
2022-03-02 13:00:41 +01:00
Lonami Exo
d1dba60278
Fix begin/end_takeout
2022-03-02 13:00:41 +01:00
Lonami Exo
d6669a1172
Fix ToS imports
2022-03-02 13:00:41 +01:00
Lonami Exo
dd2f83b7ac
Add str and repr to ToS
2022-03-02 13:00:41 +01:00
Lonami Exo
ab150bf457
Fix get_tos usage of expiry
...
expires is actually a timestamp, not seconds
2022-03-02 13:00:41 +01:00
Shrimadhav U K
503d0859ec
Add support for both mention buttons ( #3680 )
2022-03-02 12:59:40 +01:00
Devesh Pal
26109d5916
Update to layer 139 ( #3750 )
2022-03-02 12:58:17 +01:00
James R T
c47a9346e1
Fix isisintance typo ( #3749 )
2022-02-27 14:02:12 +01:00
Noel Tautges
e80371b6d0
Add PathLike
support to SQLiteSession
( #3737 )
2022-02-20 09:50:18 +01:00
Lonami Exo
0bc598c121
Stop auto-accepting ToS on sign_up, add get_tos instead
2022-02-17 12:40:38 +01:00
Lonami Exo
80d44cb75b
Fix sign_up call to sign_in
2022-02-17 12:40:38 +01:00
Lonami Exo
94ac667e79
Support direct sign_in with code and password
2022-02-17 12:40:38 +01:00
Lonami Exo
77a98fed2c
Make phone and password kwargs in start
2022-02-17 12:40:38 +01:00
Lonami Exo
5c6fdf9a71
Return custom User from sign_in/sign_up
2022-02-17 12:40:38 +01:00
Lonami Exo
1029c38d7e
Remove phone and hash from sign_up
2022-02-17 12:40:38 +01:00
Lonami Exo
90bd5de74a
Remove phone and hash from sign in
2022-02-17 12:40:38 +01:00
Lonami Exo
df0e710fa1
Add a custom SentCode type
2022-02-17 12:40:38 +01:00
Lonami Exo
4258ce2bc8
Make is_connected a property
...
This is consistent with the rest of is_ properties
2022-02-17 12:40:38 +01:00
Lonami Exo
483e2aadf1
Begin updating the way updates are built
2022-02-17 12:40:38 +01:00
Lonami Exo
c914a92dcf
Start using the new Sender and Chat Getter interface
2022-02-17 12:40:38 +01:00
Lonami Exo
f0654a0833
Change Chat and Sender Getter interface to match new description
2022-02-17 12:40:38 +01:00
Lonami Exo
9bfe4cddf5
Begin major entity overhaul
...
Introduce User and Chat as better alternatives to raw API.
Document the rationale and new intended usage.
2022-02-17 12:40:38 +01:00
Lonami Exo
2c4ff8803f
Remove strange except in to_dict
2022-02-17 12:40:38 +01:00
Lonami Exo
d1836ab899
Review errors and remove some type checks
...
If the type is not correct, we can let the API fail instead.
This way, if the API supports more types in the future, there
does not need to be an update. This has affected participant
permissions in groups.
2022-02-17 12:40:38 +01:00
sandeep.n
4fae119a18
Fix StringSession usage of IPv6 ( #3726 )
2022-02-16 15:59:56 +01:00
Mohammadreza Jafari
8aa4d9a263
Make document title a required parameter ( #3182 )
2022-02-16 12:40:07 +01:00
Shrimadhav U K
c45b919109
Add a friendly method to react to messages ( #3681 )
2022-02-16 11:26:09 +01:00
Aditya
af0ea638b4
Use asyncio
in place of aio_loop
( #3724 )
...
Fixes #3717 .
2022-02-16 11:25:52 +01:00
Christoph Berg
ccedf4ad0b
setup.py: Make build reproducible by sorting generator input ( #3695 )
...
Debian's reproducible builds infrastructure reports that the ordering of
objects listed in the tlobjects dict in
/usr/lib/python3/dist-packages/telethon/tl/alltlobjects.py
depends on the filesystem ordering of the *.tl files read at build time.
Fix that by sorting the list in setup.py.
Reproducible builds are desirable for security and auditing reasons, and
easing QA. More details at https://reproducible-builds.org/ .
2022-02-12 09:07:23 +01:00
Devesh Pal
a00f74285c
Document more RpcErrors ( #3716 )
2022-02-10 21:28:52 +01:00
Md Jisan
fedbfedfd5
Fix TypeError when loading StringSession ( #3714 )
2022-02-10 14:11:05 +01:00