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

1.5.0

Choose a tag to compare

@Lukasss93 Lukasss93 released this 14 Aug 17:18
· 59 commits to master since this release

[1.5.0]

Added

  • Added new endpoint method to call api methods manually
  • Added 2 classes in constants namespace:
    • ChatActions to use (if you want) in action parameter (sendChatAction method)
    • ParseModes to use (if you want) in parse_mode parameter
  • Auto split very long text in sendMessage method (4096 characters per message)
    • Enable it after class instantiation:
      $bot = new TelegramBot($token);
      $bot->splitLongMessage=true;
    • Default: false
    • Return Message[]