github sanyok12345/teleproto v1.228.5

latest releases: v1.232.1, v1.232.0, v1.230.1...
3 months ago

Changes

  • ~170 new high-level methods: chat administration, invite links, forums, stories, folders, sticker sets, profile, contacts, bot configuration and account settings
  • Rich messages (Layer 228): Rich.markdown() / Rich.html() / Rich.blocks() to send, message.richMarkdown / richHtml / richText to read
  • Polls and quizzes: sendPoll, vote, closePoll
  • Scheduled messages, drafts, copyMessages, getMessageByLink, translateText and setTyping
  • iterDownload streams a file chunk by chunk instead of buffering it
  • Dialog gained send, markAsRead, archive, pin and delete
  • Message and file methods now accept every field their requests support: quoted replies, spoilers, self-destruct timers, video covers, paid messages and quick-reply shortcuts
  • Documentation is grouped by category and its search covers comments

Breaking

  • message.delete() and callbackQuery.delete() now delete for everyone; pass { revoke: false } for your side only
  • closePoll returns the closed Api.Poll instead of a message
  • markAsRead clears mentions only with clearMentions: true, previously the opposite
  • Node.js 18 or newer is required (#33)

Fixes

  • Channel posts are no longer lost when they arrive during an update difference (#35)
  • Sign in with a web authorization token via signInWithWebToken (#34)
  • Quiz polls are no longer rejected by the server
  • Downloads accept a message directly again
  • Albums and messages with files no longer drop sendAs, effect, invertMedia, thumbnails and progress callbacks
  • A reconnect while signing in is no longer reported as an error

Upgrade

  • npm i teleproto@latest

Don't miss a new teleproto release

NewReleases is sending notifications on new releases.