Skip to content

Version 2.1.0 Stable

Choose a tag to compare

@iGusev iGusev released this 16 Sep 21:52
· 419 commits to master since this release

Implemented latest changes in the Telegram API

  • The API now supports both video and photo captions. The caption field has been removed from the Video object and added to the Message object instead.
  • Caption and duration optional fields have been added to the sendVideo method.
  • Fixed typo: user_id in the Contact object is now correctly labeled as Integer, not String
  • The thumb field is now optional for Video, Sticker and Document objects
  • Added new type Voice
  • Added new method sendVoice for sending voice messages.
  • Added optional fields performer, title to the Audio object and sendAudio method.
  • Added optional field voice to the Message object.
  • New field parse_mode addded to sendMessage
  • Added support for self-signed certificates: upload your certificate using the certificate parameter in the setWebhook method. Fixed docs
  • Tests