Skip to content

0.3.0

Latest

Choose a tag to compare

@antonkomarev antonkomarev released this 22 Mar 17:41
· 1 commit to master since this release
54954ed

New

  • SelfApi — new $bot->self->get() for fetching bot info (/self/get)
  • FilesApi — new $bot->files->getInfo($fileId) for file metadata (/files/getInfo)
  • Each API class now strictly corresponds to its endpoint namespace: self, messages, chats, files, events

Breaking Changes

  • $bot->messages->filesGetInfo($fileId) → $bot->files->getInfo($fileId)
  • $bot->messages->pinMessage(...) → $bot->chats->pinMessage(...)
  • $bot->messages->unpinMessage(...) → $bot->chats->unpinMessage(...)

Other

  • Add ext-pcntl to dev requirements