Commit graph

1301 commits

Author SHA1 Message Date
teidesu
4b417afd81 feat(client): isValidSticker field 2021-07-22 01:47:06 +03:00
teidesu
4c717ffc63 fix(voice): proper handling of waveforms 2021-07-22 01:46:31 +03:00
teidesu
96d133dd2f fix(markdown): proper handling of non-link [] groups 2021-07-20 03:26:00 +03:00
teidesu
3b523598ad build: changed license to lgplv3 2021-07-19 03:57:47 +03:00
teidesu
8c62b56acc fix(node): cli input for start() method, not run() 2021-07-18 22:08:50 +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
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
8fb099cfeb fix(core): proper browser support
not much really, fixed exports for webpack, fixed binary mode for websocket
2021-07-16 04:31:04 +03:00
teidesu
5b9ddc1f7b refactor(dispatcher): UpdateInfo<...> to ParsedUpdate 2021-07-14 22:34:03 +03:00
teidesu
6d8c7fee78 refactor: less obscure transport names 2021-07-14 21:08:13 +03:00
teidesu
c8c0b4a320 fix(client): export defaultDcs 2021-07-14 20:58:27 +03:00
teidesu
a7f7e245d8 fix(node): changed default session file name 2021-07-14 16:35:53 +03:00
teidesu
244948149a fix(tl): updated errors 2021-07-14 16:34:33 +03:00
teidesu
0a39d8a2d5 fix(client): fixed imports 2021-07-14 16:34:15 +03:00
teidesu
3fcdd03877 feat(dispatcher): lastMessage and lastReceivedMessage getters for Conversation 2021-07-10 16:12:31 +03:00
teidesu
66e623f21d docs(dispatcher): improved docs for Conversation 2021-07-10 16:05:20 +03:00
teidesu
b9b2b9f6ba feat(dispatcher): Conversation class 2021-07-10 15:10:43 +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
b38f2cd6ae fix(client): hide inputPhoto from inspection 2021-07-10 00:54:43 +03:00
teidesu
6acb638c6a fix(client): correct handling of multiple peers in getPeerDialog
i swear it worked. idk how.
2021-07-09 23:34:46 +03:00
teidesu
300f10074a feat(client): getPeerDialogs method 2021-07-09 22:50:04 +03:00
teidesu
77d597e4db feat(dispatcher): history read update
also fixed imports/exports
2021-07-09 19:41:02 +03:00
teidesu
817eb3aa8d fix(client): mention and permanentMention now return formatted string with parse mode
also slightly improved docs on permanentMention
2021-07-09 17:00:45 +03:00
teidesu
d611f91f19 feat: parse mode template literals override default/passed parse mode 2021-07-09 16:39:45 +03:00
teidesu
be8ffe5b5b feat(dispatcher): text-related filters (equals, contains, starts/ends with) 2021-07-09 01:50:39 +03:00
teidesu
c33646943c fix(dispatcher): middleware and event emitter related fixes 2021-07-09 01:49:53 +03:00
teidesu
28c70a89ba fix(client): correct handling of pts in updateShortSentMessage
i am fucking stupid and can't read my own code
2021-07-09 01:46:37 +03:00
teidesu
967de3391d fix(client): fixed media-related bound methods, added method for sending media groups 2021-07-08 17:22:18 +03:00
teidesu
9bb70fc9db Merge remote-tracking branch 'origin/master' 2021-07-07 23:37:10 +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
Alisa Sireneva
515a7716d3
fix: added license file 2021-07-07 16:59:20 +03:00
teidesu
7c3f5cafa6 feat(dispatcher): deeplink filter 2021-07-06 18:38:06 +03:00
teidesu
e69f363a5b build: removed local branch name from docs deploy script 2021-07-06 18:11:41 +03:00
teidesu
c2130dec9f build(tl): updated to layer 131 2021-07-06 18:02:26 +03:00
teidesu
69fffd468c fix(client): use nextRate in searchGlobal 2021-07-06 16:50:46 +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
teidesu
36ba4c3b87 feat(client): bot keyboard builder 2021-07-06 01:11:06 +03:00
teidesu
6215892090 fix(tl): fix optionals generation
i am fucking dumb
2021-07-05 22:46:36 +03:00
teidesu
ed0198f057 fix(tl): made randomId field required
i wanted to make it auto-fill itself but decided it would be too much hassle
2021-07-05 20:43:42 +03:00
teidesu
8b6d587399 fix(client): improved own username handling 2021-07-05 17:26:30 +03:00
teidesu
be506f5ed7 feat(client): stickerset thumbnails
also fixed a few issues with file ids for thumbnails
2021-07-05 16:06:49 +03:00
teidesu
0d32731b7a fix(file-id): invalid type for stickerSetThumbnailVersion 2021-07-05 15:39:06 +03:00
teidesu
82db8453fc feat(dispatcher): basic middleware functionality 2021-07-03 16:42:41 +03:00
teidesu
17c2edde7e fix(client): further improved handling of updateShortSentMessage 2021-07-03 01:21:54 +03:00
teidesu
54f95bcaa6 fix(client): handle users index for sendText short update 2021-07-03 00:23:41 +03:00
teidesu
e4b1932ca6 feat(client): force text mention for .mention() 2021-07-02 21:32:12 +03:00