Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Releases: Lukasss93/telegrambot-php

1.7.1

31 Mar 23:30
Compare
Choose a tag to compare

[1.7.1] - 2020-03-31

Changed

  • Updated to Telegram Bot API 4.7
  • Improved PHPDocs

1.7

18 Mar 22:25
Compare
Choose a tag to compare
1.7

[1.7] - 2020-03-18

Changed

  • Added support for PHP 7.2+
  • Updated to Telegram Bot API 4.5 + 4.6
  • Improved PHPDocs
  • Updated code indentation to PSR-12 standard
  • Updated LICENSE file
  • Updated CHANGELOG file using Keep a Changelog

Fixed

  • Missing fields in some types

Removed

  • Dropped support for PHP 5.6

1.6.14

31 Jul 22:53
Compare
Choose a tag to compare

[1.6.14]

Changed

  • Updated to Telegram Bot API 4.4

1.6.13

31 May 22:14
Compare
Choose a tag to compare

[1.6.13]

Changed

  • Updated to Telegram Bot API 4.3
  • Updated phpdocs

Fixed

  • Missing $poll variable inside Message class

1.6.12

14 Apr 18:21
Compare
Choose a tag to compare

Updated to Telegram Bot API 4.2

1.6.11

27 Aug 22:06
Compare
Choose a tag to compare

Added

  • Added custom method: clearUpdates(). It's an alias for $this->getUpdates(-1);
  • Added TelegramLimits class constants to get the download/upload file limit.

Changed

  • Updated to Telegram Bot API 4.1
  • You can now get the string argument at the array index position with the getArgs() method. Pass:
    • True to get an array of strings;
    • False to get a string;
    • Integer to get the string at the array index position.

1.6.10

21 Aug 22:14
Compare
Choose a tag to compare

Fixed

  • JsonMapper Exception PHPDoc message in all methods.
  • Exception using sendMessage + split message feature with unicode strings.
  • Missing php extensions in composer.json.

1.6.9

28 Jul 15:04
Compare
Choose a tag to compare

[1.6.9]

Added

  • Added 3 classes in constants namespace:
    • MessageEntityTypes
    • PassportSources
    • PassportTypes

Changed

  • Updated to Telegram Bot API 4.0
  • Updated license file.
  • Updated phpdocs in methods.
  • Updated code indentation.
  • Replaced whitespaces with tabs.

Removed

  • Removed unused variables.

Fixed

  • JsonMapper Exception true type
  • $pay parameter unused in buildInlineKeyboardButton() method.
  • Missing $allowed_updates parameter to getUpdates() method.

1.6.8

09 Apr 22:17
Compare
Choose a tag to compare
  • Bug fix: JsonMapper Exception true type
  • Added isCommand() method to Message Class

1.6.7

14 Feb 22:30
Compare
Choose a tag to compare

Fixed uploadStickerFile method