Releases: Mateodioev/telegram-bot-api
Releases · Mateodioev/telegram-bot-api
Bug fix
v3.0.1 Change type of create method
Major release
Now methods are called with class Method
Full Changelog: v2.0.1...v3.0
Refactored Code
add methods to button
v2.0.1 add method removekeyboard and addkeyboard
Optional paramether
Mateodioev\Bots\Telegram\Api
request
return type ofMateodioev\Utils\fakeStdClass
Mateodioev\Bots\Telegram\Methods
- add optional params
Full Changelog: v1.2.2...v2.0
Telegram test server support
Add method setTestEnviroment
in Mateodioev\Bots\Telegram\Api
Fixed download method
Full Changelog: v1.2.1...v1.2.2
Add method download
Download a document sent to the bot
\Mateodioev\Bots\Telegram\Api->download($file_path, $destination, $timeout)
$file_path
: Get with Api->request('getFile', ['file_id' => $unique_file_id]);
$destination
: Name of the document where the file will be saved
$timeout
: Request timeout
Full Changelog: v1.2...v1.2.1
Update composer version
v1.2 update request version
directory const
Change / use DIRECTORY_SEPARATOR
Fixed minor error
set static vars in TelegramLogger