fb61bdc9f7
chore(client): explicitly separate auth state init and get
2023-12-23 02:18:32 +03:00
0bdf778462
chore(client)!: renamed some methods
...
breaking:
- `setProfilePhoto` -> `setMyProfilePhoto`
- `setUsername` -> `setMyUsername`
- `setEmojiStatus` -> `setMyEmojiStatus`
2023-12-21 17:50:55 +03:00
c278599612
feat(client): allow disabling updates manager
2023-12-19 00:08:10 +03:00
886858d9de
refactor(client): isSelfPeer method
2023-12-16 19:10:59 +03:00
712c1e8348
fix(client): added true
assertions to methods returning Bool
2023-12-16 19:00:13 +03:00
69f59ab97e
feat(client): openChat
method
2023-12-16 02:54:06 +03:00
e259701837
fix(client): new codegen issues with .run
method
2023-12-13 23:02:04 +03:00
1ce52d66ff
chore(client): reworked codegen, use prototype methods instead of fields
2023-12-13 18:29:54 +03:00
f4ee1f599f
chore(client)!: improved translate* methods
...
breaking: both methods now return `TextWithEntities`
2023-12-11 21:52:48 +03:00
8050f8c586
fix(client): use inputMessageCallbackQuery
...
levin said this has better rate-limits, who am i to judge
2023-12-08 04:36:00 +03:00
e9d6cfc39d
feat(client): getMessageByLink method
2023-12-02 06:08:31 +03:00
392ff5ad2d
feat(client): getSimilarChannels method
2023-12-01 19:52:48 +03:00
c42c629475
feat(client): allow implicit storage usage
2023-11-30 23:53:33 +03:00
a36cdf1d20
test: run tests in browser
2023-11-30 00:20:37 +03:00
51e67a5113
fix(dispatcher): proper lifetime management for state storage
2023-11-27 14:58:48 +03:00
8249bd2ea4
feat(client)!: batched queries
...
breaking: getUsers may now return null
2023-11-23 19:11:00 +03:00
23a0e69942
refactor: no more parse modes!
2023-11-01 20:24:00 +03:00
73cd1e7dc9
docs: use @default
jsdoc tag
2023-10-29 20:25:06 +03:00
fc42dcb973
feat: updated to layer 166
2023-10-29 08:14:00 +03:00
fdec2b8621
fix: improved surface api
2023-10-29 00:48:37 +03:00
04c702dfd2
fix: improved downloadToFile API
2023-10-27 19:44:40 +03:00
4ac6e439a9
fix: various improvements
2023-10-26 22:23:25 +03:00
c061581abb
chore: various surface api improvements & fixes
2023-10-24 11:49:17 +03:00
dafe631435
fix: migrated to web streams
2023-10-20 00:41:47 +03:00
Alina Tumanova
f5976a2d74
ESM + end-to-end tests ( #11 )
...
* feat: moved tl-runtime to esm and native ArrayBuffers
* feat: migration to esm
* fix(core): web-related fixes
* test: finally, some good fucking e2e
* chore: fixed linters etc
* ci: added e2e to ci
* build(tl): fixed gen-code on node 20
* fix: codegen Uint8Array, not Buffer
never `git reset --hard` kids
* build: only do type-aware linting for `packages/*`
* build: ignore no-unresolved in ci for e2e
* fix: node 16 doesn't have subtle crypto apparently?
* fix(tests): use Uint8Array
for gods sake please can i just merge this already
* ci: don't parallel tasks in ci
because machines are utter garbage and it may just randomly break
* ci: pass secrets to e2e tests
* ci: separate cli command for ci
apparently im retarded
* fix: run codegen in e2e
im actually retarded
* ci: more fixes for e2e
* ci: debugging stuff
* ci: still debugging
* ci: hopefully fix ci???
2023-10-16 19:23:53 +03:00
337418a34c
feat: contexts
2023-10-11 08:42:37 +03:00
6629d91274
chore: remove remaining MaybeArray flex
2023-10-11 08:42:37 +03:00
3e5b2af7c0
feat: per-method disabling of no-dispatch
2023-10-11 08:42:37 +03:00
e01c876690
feat: accept high-level objects as inputs to methods
2023-10-11 08:42:37 +03:00
a03d73503a
refactor: initial support for esm
...
also fixed all circular imports and added checking for them via dpdm
2023-10-11 08:42:37 +03:00
280a98f52a
chore: re-thought method arguments
...
also dropped support for registration
2023-10-11 08:42:37 +03:00
c7d82d41f0
feat: message groups
2023-10-06 01:47:45 +03:00
74f3d53448
chore: removed eager-async-pool dependency
...
closes MTQ-76
2023-10-05 04:38:55 +03:00
ff75d40e78
docs: generate user/bot availability automagically
...
closes MTQ-85
2023-10-05 04:00:58 +03:00
e22db98444
fix: support no-dispatch index + option to disable it
2023-10-05 01:32:22 +03:00
2bde1c4f3e
feat: feature parity with botapi 6.9
...
well mostly, and assuming i didn't miss anything. closes MTQ-72
2023-10-04 23:34:55 +03:00
e7dc8f0ec7
feat: setEmojiStatus
2023-10-04 21:05:07 +03:00
15b76aab60
feat: more stories-related stuff
...
i forgor 💀
2023-10-04 20:50:57 +03:00
7abcc6188a
feat: stories and boosts
...
closes MTQ-51
2023-10-04 19:26:21 +03:00
1686c3f183
feat: history ttl
...
closes MTQ-86
2023-10-03 04:05:24 +03:00
6f7cda5544
feat: content protection aka noforwards
...
closes MTQ-84
2023-10-03 03:48:52 +03:00
efaba06102
feat: multiple usernames
...
closes MTQ-57
2023-10-03 03:23:23 +03:00
00f30a6495
feat: forums
...
closes MTQ-77
2023-10-03 00:58:45 +03:00
b2fccf4978
feat: better support for join requests
2023-10-02 19:54:11 +03:00
ea7eabf0be
feat: more non-iterable versions of methods
2023-10-02 18:00:00 +03:00
55c4f296fb
refactor: extract input reactions to InputReaction
2023-10-01 16:36:29 +03:00
95032d3b9a
feat: added ArrayPaginated
2023-09-29 21:45:11 +03:00
82994408a2
feat: refactor some iterable methods to have non-iterable counterpart
2023-09-29 17:02:36 +03:00
5dcd965934
chore: add export * from core
to client
2023-09-24 04:10:18 +03:00
7ff433ed0a
refactor: import tl from core/client, not tl
2023-09-24 03:37:34 +03:00