Viber Chat Bot API Releases

7.3.0 7.2.0 7.1.0 6.9.0 6.8.0 6.7.0 6.6.0

7.3.0 May 29, 2018

Added

  • BgMediaScaleType and ImageScaleType Keyboard parameters, so you can better fit images to cells.
  • open-map Keyboard action, which will open the navigation app based on the given coordinates.
  • MediaPlayer Keyboard parameter, so you can better tune the media display.
  • Frame Keyboard parameter, to help you better control the frame around each keyboard cell.
  • send-to-bot Internal browser action button, which will send the message back to your bot.
  • Favorites Metadata Let the user save your content (gif, link, video) to the user’s favorite extension.
  • TextShouldFit Keyboard parameter, to enable automatic text resizing.

7.2.0 November 19, 2017

Added

  • InputFieldState Keyboard parameter, now you can customize the keyboard input field.
  • TextPaddings Keyboard parameter.
  • Improved customization for keyboard button content formatting.

7.1.0 September 24, 2017

Added

  • location-picker Keyboard Action Type.
  • share-phone Keyboard Action Type.
  • Support more browser customization for keyboard open-url action with internal browser.
  • Improved granularity and customization for button placing and Keyboard/Carousel content message size.

6.9.0 July 02, 2017

Added

  • noPublicChat error type when the bot is missing a Public Chat interface.

Changed

  • Dropped the 250 character limitation from the keyboard’s ActionBody.

6.8.0 June 13, 2017

Added

  • Get User Details response now includes device_type.
  • Change the background gradient to use under keyboard text with the TextBgGradientColor keyboard parameter.
  • Determine the open-url action result, in app or external browser via the OpenURLType keyboard parameter.
  • Tweak the why url media opens with the OpenURLMediaType keyboard parameter.

6.7.0 March 07, 2017

Added

  • Carousel Content message type.
  • none keyboard action types.
  • silent keyboard parameter.
  • Conversation Started callback
  • Added subscribed field to mark whether user is already subscribed or not.
  • Message callback - Includes the sender as well to save you from an additional query.

Changed

  • [REST] No need to send keyboard type for keyboard JSON.

6.6.0 January 01, 2017

Added

  • Get Online - This request will fetch the online status of a given subscribed account member. The API supports up to 100 user ids per request and those users must be subscribed to the PA.
  • Get User Details - Returns both the mobile country code and the mobile network code.
  • Get Account Info - Returns the subscribers count and the registered events types.
  • Set WebHook - Returns the registered events types.
  • Subscribed and Conversation Started callbacks will return the max API version, matching the most updated user’s device.
  • Message callback - Returns video duration, sticker id, contact avatar, file size and file name for relevant message types.

Changed

  • [REST] No need to send authentication token in the HTTP post body, but it should remain in the HTTP header.
  • The Conversation started event now will fire when a user opens a conversation with the Public Account using the “message” button (found on the Public Account’s info screen) or using a deep link.