Skip to content

sendVideo/sendAudio methods, and much more!

Compare
Choose a tag to compare
@danog danog released this 21 Apr 12:03
· 203 commits to v8 since this release

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