Skip to content

Bot API 4.0

Compare
Choose a tag to compare
@pengrad pengrad released this 02 Aug 16:45
· 530 commits to master since this release
  • Added support for Telegram Passport + Decryption API
  • Added the method editMessageMedia and new types inputMediaAnimation, inputMediaAudio, and inputMediaDocument
  • Added support for attaching custom thumbnails to uploaded files in SendAudio, SendDocument, SendVideo, SendVideoNote
  • Added the field thumb to the Audio object
  • Added two new MessageEntity types: cashtag and phone_number
  • Added width, height, duration to Animation object
  • Added the field animation to the Message object
  • Added the method sendAnimation
  • Added support for Foursquare venues: added the new field foursquare_type to the objects Venue, InlineQueryResultVenue and InputVenueMessageContent, and the parameter foursquare_type to the sendVenue method
  • Added vCard support when sharing contacts: added the field vcard to the objects Contact, InlineQueryResultContact, InputContactMessageContent and the method sendContact