Skip to content

upload* methods and multiple fixes

Latest

Choose a tag to compare

@danog danog released this 27 Sep 12:05
· 11 commits to v8 since this release

Features:

  • Add new uploadDocument, uploadPhoto, uploadAudio, uploadDocumentPhoto, uploadGif, uploadPhoto, uploadSticker, uploadVideo, uploadVoice methods as more powerful versions of messages.uploadMedia, to upload media without actually sending it to any chat, with all the same automatic features offered by their send* variants.

Fixes:

  • Fix channel is already closed errors after triggering an IPC server restart()
  • Fix passing Messages to methods accepting inputDocument/inputPhoto constructors
  • Allow passing a string to textWithEntities
  • Small updates fix
  • Transform the linked_monoforum_id returned by getInfo to a bot API ID