Skip to content

@achuprin achuprin released this Dec 12, 2019

  • Added new type of button to start new chat
  • Added Constructors API that allows bots to create message on behalf of a user
  • Added support for deep-links
  • Added ability to block users in chats
  • Added chat_id and user_id to message_removed update
  • Added method to get single message by its identifier
  • Added user_locale to bot_started and message_callback updates
  • Added meta information for video attachments
  • Other minor improvements and fixes. Check out complete diff for this version

Breaking changes

  • The message id format changed in current release.
    If you use API with fixed version (< 0.2.0) it doesn't affect you. Since this version mid will be serialised in new format on reads but old message format (mid.*) still is acceptable for all operations
Assets 2

@achuprin achuprin released this Oct 17, 2019 · 17 commits to master since this release

  • Added disable_link_preview parameter to POST:/messages method to disable links parsing in text
  • Added sending_file action
  • Removed several deprecated properties
  • photo upload type renamed to image. C is for consistency
Assets 2

@achuprin achuprin released this Sep 19, 2019 · 28 commits to master since this release

  • Added method to get chat administrators
  • For type: dialog chats added dialog_with_user
  • Added url for messages in public chats/channels
  • Removed callback_id of InlineKeyboardAttachment
  • Removed user_id of CallbackAnswer. It is no longer required. Just use callback_id of Callback
  • Several minor improvements: check diff for all changes.
Assets 2

@achuprin achuprin released this Jul 11, 2019 · 50 commits to master since this release

Thanks @asvbkr and @nitreojs for their contribution.

Assets 2

@achuprin achuprin released this Jun 27, 2019 · 72 commits to master since this release

  • Added full User object to update types: bot_started, bot_added, bot_removed, user_added, user_removed, chat_title_changed
  • Added size and filename to FileAttachment
  • Added token property to video/audio/file attachments allows you to reuse attachments uploaded by another user
Assets 2

@achuprin achuprin released this May 15, 2019 · 80 commits to master since this release

  • Added method to edit bot info
  • Added statistics for messages in channel
  • Message.sender and UserWithPhoto.avatar_url/full_avatar_url removed from required properties
Assets 2

@achuprin achuprin released this Apr 17, 2019 · 84 commits to master since this release

  • Added id property to media attachments (VideoAttachment, AudioAttachment) so you can reuse attachment from one message in another
  • Added ability to create linked message: replied or forwarded. See link in NewMessageBody
  • intent property marked as required only for CallbackButton
Assets 2

@achuprin achuprin released this Apr 8, 2019 · 92 commits to master since this release

Assets 2
You can’t perform that action at this time.