teidesu
|
6be71c3572
|
feat(client): support updateBotStopped
|
2021-08-04 13:23:39 +03:00 |
|
teidesu
|
a8d3543e64
|
build: preparing for publish, moved to strict typescript, fixed some stuff
|
2021-07-30 17:40:50 +03:00 |
|
teidesu
|
2f1c8548a0
|
build: renamed to mtqt
|
2021-07-25 21:03:40 +03:00 |
|
teidesu
|
199e0a2a7d
|
fix(dispatcher): adding raw handlers
removed from codegen and forgot to add in code, i'm dumb 🤷
|
2021-07-17 19:08:13 +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
|
5b9ddc1f7b
|
refactor(dispatcher): UpdateInfo<...> to ParsedUpdate
|
2021-07-14 22:34:03 +03:00 |
|
teidesu
|
77d597e4db
|
feat(dispatcher): history read update
also fixed imports/exports
|
2021-07-09 19:41:02 +03:00 |
|
teidesu
|
c33646943c
|
fix(dispatcher): middleware and event emitter related fixes
|
2021-07-09 01:49:53 +03:00 |
|
teidesu
|
231b10d8cd
|
feat(dispatcher): made Dispatcher an EventEmitter
this adds a second option for updates dispatching which is not governed by any propagation or stuff.
useful for advanced use-cases.
|
2021-07-07 23:36:57 +03:00 |
|
teidesu
|
82db8453fc
|
feat(dispatcher): basic middleware functionality
|
2021-07-03 16:42:41 +03:00 |
|
teidesu
|
2220371efd
|
feat(dispatcher): conditional error propagation to client
|
2021-06-27 23:59:04 +03:00 |
|
teidesu
|
0ea953732b
|
fix(dispatcher): removed @internal from non-filtered on* methods
i probably am in fact stupid
|
2021-06-26 23:34:08 +03:00 |
|
teidesu
|
481f0db129
|
fix(dispatcher): provide state type information to filters
|
2021-06-20 02:52:19 +03:00 |
|
teidesu
|
257f5392ea
|
refactor(dispatcher): use enum instead of symbols for propagation
|
2021-06-14 18:58:07 +03:00 |
|
teidesu
|
7a0de134ba
|
feat(dispatcher): local error handling
|
2021-06-07 23:59:17 +03:00 |
|
teidesu
|
ae2dbcf03f
|
build: fixed scripts, eslintignore, fixed linter warnings and re-formatted with prettier
|
2021-06-06 15:20:41 +03:00 |
|
teidesu
|
ecca291eba
|
fix(dispatcher): handle custom key in getState
|
2021-05-31 23:29:26 +03:00 |
|
teidesu
|
9da72daac7
|
fix(dispatcher): do not propagate state and scene to children
|
2021-05-31 23:20:20 +03:00 |
|
teidesu
|
a0294b9a64
|
feat(dispatcher): fsm and scenes
|
2021-05-27 01:02:31 +03:00 |
|
teidesu
|
98fe7e3d31
|
refactor(dispatcher): avoid parsing unhandled updates
|
2021-05-23 15:38:03 +03:00 |
|
teidesu
|
b926178b9d
|
refactor(dispatcher): store and lookup handlers by their type
avoids redundant loops over all registered handlers
|
2021-05-23 14:43:40 +03:00 |
|
teidesu
|
2d335af78e
|
fix(dispatcher): reuse parsed updates in child dispatchers
|
2021-05-23 14:16:01 +03:00 |
|
teidesu
|
8e81ce21f2
|
fix(dispatcher): scheduled flag for new scheduled messages
|
2021-05-23 14:04:28 +03:00 |
|
teidesu
|
803daecdf3
|
feat(dispatcher): deleted messages update
|
2021-05-16 13:06:26 +03:00 |
|
teidesu
|
0f1edcfcf7
|
refactor: use UsersIndex and ChatsIndex types instead of bare record types
|
2021-05-11 21:46:59 +03:00 |
|
teidesu
|
002d949a13
|
feat: user status and typing related methods and updates
|
2021-05-08 16:35:25 +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
|
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
|
23dcc4c1e5
|
feat: support for chosen inline query results
|
2021-05-04 14:07:40 +03:00 |
|
teidesu
|
3336f295ee
|
feat: basic inline queries support (only articles for now)
|
2021-04-28 23:00:51 +03:00 |
|
teidesu
|
fa3c719312
|
feat(dispatcher): support chat member updates
|
2021-04-27 20:31:04 +03:00 |
|
teidesu
|
70c01a62a3
|
refactor(updates): extracted dispatcher to own package, fixed various update related bugs
|
2021-04-23 22:35:37 +03:00 |
|