Commit graph

1292 commits

Author SHA1 Message Date
teidesu
a4f6c42bf5 feat(client): custom filtering for getDialogs 2021-04-25 21:47:44 +03:00
teidesu
bfcea5a80d feat(client): isAdmin and adminRights getters for Chat 2021-04-25 17:32:35 +03:00
teidesu
39236c94c2 feat(client): contacts related methods 2021-04-25 17:10:37 +03:00
teidesu
2fc8a90edf feat(client): better support for sticker sets, getInstalledStickers and getStickerSet methods 2021-04-25 15:39:42 +03:00
teidesu
68ce10d292 fix(chat): support display name for deleted users 2021-04-25 14:24:28 +03:00
teidesu
d26a2965d6 fix(chat): support chatForbidden and channelForbidden 2021-04-25 14:05:22 +03:00
teidesu
3aa53c7830 fix(markdown): fixed escape regex 2021-04-25 13:57:01 +03:00
teidesu
9545e9e24a feat(chat): expose chat user as a User 2021-04-25 13:40:36 +03:00
teidesu
960f994660 fix(user): support deleted accounts 2021-04-25 13:40:04 +03:00
teidesu
756e43c56a fix(updates): stupid no-dispatch related error 2021-04-25 13:39:07 +03:00
teidesu
1657090e33 fix(entities): replace user mentions with input user mentions after parsing 2021-04-25 13:38:56 +03:00
teidesu
dea02c9c39 fix(parse-modes): negative access hashes for permanent mentions 2021-04-25 13:34:06 +03:00
teidesu
f55d099b5f fix(markdown): escape closing square bracket 2021-04-25 13:26:43 +03:00
teidesu
64d860cc4c feat(client): support takeout session 2021-04-24 21:11:34 +03:00
teidesu
77ab185493 fix(core): properly handle WORKER_BUSY_TOO_LONG_RETRY error 2021-04-24 20:13:36 +03:00
teidesu
3ca8f847e6 fix(client): do not catch up id disableUpdates is used 2021-04-24 20:02:40 +03:00
teidesu
df2d77ec90 fix(client): limit number of messages in forwardMessages method 2021-04-24 19:56:09 +03:00
teidesu
cf29ffe31d feat(client): findFolder method, also ability to pass folder name in editFolder 2021-04-24 19:27:14 +03:00
teidesu
a51c1ae48c fix(client): stupid parse modes related bug 2021-04-24 19:26:23 +03:00
teidesu
0d3490ad7b feat(client): forwarding messages 2021-04-24 19:00:11 +03:00
teidesu
007343fb09 fix(client): proper handling of *TooLong updates 2021-04-24 18:51:59 +03:00
teidesu
fa7669f65e fix(core): support min entities from replies and updates difference 2021-04-24 18:25:15 +03:00
teidesu
3b88ac0bab fix(client/codegen): better handling of overloads 2021-04-24 18:01:35 +03:00
teidesu
63471115ae feat(core): safe file write, and also cleanup function using exit-hook package 2021-04-24 17:20:01 +03:00
teidesu
48d328f486 feat(client): run method that wraps start() 2021-04-24 16:33:06 +03:00
teidesu
c863e7a854 fix(client): better updates handling, also emit updates returned by RPC methods 2021-04-24 16:23:30 +03:00
teidesu
58f4356d58 fix(client): use 6-digit codes for test phone numbers 2021-04-24 16:08:43 +03:00
teidesu
b28e85ca0a feat(client): support for forwarding already uploaded media (for photos and documents) 2021-04-23 22:36:00 +03:00
teidesu
70c01a62a3 refactor(updates): extracted dispatcher to own package, fixed various update related bugs 2021-04-23 22:35:37 +03:00
teidesu
3d8094b69f fix(lock): properly handle multiple concurrent acquires 2021-04-20 21:58:50 +03:00
teidesu
878c0e35e4 feat(client/codegen): slightly changed code generation to avoid creating redundant wrapper functions 2021-04-18 16:59:05 +03:00
teidesu
87481c9a32 rewrite(client): improved updates handling, added support for min entities 2021-04-18 16:23:25 +03:00
teidesu
bcc5321cee refactor(client): use _saveStorage instead of storage.save 2021-04-17 19:00:46 +03:00
teidesu
0b361d0b8d refactor(core): moved storage load&save to methods to allow overriding logic in subclasses 2021-04-17 18:56:51 +03:00
teidesu
95069d0120 feat(client): startTest method
test numbers dont seem to work currently though.
2021-04-17 10:05:31 +03:00
teidesu
d8c2ef91c4 feat(client): folders 2021-04-16 00:12:07 +03:00
teidesu
69270a66a2 feat(core): websocket transport
untested in browser (yet). also had to slightly refactor stuff
2021-04-15 19:45:01 +03:00
teidesu
9e681cb13f fix(core): continuous aes ctr 2021-04-15 19:39:41 +03:00
teidesu
afa679cef4 fix(core): hopefully fixed issue with json file session randomly disappearing when using debugger 2021-04-15 12:18:50 +03:00
teidesu
874ea6c0a2 fix(tl-ref): layout and content preprocessing fixes 2021-04-15 09:50:07 +03:00
teidesu
ad511546ca fix(tl-ref): usage count for arrays in return types 2021-04-14 23:11:37 +03:00
teidesu
e1e4d08ac1 fix(readme): fixed setup instructions 2021-04-14 23:06:10 +03:00
teidesu
c286570500 refactor: made all packages private and changed main to typescript file 2021-04-14 22:53:10 +03:00
teidesu
c949709de2 fix(tl): added generate-errors script to generate-code 2021-04-14 22:50:29 +03:00
teidesu
76b1e6f261 fix(eslint): removed linebreak-style rule 2021-04-14 22:49:02 +03:00
teidesu
73312e2809 feat(tl-ref): bold names of required parameters 2021-04-14 22:10:43 +03:00
teidesu
c318c059f8 fix(tl-ref): fixed arrays and core types for return types 2021-04-14 21:54:52 +03:00
teidesu
e6dd822644 feat(client): methods for dialogs, also added support for drafts and clearing them 2021-04-14 21:31:51 +03:00
teidesu
7a463f22a3 feat(tl-ref): find usages in array arguments 2021-04-14 20:00:14 +03:00
teidesu
14dc62e912 feat(client): getChatMembers and iterChatMembers methods 2021-04-14 19:43:05 +03:00