web_app argument to
InlineKeyboardButton, KeyboardButton and
related markup functionsWebhook
classset_webhook() method to include
ip_address, drop_pending_updates and
secret_token parametersforwardMessage in Bot class
methodsBot class:
editMessageText()editMessageCaption()reply_markup parameter from
editMessageReplyMarkup() fixed (#9).
Thanks to Diogo Tayt-son for
reporting.Updater() has been
optimized.+ 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).destfile parameter for getFile() to
download files to a local path.username parameter for
CommandHandler() with examples.ErrorHandler() with examples.from_chat_id() and from_user_id()
methods for Update().Filters for MessageFilters to
avoid masking from utils::Filters.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()reply_markup from
sendMessage() for keyboard displaying, with its objects:
ReplyKeyboardMarkupInlineKeyboardMarkupReplyKeyboardRemoveForceReplyanswerInlineQuery() and the
InlineQueryResult object.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.clean_updates(), set_token(),
bot_token() and user_id().
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.