Skip to content
Compare
Choose a tag to compare
Compare
Choose a tag to compare
Compare
Choose a tag to compare
  • Added method to get chat by its @link
  • Added description for users in some cases
  • Added user_locale to message_created update

Check out the complete diff for this release.

Compare
Choose a tag to compare
  • 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
Compare
Choose a tag to compare
  • 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
Compare
Choose a tag to compare
  • 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.
Compare
Choose a tag to compare

Thanks @asvbkr and @nitreojs for their contribution.

Compare
Choose a tag to compare
  • 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
Compare
Choose a tag to compare
  • 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
Compare
Choose a tag to compare
  • 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