Skip to content

Releases: danog/MadelineProto

Entities in polls

28 Apr 15:20
Compare
Choose a tag to compare

Add support for styled text entities in polls, by adding a questionEntities property and a getQuestionHTML method to Poll a answerEntities property and a getHTML method to PollAnswer.

To avoid confusion with getQuestionHTML, the inproperly named getHTML method of QuizPoll was renamed to getSolutionHTML.

First stable release of MadelineProto v8!

27 Apr 14:49
aeb3d18
Compare
Choose a tag to compare

This is the first stable release of MadelineProto v8!

For the full changelog, see the messages on the official MadelineProto channel, starting from https://t.me/MadelineProto/591!

Here are the main highlights:

Major parts of the MadelineProto core were split into standalone libraries that can be used without requiring all of MadelineProto:

The next releases will focus on even more features and performance improvements, such as prometheus and grafana statistics, a static TL parser and much, much more!

Cheers!
Daniil Gentili.

Layer 179, getPropicInfo & getFullInfo improvements

27 Apr 14:31
Compare
Choose a tag to compare

Features:

  • Make getPropicInfo, getFullInfo and getPwrChat return Photo objects for profile pictures, compatible with sendPhoto methods.
  • Make getPwrChat return a bit more info with fullfetch=false
  • Update to layer 179

New Methods:

New Constructors:

Layer 178, multiple fixes

25 Apr 16:05
Compare
Choose a tag to compare

Fixes:

  • Improve markdown parsing
  • Remove temporary files created during error reporting
  • Fix bug in getFullInfo

New Methods:

Changed Methods:

New Constructors:

Changed Constructors:

Deleted Constructors:

  • sponsoredWebPage

Fixes

23 Apr 13:32
Compare
Choose a tag to compare

Fixes:

  • Fix upload callbacks in the send* methods
  • Fix issue with plugins in a phar

Minor entity fixes

22 Apr 15:36
Compare
Choose a tag to compare

Minor fixes to the telegram styled text entity conversion module.

Fix performance issue

21 Apr 13:31
Compare
Choose a tag to compare

Fixes:

  • Fix performance issue caused by excessive GC-ing
  • Fix Message::forward

sendVideo/sendAudio methods, and much more!

21 Apr 12:03
Compare
Choose a tag to compare

MadelineProto 8.0.0-beta200 introduces new simple sendVideo, sendAudio, sendVoice, sendSticker, sendGif, sendDocumentPhoto methods that automatically extract duration, thumbnails and other metadata from audio and video files!

Also, sendDocument now supports automatic mime type detection for secret chats.

Additionally, Markdown and HTML parsing functionality was extracted in a separate library with bot API support, https://github.com/danog/telegram-entities!

Features:

  • Add a new scheduled flag to the Message class for scheduled messages
  • Split the markdown and HTML parser into a separate library, https://github.com/danog/telegram-entities
  • Add new simple sendVideo, sendAudio, sendVoice, sendSticker, sendGif, sendDocumentPhoto methods and the Message::replyXXX variants that automatically extract duration, thumbnails and other metadata from audio and video files!
  • sendDocument now supports automatic mime type detection for secret chats.

Fixes:

  • Fix getPwrChat
  • Fix methods that use legacy chats
  • Multiple other bug fixes

Multiple fixes

11 Apr 19:48
Compare
Choose a tag to compare

Fixes:

  • Fix issue with the peer database caused by the ORM migration (a relogin is recommended to fix peer database issues)
  • Fix an issue where ReadableBuffers and other streams could not be used when uploading stories in certain conditions
  • Move legacy polyfill classes to namespace to fix composer issues

Fix issue with ORM

08 Apr 14:55
Compare
Choose a tag to compare

This release fixes an issue with the ORM.