Commit graph

106 commits

Author SHA1 Message Date
teidesu
d469b81a85 feat(client): support all possible inline results and messages 2021-05-04 13:08:20 +03:00
teidesu
03bf248658 feat(client): edit media and schedule date in the message 2021-05-03 14:30:12 +03:00
teidesu
8bd81adacc feat: node native addon for faster aes ige 2021-05-01 21:22:20 +03:00
teidesu
f4c0c1bd31 fix(core): properly handle resending of pending rpc calls 2021-05-01 21:19:07 +03:00
teidesu
2034ae8b28 feat(client): support downloading from file ids 2021-05-01 21:10:49 +03:00
teidesu
9303d0841a feat(client): sendMediaGroup method 2021-05-01 00:30:53 +03:00
teidesu
a67c4ae85e refactor(client): extracted input file and media normalization to own methods, merged sendPhoto and sendMedia methods 2021-04-30 23:57:24 +03:00
teidesu
0eb0ac91eb feat(client): support file:* for simpler file uploads by path
holy shit code for handling file is getting more and more ridiculous. i wonder if i could refactor it somehow...
2021-04-30 22:44:17 +03:00
teidesu
f6d229f250 feat(client): added fileId field for documents 2021-04-30 20:52:16 +03:00
teidesu
3bb9a61ac7 feat(client): support file ids in sendMedia, sendPhoto and sendChatPhoto methods 2021-04-30 20:51:50 +03:00
teidesu
c0b72018fb feat(client): fileId and uniqueFileId fields for Thumbnail 2021-04-30 00:04:25 +03:00
teidesu
d3b320eea0 feat(file-id): option to pass a reduced set of fields to toUniqueId 2021-04-30 00:03:47 +03:00
teidesu
8b5060d2cd feat: file-id package to parse, serialize and manipulate tdlib-compatible file ids 2021-04-29 22:30:36 +03:00
teidesu
1da905ab3d feat(core): export BinaryReader and BinaryWriter 2021-04-29 22:29:59 +03:00
teidesu
3336f295ee feat: basic inline queries support (only articles for now) 2021-04-28 23:00:51 +03:00
teidesu
8bb23cd464 feat(dispatcher): chatMemberSelf filter 2021-04-27 20:42:23 +03:00
teidesu
fa3c719312 feat(dispatcher): support chat member updates 2021-04-27 20:31:04 +03:00
teidesu
7e9f255fdc feat(client): chat invite link class 2021-04-27 20:30:20 +03:00
teidesu
85671f6e6a refactor(client): type assertion inside User constructor 2021-04-26 23:26:57 +03:00
teidesu
5fee1d0660 fix(client): better storage handling
i suppose?? i mean, it's definitely better than randomly losing updates state and entities, but this might be much slower?
2021-04-26 23:26:29 +03:00
teidesu
b4a26c6f5b fix(client): disable catch up by default, also save storage after catching up 2021-04-26 22:41:19 +03:00
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