Commit graph

1161 commits

Author SHA1 Message Date
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
teidesu
ce3f694eb0 feat(readme): added link to tl reference page 2021-04-14 18:12:50 +03:00
teidesu
958dd60c75 feat: tl reference web application
available at https://mt.tei.su/tl/
2021-04-14 18:08:53 +03:00
teidesu
eae2c7f459 feat(tl): additional descriptions for types and parameters without one
also updated to layer 126
2021-04-11 23:33:01 +03:00
teidesu
a6f9c02ef7 fix(tl): renamed errors.json to raw-errors.json to avoid confusion with js/ts files 2021-04-11 19:41:39 +03:00
teidesu
dd6e90bef6 feat(tl/codegen): made generate-errors emit errors list as a json file 2021-04-11 19:40:26 +03:00
teidesu
cdd01d43fc feat(client): setChatUsername method 2021-04-11 16:32:10 +03:00
teidesu
4371e9b63a feat(client): pinMessage and unpinMessage methods, pin and unpin bound methods for Message 2021-04-11 16:25:17 +03:00
teidesu
e3ff2b9041 feat(client): setChatDefaultPermissions and setSlowMode methods 2021-04-11 16:11:28 +03:00
teidesu
a06c03eda9 feat(client): setChatTitle and setChatDescription methods 2021-04-11 15:32:38 +03:00
teidesu
173647dda6 feat(client): setChatPhoto and deleteChatPhoto methods 2021-04-11 15:22:48 +03:00
teidesu
89dafa570b feat(client): getChatMember method and ChatMember class 2021-04-11 14:56:34 +03:00
teidesu
82a9ec80ea fix(readme): added warning about breaking api changes 2021-04-11 14:55:49 +03:00
teidesu
75dc961d65 feat(client): createGroup, deleteGroup, deleteHistory and leaveChat methods 2021-04-11 00:37:12 +03:00
teidesu
eb9b004b44 fix(client/codegen): fix rare crash when parsing default arguments
i have no idea why having .parent makes it crash but whatever lol.
2021-04-10 23:12:07 +03:00
teidesu
9edaa438fd feat(client): createSupergroup method 2021-04-10 21:08:04 +03:00
teidesu
f81329eecf fix(client): removed "broadcast groups"
that was my misunderstanding of docs 🤷
2021-04-10 21:07:33 +03:00
teidesu
02975b3793 feat(client): createChannel, deleteChannel, deleteSupergroup methods
intentionally no bound method for Chat because it would be way too easy to accidentally delete some chat.
2021-04-10 20:56:09 +03:00
teidesu
c0103441d3 feat(client/codegen): aliases for methods 2021-04-10 20:51:45 +03:00
teidesu
8acad15d7c fix(client): archiveChats & unarchiveChats and respective bound methods for Chat 2021-04-10 20:30:28 +03:00
teidesu
d592e55294 fix(client): force save session in checkPassword 2021-04-10 20:09:28 +03:00
teidesu
f0cf8a50a1 feat(client): addChatMembers method and related bound method for Chat 2021-04-10 20:06:33 +03:00
teidesu
f4907639b5 feat(client): output parameters with defaults as optional and include their default value in docs 2021-04-10 18:33:05 +03:00
teidesu
383f133292 feat(client): chats and chat joining related methods, bound methods and classes 2021-04-10 17:11:25 +03:00
teidesu
6911d7d756 feat(client): replyPhoto, replyMedia, replyDice, replyLocation bound methods for Message 2021-04-10 16:03:33 +03:00
teidesu
97cbfd4840 feat(client): sendLocation method 2021-04-10 15:23:27 +03:00
teidesu
0f2744b997 feat(client): sendDice method 2021-04-10 15:10:34 +03:00
teidesu
7e4142a572 feat(client): sending document-like media (files, audios, videos, gifs, voices) 2021-04-10 13:28:02 +03:00
teidesu
0901f97e0d refactor(client): removed type modification from sendText and sendPhoto return types 2021-04-10 11:54:31 +03:00
teidesu
97e6eb1403 refactor(client): renamed MediaLike to InputFileLike 2021-04-10 11:51:17 +03:00
teidesu
465a875460 feat(client): editMessage method
also .edit and .editText bound methods for Message
2021-04-09 23:19:58 +03:00
teidesu
e17ab84c37 feat(client): searchGlobal method
also small limit-related fix for searchMessages
2021-04-09 13:08:32 +03:00