modern typescript library for mtproto. supports browsers, node/bun, deno and more!
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 5 months ago
globalThis
instead of evalfireAndForget
param for getCallbackAnswer
Published by github-actions[bot] 5 months ago
@mtcute/test
CallbackDataBuilder#parse
Published by github-actions[bot] 5 months ago
Published by github-actions[bot] 5 months ago
disableUpdates
for highlevel clientPublished by github-actions[bot] 5 months ago
Published by github-actions[bot] 5 months ago
FullChat
Chat
constructor signature changed. also removed some fields fromChat
, but any code depending on them would be incorrect anywayNodeCryptoProvider
to @mtcute/node/utils.jsNodeCryptoProvider
to @mtcute/node/utils.js@mtcute/i18n/*
imports are now all in @mtcute/i18n
NodeCryptoProvider
to @mtcute/node/utils.jsNodeCryptoProvider
to @mtcute/node/utils.jsPublished by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
tg.call
tg.call
(#32)node:
scheme for node importsBunFile
sPublished by github-actions[bot] 7 months ago
joinTextWithEntities
method in utilsPublished by github-actions[bot] 7 months ago
.createGroup
now returns CreateGroupResult
.createGroup
now returns CreateGroupResult
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
@mtcute/bun
package for initial first-class bun support@mtcute/bun
package for initial first-class bun support@mtcute/bun
package for initial first-class bun support@mtcute/bun
package for initial first-class bun supportPublished by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
@mtcute/wasm
dependency from coreWasmCryptoProvider
no longer existssideEffects: false
withParams
methodsideEffects: false
sideEffects: false
sideEffects: false
sideEffects: false
@mtcute/wasm
dependency from coreWasmCryptoProvider
no longer existssideEffects: false
sideEffects: false
sideEffects: false
sideEffects: false
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
methods.js
cross-spawn
Published by github-actions[bot] 8 months ago
[!WARNING]
there was a large internals refactor in this release. while most of the surface apis remained the same,
the following should be noted:
- storage format has changed in incompatible way.
while a migration is available for sqlite storage, it may break requiring to either re-login or export-then-import- json-based storages (json file and localstorage) were deprecated and removed
client
has been merged intocore
. it should be safe to replace all@mtcute/client
imports with@mtcute/core
.
if you use@mtcute/node
everything should work as-is- dispatcher no longer implicitly converts storage. see docs for an example
pnpm run run -> pnpm start
Published by teidesu 10 months ago
Published by github-actions[bot] 10 months ago
setProfilePhoto
-> setMyProfilePhoto
setUsername
-> setMyUsername
setEmojiStatus
-> setMyEmojiStatus
Chat
BotKeyboard.requestPeer
and peer_chosen
changedBotKeyboard.requestPeer
and peer_chosen
changed