02a6a0e133
fix(core): proper exit cleanup in json file
2023-12-19 02:24:19 +03:00
8e07d7f552
fix(client): do not propagate Conversation updates
2023-12-19 00:13:30 +03:00
c278599612
feat(client): allow disabling updates manager
2023-12-19 00:08:10 +03:00
d56fb16fc1
v0.3.0
2023-12-18 11:51:40 +00:00
4f7fd24dd9
chore(core): expose init params in .params
field
2023-12-16 20:00:31 +03:00
dfed3c2761
chore(core)!: disallow passing api id as string
2023-12-16 19:55:29 +03:00
7a0d8ecef2
chore(core): various improvements
2023-12-16 19:52:44 +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
2728166727
refactor(client)!: extracted inline callback query into a separate update
...
breaking: `CallbackQuery` -> `CallbackQuery` and `InlineCallbackQuery`
also removed some redundant fields
2023-12-14 00:34:51 +03:00
e259701837
fix(client): new codegen issues with .run
method
2023-12-13 23:02:04 +03:00
b261a661d2
chore(node): allow omitting input params
2023-12-13 21:43:46 +03:00
38358622e7
feat(core): allow passing rpc call options by proxy
2023-12-13 18:30:28 +03:00
1ce52d66ff
chore(client): reworked codegen, use prototype methods instead of fields
2023-12-13 18:29:54 +03:00
314bfa0fec
fix(core): export MemoryStorage
2023-12-13 17:19:10 +03:00
56c2085190
feat(core)!: future salts storage
...
breaking: `ITelegramStorage` interface changed
2023-12-12 00:23:34 +03:00
f4ee1f599f
chore(client)!: improved translate* methods
...
breaking: both methods now return `TextWithEntities`
2023-12-11 21:52:48 +03:00
987de6571a
feat(core): handle future salts
2023-12-11 06:15:31 +03:00
ee9e2e35c4
feat(client): sequential message sending
2023-12-11 01:55:58 +03:00
ce2d1b0a9a
fix(core): getState requests not scheduling properly
2023-12-11 01:03:19 +03:00
d1e4a15f81
feat(core): requests chaining
2023-12-11 00:07:41 +03:00
aaa2875fe1
fix(core): support opting out of -503 resending
2023-12-08 20:33:41 +03:00
b6fac0785c
fix(core): cleanly close connection on inactivity timeout
2023-12-08 06:31:17 +03:00
ce3cebff66
fix(tl): repalce %d in descriptions
2023-12-08 05:35:01 +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
1cdb75a0a9
feat(client): accept online
as schedule date
2023-12-06 20:15:51 +03:00
9ed587209c
fix(client): use quoteOffset for quotes
2023-12-04 23:37:44 +03:00
799fce4152
v0.2.3
2023-12-04 14:11:30 +00:00
e42a73fd07
fix(core): session exporting while on default dc
2023-12-04 16:28:25 +03:00
465da7aa9d
v0.2.2
2023-12-04 12:58:37 +00:00
d4555f107e
fix(core): apparently re-export from tl
...
apparently due to some issue in vite `export *` from cjs module doesnt export shit
2023-12-04 15:40:17 +03:00
7a89e5049e
fix(client): save storage after each api call
...
idk might rollback later
2023-12-04 15:10:13 +03:00
2eb4d307cb
fix(client): fixed typings
2023-12-04 15:08:05 +03:00
78aae6ac78
test: sendText tests
2023-12-03 01:34:58 +03:00
cbf065af8d
v0.2.1
2023-12-02 18:44:00 +00:00
389b3cfae0
fix(client): updateShortSentMessage handling
...
oops
2023-12-02 21:12:16 +03:00
e335a6cf10
fix: accept sync function in editMessageWith
2023-12-02 21:01:39 +03:00
72dd8f5b2c
v0.2.0
2023-12-02 17:38:41 +00:00
895163c126
chore(client)!: renamed some peer utils
...
breaking: `normalizeToInput*` -> `toInput*`
2023-12-02 19:10:49 +03:00
8b2debb0aa
feat(client): support Story message media
2023-12-02 19:04:18 +03:00
893a15d111
chore(client)!: better parsed peer handling
...
breaking: anonymous sender is now represented with `AnonymousSender` interface and not `string`
2023-12-02 17:48:01 +03:00
9db9411c27
chore(client)!: improved replied-to message handling
...
breaking:
- `MessageReplyInfo` renamed to `RepliedMessageInfo`
- some types were changed
2023-12-02 07:56:13 +03:00
af34f1e5ca
chore(client)!: some MessageMedia fixes
...
breaking: `WebPage#type`: `web_page` -> `webpage` for consistency
2023-12-02 07:26:35 +03:00
e9d6cfc39d
feat(client): getMessageByLink method
2023-12-02 06:08:31 +03:00
0b2ae3aac6
fix: import compatibility with ts-node/esm
...
see https://github.com/TypeStrong/ts-node/issues/1934
2023-12-02 04:10:31 +03:00
392ff5ad2d
feat(client): getSimilarChannels method
2023-12-01 19:52:48 +03:00
4d27ca56d1
feat!: updated to layer 167
...
breaking:
- `User#color`: type changed `number -> ChatColors`
- `User#replyBackgroundEmojiId` removed (moved to `color.backgroundEmojiId`)
- same for `Chat`
2023-12-01 17:29:36 +03:00
c42c629475
feat(client): allow implicit storage usage
2023-11-30 23:53:33 +03:00
93ddc6a58c
chore!: do not default to MemoryStorage
2023-11-30 22:57:10 +03:00