Skip to content

Releases: ebeneditos/telegram.bot

v3.0.2

26 Oct 20:36

Choose a tag to compare

  • Added web_app argument to InlineKeyboardButton, KeyboardButton and related markup functions
  • Allows passing URL or object to open a Telegram Mini App directly from inline or reply keyboard buttons. Thanks to Alexey Seleznev for updating

v3.0.1

16 Sep 17:47

Choose a tag to compare

  • Updated Rd files following target package anchors guidelines

v3.0.0

07 Sep 17:09

Choose a tag to compare

  • Added Webhook functionality introducing Webhook class
  • Extended set_webhook() method to include ip_address, drop_pending_updates and secret_token parameters
  • Added tests for Webhook functionality
  • Updated documentation

v2.4.1

18 Aug 11:52

Choose a tag to compare

  • Included forwardMessage in Bot class methods

v2.4.0

19 Oct 21:07

Choose a tag to compare

  • New methods have been added to Bot class:
    • editMessageText()
    • editMessageCaption()

v2.3.1

28 Apr 15:12

Choose a tag to compare

  • Bug affecting reply_markup parameter from editMessageReplyMarkup() fixed (#9). Thanks to Diogo Tayt-son for reporting.

v2.3.0

09 Feb 23:16

Choose a tag to compare

  • Processing of updates through Updater() has been optimized.
  • Bug affecting callback query answering fixed. Thanks to Nikita Strezhnev for reporting.

v2.2.0

01 Dec 18:00
f99146f

Choose a tag to compare

  • New S3 methods:
    • + method for class TelegramObject, which eases the Updater construction (see The add operator).
    • !, & and | methods for class BaseFilter, which enables combining filters (see Advanced Filters).
  • New destfile parameter for getFile() to download files to a local path.
  • New username parameter for CommandHandler() with examples.
  • New ErrorHandler() with examples.
  • New from_chat_id() and from_user_id() methods for Update().
  • Vignettes update:
    • Added The add operator.
    • Substituted Custom filters vignette with Advanced filters.
  • Minor bug fixes.

v2.1.0

12 Nov 19:15

Choose a tag to compare

  • Fixed a bug that affected sending local files.
  • Renamed Filters for MessageFilters to avoid masking from utils::Filters.
  • Added Set a Proxy vignette and examples.

v2.0.0

10 Nov 16:19

Choose a tag to compare

  • Bot() has been totally updated so to be independent from TGBot. Therefore, all its API methods have been implemented, optimized and updated (e.g. adding timeout argument to getUpdates(), so to use Long Polling). Additionally, new methods have been added, the full list is:
    • answerCallbackQuery()
    • answerInlineQuery()
    • deleteMessage()
    • deleteWebhook()
    • editMessageReplyMarkup()
    • forwardMessage()
    • getFile()
    • getMe()
    • getUpdates()
    • getUserProfilePhotos()
    • getWebhookInfo()
    • leaveChat()
    • sendAnimation()
    • sendAudio()
    • sendChatAction()
    • sendDocument()
    • sendLocation()
    • sendMessage()
    • sendPhoto()
    • sendSticker()
    • sendVideo()
    • sendVideoNote()
    • sendVoice()
    • setWebhook()
  • New parameter reply_markup from sendMessage() for keyboard displaying, with its objects:
    • ReplyKeyboardMarkup
    • InlineKeyboardMarkup
    • ReplyKeyboardRemove
    • ForceReply
  • Support of inline mode with answerInlineQuery() and the InlineQueryResult object.
  • New request_config parameter for Bot() and Updater(), which allows you to set additional configuration settings to be passed to the bot's POST requests, useful for users who would like to control the default timeouts and/or control the proxy used for HTTP communication.
  • New clean_updates(), set_token(), bot_token() and user_id().
  • Vignettes added:
    • Introduction
    • Building a Bot
    • Basic functionalities
    • Custom filters
  • LICENSE updated from LGPL-3 to GPL-3.
  • Minor bug fixes.