Lonami Exo
ae43a47602
Update iter_ usages with get_
2022-02-07 11:30:27 +01:00
Devesh Pal
acc512683c
Update to layer 138 ( #3698 )
2022-02-04 14:22:51 +01:00
Lonami Exo
f2ef0bfceb
Make upload_file private
2022-01-28 21:06:43 +01:00
Devesh Pal
539e3cb808
Add new features from new layer ( #3676 )
...
Updated some documentation regarding raw API.
get_permissions has been adjusted.
Expose more parameters when sending messages.
Update chat action.
Support sending spoilers.
Update buttons.
2022-01-24 13:15:02 +01:00
Lonami Exo
6eadc8aed8
Simplify accepted values in forward, delete and mark read
...
Forward and delete are meant to delete lists.
Now only lists are supported, which should not be an issue
as message.forward_to and message.delete both exist.
mark_read really only works with one message at a time,
so list support was removed for it, as well as the now
redundant max_id.
2022-01-16 13:03:00 +01:00
Lonami Exo
010ee0813a
Rename send_read_acknowledge
2022-01-09 12:18:15 +01:00
penn5
dea424fdec
Fix typo in messages.py
2021-12-11 21:46:23 +01:00
Lonami Exo
72fc8f6808
Continue work on Message sending overhaul
2021-10-12 17:59:30 +02:00
Lonami Exo
197a1ca996
Fix some modules were public when they should not have been
2021-09-26 19:58:42 +02:00
Lonami Exo
a9e1a574ae
Fix limit was no longer defaulting to empty tuple
...
Introduced by 5a44510e2d
.
When forwarding the calls, both signantures should match.
2021-09-26 18:37:09 +02:00
Lonami Exo
8bd4835eb2
Remove build_reply_markup from the client
2021-09-26 17:24:18 +02:00
Lonami Exo
545e9d69ce
Cache session_state and all_dcs right after connect
2021-09-19 17:51:05 +02:00
Lonami Exo
d60ebbe6ea
Fix _get_peer was relying on old utils.resolve_id
2021-09-19 17:21:11 +02:00
Lonami Exo
81b4957d9b
Update code to deal with the new sessions
2021-09-19 16:38:11 +02:00
Lonami Exo
0b54fa7a25
Make edit_message parameters more consistent
2021-09-18 16:54:54 +02:00
Lonami Exo
b3c23e343a
Return deleted count from delete_messages
2021-09-17 20:36:40 +02:00
Lonami Exo
e9f9994f4a
Unify client.iter_* methods
2021-09-17 19:35:10 +02:00
Lonami Exo
943ad892f7
Address remaining uses of the Request suffix with raw API
2021-09-13 21:00:31 +02:00
Lonami Exo
334a847de7
Make custom.Message functional
2021-09-13 20:39:41 +02:00
Lonami Exo
c84043cf71
Fix calls to private client methods
2021-09-12 14:09:53 +02:00
Lonami Exo
f222dc167e
Fix imports
2021-09-12 13:27:13 +02:00
Lonami Exo
d48649602b
Replace most raw API usage with new location
2021-09-12 12:16:02 +02:00
Lonami Exo
d6326abacb
Rename client module as _client
2021-09-11 13:35:35 +02:00