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
befbceaf8a
chore: changed prettier width to 120
2023-09-24 01:32:22 +03:00
fbe264aab0
ci: moved type-aware linting to pre-commit and ci
2023-09-24 01:08:01 +03:00
7a6a30ea5c
chore: export core utils from @mtcute/core/utils
2023-09-21 13:18:09 +03:00
5a3b101c9f
chore: avoid using {}, use Maps instead
2023-09-19 01:33:47 +03:00
22d8b815d3
refactor: improved api of set-game-score function
2023-09-03 03:44:02 +03:00
81ce550604
chore: improved eslint config
...
closes MTQ-54
2023-09-03 02:37:51 +03:00
4a0d6fbc88
fix: fixed upload and download for new networking
2023-08-23 22:11:42 +03:00
01d476d19a
feat: support for dc switches, session import/export, rpc sending
2023-08-11 23:59:24 +03:00
6a2c5d90b7
fix: error on extra fields in TelegramClient#call + related fixes
2023-07-24 00:12:17 +03:00
754a288c87
fix: fixes after layer bump
2023-07-20 19:01:34 +03:00
d88bc0ea60
chore: code quality improvements
...
improved eslint config, fixed linter issues, added husky
2023-06-05 00:30:48 +00:00
teidesu
70b09903f1
feat(client): support pre-checkout queries
2022-10-30 20:51:50 +03:00
teidesu
443786a35b
build: fixed build for client and dispatcher packages
2022-09-12 19:50:39 +03:00
teidesu
77bfef98d1
feat: updated to 145 layer
2022-09-12 13:54:33 +03:00
teidesu
ea299cacca
docs: improve documentation
2022-08-29 16:22:57 +03:00
teidesu
390b65f796
build(docs): api reference generation improvements
...
- added readme in each package
- updated typedoc, fixed related issues
- use @link instead of @see
- moved configs to typedoc.js, improved exclusion of unneeded stuff
- custom plugin for typedoc for cross-package references
- preparing to move documentation to separate repository
2022-08-24 23:37:26 +03:00
teidesu
eaa517a5c3
feat(client): support custom emojis
2022-08-18 19:52:24 +03:00
teidesu
537b7d0462
feat(core): support overwriting existing session with session strings
2022-07-31 08:01:40 +03:00
teidesu
ad29b2af17
fix(client): improved getHistory method
...
merged iterHistory into getHistory, improved pagination, offset support and other stuff
2022-07-23 02:22:20 +03:00
teidesu
b6f2f39906
fix(client): improved searchMessages method
...
use offsetId for pagination, expose minId/maxId/minDate/maxDate, threadId, offsetId
2022-07-23 01:29:36 +03:00
teidesu
8822de2e1f
fix(client): pass params for forward caption, also codegen-ed client
2022-06-21 21:07:54 +03:00
teidesu
2c3529870a
feat(client): updated to layer 143
...
also fixed some minor bugs
2022-06-18 22:47:31 +03:00
teidesu
9039830572
feat(client): support reactions
2022-05-12 10:09:37 +03:00
teidesu
63d0ea2ddf
feat(client): support join requests
2022-05-09 17:25:38 +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
e02763dcdd
fix(client): fixed usage of FormattedString type
2022-05-06 00:47:26 +03:00
teidesu
2b0af79fb3
feat(client): added non-working translation methods
2022-04-29 17:54:11 +03:00
teidesu
ec736f8590
some changes
...
i've been wanting to name a commit like this for my entire life, lol. seriously though, a lot has changed:
- extracted TL-related stuff to `@mtcute/tl-utils` and `@mtcute/tl-runtime`, rewrote codegen in TS
- updated to layer 134, moved to int64 identifiers
- rewritten networking (mtproto), rewritten updates handling
- *lots* of refactoring
still a very early version though, there are a lot of improvements to be made, but at least it runs, lol
also tl-reference will not be updated anytime soon because i want to rewrite it
2021-11-23 00:03:59 +03:00
teidesu
9b5ca0cb2a
refactor: improved logging, moved to custom logger instead of debug
2021-08-14 12:57:26 +03:00
teidesu
4b22ee5b25
rename back to mtcute
...
idk lol
2021-08-05 20:38:24 +03:00
teidesu
b7751f0a57
fix: various fixes, improved updates handing
2021-08-05 20:14:19 +03:00
teidesu
a3cf0c526a
fix(client): reworked updates, added support for qts
2021-08-04 12:58:57 +03:00
teidesu
a8d3543e64
build: preparing for publish, moved to strict typescript, fixed some stuff
2021-07-30 17:40:50 +03:00
teidesu
1cf9929e3f
fix(core): fixed test servers, fixed tests, slight refactor
2021-07-27 15:32:18 +03:00
teidesu
2f1c8548a0
build: renamed to mtqt
2021-07-25 21:03:40 +03:00
teidesu
cc8c974e23
feat(client): getDiscussionMessage method
2021-07-25 14:00:51 +03:00
teidesu
aa09262aae
fix(client): proper handling of last messages
2021-07-17 18:46:42 +03:00
teidesu
627fdbed2f
refactor(dispatcher): big refactor, moved updates parsing to client, separated raw updates from parsed, moved Conversation to client package
2021-07-17 17:26:31 +03:00
teidesu
2f8b3472d1
feat(client): deleteScheduledMessages method
2021-07-10 15:00:40 +03:00
teidesu
ca1e5c9efa
feat(client): sendScheduled and getScheduledMessages methods
2021-07-10 01:19:59 +03:00
teidesu
a33548e790
fix(client): correct sending of newly uploaded files in media groups
2021-07-10 01:09:49 +03:00
teidesu
300f10074a
feat(client): getPeerDialogs method
2021-07-09 22:50:04 +03:00
teidesu
d611f91f19
feat: parse mode template literals override default/passed parse mode
2021-07-09 16:39:45 +03:00
teidesu
afd6f54e54
feat(client): mustReply parameter
2021-07-06 02:36:20 +03:00
teidesu
d5e595d7cf
fix: added MessageNotFoundError, improved getMessages, fixed methods that use it
2021-07-06 02:24:58 +03:00