Commit graph

544 commits

Author SHA1 Message Date
teidesu
51280d6494 fix(client): accept formatted string in text inline msg builder 2022-07-04 16:36:51 +03:00
teidesu
e68c9f4bb5 refactor: prettier-ed code, rearranged imports, fixed tests 2022-06-30 16:32:56 +03:00
teidesu
f2eb033e91 fix(dispatcher): fix not dispatching to children
i dont fucking know why that code didn't work, i hate js
2022-06-30 16:24:13 +03:00
teidesu
fdcd9e0c5b fix(core): fixed orphan timer when multiple usable events are emitted 2022-06-30 15:56:58 +03:00
teidesu
1a60b39214 build: added script for bumping version with dependencies 2022-06-29 22:00:34 +03:00
teidesu
967c10b25c fix(core): never use ipv6 dc when not using ipv6 2022-06-28 23:13:56 +03:00
teidesu
a2dbccada6 fix(tl-utils): optimize readers code size by merging pre-return vars 2022-06-28 19:26:11 +03:00
teidesu
dd4cc471f6 fix(tl-utils): fixed reader codegen impl for non-zero-size fields between flags 2022-06-28 19:23:32 +03:00
teidesu
6978e159d7 feat(tl-utils): support flag for exposing raw flags in codegen 2022-06-28 18:57:22 +03:00
teidesu
16ffca23d2 fix(client): improve animated profile picture support, fixed related bugs 2022-06-27 16:23:02 +03:00
teidesu
8822de2e1f fix(client): pass params for forward caption, also codegen-ed client 2022-06-21 21:07:54 +03:00
teidesu
11d91c1f55 feat(client): support sending as peer 2022-06-21 21:05:27 +03:00
teidesu
1be12d9917 feat(client): support noforward flag when sending 2022-06-21 20:59:25 +03:00
teidesu
7d71728868 feat(client): support forwarding withot author/caption 2022-06-21 20:56:45 +03:00
teidesu
0396710b18 feat(client): improve support for premium stickers and video thumbnails 2022-06-21 20:53:57 +03:00
teidesu
1ac0cd8530 feat(client): expose info about premium users and media 2022-06-20 01:51:07 +03:00
teidesu
2c3529870a feat(client): updated to layer 143
also fixed some minor bugs
2022-06-18 22:47:31 +03:00
teidesu
a864eacfd4 feat(core): added keylen and algo in pbkdf2 (attempt 2, i am retarded) 2022-06-12 19:29:38 +03:00
teidesu
e98b8f8855 feat(core): added keylen and algo in pbkdf2 2022-06-12 19:26:24 +03:00
teidesu
ae07583161 feat(core): added mtproto v1 message key derivation 2022-06-11 18:51:47 +03:00
teidesu
0e40b4a5f7 fix(client): fixed kickChatMember
i fucking love telegram serverside race conditions
2022-06-07 19:40:42 +03:00
teidesu
e1326a5cf1 fix(client): added missing <any> for formatted strings 2022-06-07 19:02:21 +03:00
teidesu
cd88a3a74a feat(parser): automatically escape attributes in template strings 2022-06-05 23:53:59 +03:00
teidesu
1cce5c79a2 feat(parser): support conditionals in template strings 2022-06-05 23:23:26 +03:00
teidesu
e0d1102408 fix(tl): bumped minor version 2022-06-05 23:05:15 +03:00
teidesu
02462dac16 fix(tl): correctly process vector<bytes>
fml why am i even doing this
2022-06-05 21:36:12 +03:00
teidesu
fa8ed6da10 fix(core): ignore duplicate messages 2022-05-18 13:04:40 +03:00
teidesu
0633d0a817 fix(dispatcher): handlers without filters 2022-05-14 21:38:41 +03:00
teidesu
e1dab9a195 build: fixed deps 2022-05-14 21:37:48 +03:00
teidesu
86ea9655fa build: updated lockfile 2022-05-14 21:05:43 +03:00
teidesu
9034810ccd tl: updated to layer 142 2022-05-14 20:30:36 +03:00
teidesu
9039830572 feat(client): support reactions 2022-05-12 10:09:37 +03:00
teidesu
96300a795e fix(core): removed unnecessary import 2022-05-11 13:17:39 +03:00
teidesu
0a217108ba feat(client): added get() method in PeersIndex 2022-05-11 13:17:23 +03:00
teidesu
3b15c66fc3 fix(client): fixed inspecting buffers
i may actually be retarded
2022-05-11 11:50:09 +03:00
teidesu
b4beeba33c feat(client): support user profile button
this one does not automatically do resolvePeer because i'm too lazy to make an intermediate type just for this type of buttons. once there are more of them, maybe i will...
2022-05-09 17:32:42 +03:00
teidesu
63d0ea2ddf feat(client): support join requests 2022-05-09 17:25:38 +03:00
teidesu
4f0f16e4a4 fix(tl): improved documentation downloader
- fixed invalid {@link} directives
- fixed underscored parameters being transformed
- fixed using raw layer number (instead of actual)
2022-05-09 17:18:18 +03:00
teidesu
be27e33d61 feat(client): support new invite links (t.me/+) 2022-05-09 00:20:32 +03:00
teidesu
a0bfe2c075 feat(client): support get/setBotMenuButton methods 2022-05-09 00:00:22 +03:00
teidesu
d41bec9c73 feat(client): support setBot*DefaultAdminRights methods 2022-05-08 23:34:28 +03:00
teidesu
a10221533c feat(client): helper for webview keyboard buttons 2022-05-06 23:50:21 +03:00
teidesu
e187f8697e feat(filters): filter by sticker type 2022-05-06 20:02:54 +03:00
teidesu
daff3e62a0 feat(client): support webm stickers 2022-05-06 20:00:15 +03:00
teidesu
9543f64558 feat(client): sticker choosing typing event
also prettier fucked everything up, fixed that
2022-05-06 17:53:44 +03:00
teidesu
252f94a594 fix(dispatcher): implemented userId filter
it got commented out when migrating to 64-bit ids, then i moved to using native numbers for them and forgot to update the filter
2022-05-06 13:56:15 +03:00
teidesu
a7e866f3eb refactor: assertNever util, use it in most places
haven't used it in some just yet because not everything is implemented (particularly, newer attachment types, typings, admin events, etc.)
2022-05-06 13:50:30 +03:00
teidesu
ffafb3e5db build: improved publish script, fixed imports/exports, added note about private repo 2022-05-06 13:23:29 +03:00
teidesu
e02763dcdd fix(client): fixed usage of FormattedString type 2022-05-06 00:47:26 +03:00
teidesu
1ef1c0669d feat(parse-mode): support spoiler entity 2022-05-06 00:40:47 +03:00