PHP Telegram Bot based on the official Telegram Bot API
Telegram::runCommands
returns array of ServerResponse
objects of executed commands. (#1223)Telegram::runCommands
. (#1223)Telegram::handleGetUpdates
method should be passed a $data
array for parameters. (#1202)message.edit_date
is now of type timestamp
. (#1191)getUpdates
method. (#1202)getUpdates
method wrongly sends only 1 Update when a limit of 0 is passed. (#1169)Telegram::runCommands()
now passes the correct message text to the commands. (#1181)/clean
query. (@dva-re) (#1139)setUpdateFilter($callback)
used to filter processUpdate(Update $update)
calls. If $callback
returns false
the update isn't processed and an empty falsey ServerResponse
is returned. (@VRciF) (#1045)Entity::escapeMarkdownV2
for MarkdownV2. (#1094)TelegramLog::$remove_bot_token
parameter to false
. (@jacklul) (#1095)TelegramLog::$always_log_request_and_response
parameter to force output of the request and response data to the debug log, also for successful requests. (#1089)via_bot
field). (#1112)Entity::escapeMarkdown
static, to not require an Entity
object. (#1094)poll_answer
also requires the user_id
. (#1087)