Releases: ebeneditos/telegram.bot
Releases · ebeneditos/telegram.bot
v3.0.2
v3.0.1
- Updated Rd files following target package anchors guidelines
v3.0.0
- Added Webhook functionality introducing
Webhookclass - Extended
set_webhook()method to includeip_address,drop_pending_updatesandsecret_tokenparameters - Added tests for Webhook functionality
- Updated documentation
v2.4.1
- Included
forwardMessageinBotclass methods
v2.4.0
- New methods have been added to
Botclass:editMessageText()editMessageCaption()
v2.3.1
- Bug affecting
reply_markupparameter fromeditMessageReplyMarkup()fixed (#9). Thanks to Diogo Tayt-son for reporting.
v2.3.0
- Processing of updates through
Updater()has been optimized. - Bug affecting callback query answering fixed. Thanks to Nikita Strezhnev for reporting.
v2.2.0
- New S3 methods:
+method for classTelegramObject, which eases theUpdaterconstruction (see The add operator).!,&and|methods for classBaseFilter, which enables combining filters (see Advanced Filters).
- New
destfileparameter forgetFile()to download files to a local path. - New
usernameparameter forCommandHandler()with examples. - New
ErrorHandler()with examples. - New
from_chat_id()andfrom_user_id()methods forUpdate(). - Vignettes update:
- Added The add operator.
- Substituted Custom filters vignette with Advanced filters.
- Minor bug fixes.
v2.1.0
- Fixed a bug that affected sending local files.
- Renamed
FiltersforMessageFiltersto avoid masking fromutils::Filters. - Added Set a Proxy vignette and examples.
v2.0.0
Bot()has been totally updated so to be independent fromTGBot. Therefore, all its API methods have been implemented, optimized and updated (e.g. addingtimeoutargument togetUpdates(), 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_markupfromsendMessage()for keyboard displaying, with its objects:ReplyKeyboardMarkupInlineKeyboardMarkupReplyKeyboardRemoveForceReply
- Support of inline mode with
answerInlineQuery()and theInlineQueryResultobject. - New
request_configparameter forBot()andUpdater(), 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()anduser_id(). - Vignettes added:
- Introduction
- Building a Bot
- Basic functionalities
- Custom filters
- LICENSE updated from LGPL-3 to GPL-3.
- Minor bug fixes.