PHP Telegram Bot based on the official Telegram Bot API
language_code
in DB::selectChats()
for filtering the chats selection. (#1058)Request::setClient()
now accepts more flexible ClientInterface
. (#1068)instanceof
checks for entities. (#1068)Request::$input
variable. (#1068)/start
command without any custom implementation.animation
type for GIF Message (which returns both animation
and document
). (#1044)mb_strtolower
from strtolower
because of latin-extented
characters. (#1051)Request::mediaInputHelper()
to include thumb
parameter. (#1059)GenericmessageCommand
to keep obsolete service message system commands working. (#999)SystemCommand::$execute_deprecated
(must be assigned before handling the request) to try and execute any deprecated system command. (#999)message
table, making the cleanup much faster on bigger databases. (Thanks to @damianperez) (#1015)/cleanup
command now supports dry run which simply outputs all queries that would be run. (#1015)GenericmessageCommand
. (#999)LoggerInterface
. Learn more about how to use it here: #964
LoginUrl
) (#957)reply_markup
field to Message
entity. (#957)null
. (#969)TelegramLog
now adheres to PSR-3 LoggerInterface
and allows custom logger implementations. (#964)TelegramLog::initialize($logger, $update_logger);
from now on. (#964)StartCommand
is now a UserCommand
(not SystemCommand
any more). (#970)forward_date
is now correctly saved to the DB. (#967)StickerSet::getStickers()
method. (#969)getIsMember()
method to ChatMember
entity. (#948)getForwardSenderName()
method to Message
entity. (#948)forward_sender_name
(and forgotten forward_signature
) DB fields. (#948)shipping_query
and pre_checkout_query
. (#885)/cleanup
command. (#947)InputMedia
objects using Request::sendMediaGroup()
and Request::editMediaMessage()
methods.Request::encodeFile($path)
. (#934)