Commit graph

136 commits

Author SHA1 Message Date
teidesu
ac0ddc5c6d feat(client): support seamless login for bots
also slightly improved docs for BotKeyboard
2021-05-09 20:41:54 +03:00
teidesu
cae7f90c57 fix(core): payload size limit 2021-05-09 19:34:25 +03:00
teidesu
df84137391 feat(client): get messages inside message groups 2021-05-09 18:29:33 +03:00
teidesu
87a7df669a feat(client): user related methods 2021-05-09 14:35:58 +03:00
teidesu
192c0f773e feat(client): control 2fa password 2021-05-09 14:35:47 +03:00
teidesu
320f4fdd24 fix(core): empty strings and zero numbers are also included in the flags and serialization 2021-05-09 14:34:52 +03:00
teidesu
0c9dfa172d feat(client): stop geolive messages 2021-05-09 12:03:45 +03:00
teidesu
b845864663 feat(client): sendCopy method 2021-05-08 17:54:18 +03:00
teidesu
cb01d8250e feat(client): renamed inputMediaTl to inputMedia and added it to every kind of media
also fixed imports/exports
2021-05-08 17:53:59 +03:00
teidesu
002d949a13 feat: user status and typing related methods and updates 2021-05-08 16:35:25 +03:00
teidesu
8a0c9984b5 feat(client): closePoll method 2021-05-08 13:19:37 +03:00
teidesu
9df884e667 feat(client): sendVote method 2021-05-08 12:36:15 +03:00
teidesu
d36c1781bd feat(dispatcher): support poll related updates
also fixed a few type and export issues, and changed poll option generation to match tdlib and others
2021-05-07 15:37:17 +03:00
teidesu
6db771e3da feat(client): a lot of changes
- support web documents
 - support previews for locations
 - unify media interfaces, merge everything into sendMedia
 - support invoices, polls, venues (both sending and receiving)
2021-05-07 14:26:29 +03:00
teidesu
169d95d6ed fix(core): lowercase usernames index 2021-05-07 12:41:06 +03:00
teidesu
90e1e018f5 feat(core): functions to (de-)serialize TL JSON 2021-05-06 15:20:23 +03:00
teidesu
b157b52ff6 feat(client): setStickerSetThumb method 2021-05-06 12:11:09 +03:00
teidesu
09064bb084 fix(client): sticker set negative indexes 2021-05-06 11:54:10 +03:00
teidesu
bbb8b20420 feat(client): sticker set methods for bots, and overall better sticker support 2021-05-05 23:26:28 +03:00
teidesu
5ea2ed67d7 fix(client): support for external media for uploadMedia in normalizeInputMedia 2021-05-05 19:59:08 +03:00
teidesu
b409292497 fix(client): support for uploaded media in editInlineMessage
thanks to @pacificescape for pointing out messages.uploadMedia method
2021-05-05 18:43:02 +03:00
teidesu
d841188149 fix(core): only switch dc for primary connection 2021-05-05 18:24:16 +03:00
teidesu
00c308dca7 feat(dispatcher): support more types in regex filter, inline filter for callback queries 2021-05-05 02:05:27 +03:00
teidesu
1fb7057866 feat: support callback queries 2021-05-05 01:50:04 +03:00
teidesu
95f6515340 fix(dispatcher/codegem): added @internal mark, also removed console log call 2021-05-05 00:45:09 +03:00
teidesu
1c1aed147a refactor(dispatcher): codegen for update types
i'm just too lazy to be bothered with pasting that. also, i forgot to implement builder for editMessage, teehee~
2021-05-05 00:43:35 +03:00
teidesu
fd92121b14 fix(core): do not rename in case of an error while writing 2021-05-04 14:13:06 +03:00
teidesu
23dcc4c1e5 feat: support for chosen inline query results 2021-05-04 14:07:40 +03:00
teidesu
97cbf10d3d fix(client): do not catch up after first update is received 2021-05-04 13:11:41 +03:00
teidesu
2226428164 docs(tl): added missing venue provider 2021-05-04 13:09:22 +03:00
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