github sanyok12345/teleproto v1.232.1

5 days ago

Changes

  • Browser support, no polyfills needed
  • Custom transports through Transport.connect and WebSocketTransport.webSocket
  • update.missed and catchUp: false for updates missed while offline
  • errors.handle and errors.match for typed error handling
  • RichContent and Rich text helpers for rich messages
  • teleproto/client exports the account, contacts, folders, forums, invite links, stickers and stories modules
  • client.updates.watch pauses channel polling during flood waits

Fixes

  • TL objects are read where code generation is disallowed (#52)
  • StoreSession no longer touches the global localStorage of Node.js, and delete() removes only its own keys
  • The connection survives system sleep and suspended tabs
  • client.updates.watch retries channel requests after flood waits
  • Posts skipped by channelDifferenceTooLong are delivered
  • Channel pts are reset on PERSISTENT_TIMESTAMP_INVALID
  • TelegramClient.events is typed instead of any

Upgrade

  • npm i teleproto@1.232.1

Don't miss a new teleproto release

NewReleases is sending notifications on new releases.