Skip to content

Releases: Dratejinn/telegrambot

v2.0.0

Choose a tag to compare

@Dratejinn Dratejinn released this 04 Jul 15:14

Breaking changes:

Bot:

  • The bot now has the token as a required argument (nullable string)
  • A new secondary required argument privacyPolicyEmailAddress (string, the e-mail address that can be passed on to the privacyPolicy command handler)

MessageHandler:
MessageHandler now has the abstract method _getPrivacyCommandHandler This method is required to have the bot present its privacy policy. Two default policies have been implemented in the library.

  • Telegram\Bot\Handler\Command\DataStoredPrivacyPolicyHandler
  • Telegram\Bot\Handler\Command\NoDataStoredPrivacyPolicyHandler

Send methods:
All send methods have been updated to make use of an internal OutboundException when the reply from the telegram API did not yield the correct result. The OutboundException class extends the regular \Exception.

Legal notice:

Note: Ensure that the Privacy Policy complies with applicable laws and regulations, such as the General Data Protection Regulation (GDPR) for users in the European Union, the California Consumer Privacy Act (CCPA) for users in California, and other relevant privacy laws. It is advisable to consult with a legal professional to tailor the privacy policy to your specific situation.

v1.10.4

Choose a tag to compare

@Dratejinn Dratejinn released this 12 Feb 14:35
a38d8eb
  • Added support for psr/log 2.0 and 3.0

v1.10.3

Choose a tag to compare

@Dratejinn Dratejinn released this 09 May 15:03
b7ef067

Added PHP 8 compatibility
Added curl timeout settings

Hotfix 1.10.2

Choose a tag to compare

@Dratejinn Dratejinn released this 14 Apr 12:16
1267f49
  • Fixed missing self return in Chat::Create

Hotfix 1.10.1

Choose a tag to compare

@Dratejinn Dratejinn released this 26 Oct 15:40
404d717

Fixed missing argument in pdo connector.
Changed the call method on ASend to return the response from telegram so implementors can parse and handle the output.

Update to bot api 5.2

Choose a tag to compare

@Dratejinn Dratejinn released this 31 May 22:15

Updated to bot api 5.2

SetCommand Support

Choose a tag to compare

@Dratejinn Dratejinn released this 03 Apr 20:54
970c363

Added support to automaticaly set the bots commands.

To automatically add commands to the bot overwrite the following methods from ACommandHandler:

ShouldPublishCommand and GetDescriptionForCommand

Update to bot api 4.7

Choose a tag to compare

@Dratejinn Dratejinn released this 03 Apr 16:40
3f4c964

Update to bot api 4.7

Introduced method handleMessage on AMessageHandler

Update to bot api 4.6

Choose a tag to compare

@Dratejinn Dratejinn released this 07 Mar 18:49
8d58a00

Update to bot api 4.6
minor bug fixes

Update to bot api 3.6

Choose a tag to compare

@Dratejinn Dratejinn released this 10 Mar 12:03
19b076a

Updated to bot api 3.6

Small minor fixes