This repository has been archived by the owner on May 14, 2022. It is now read-only.
Releases: zyberspace/php-telegram-cli-client
Releases · zyberspace/php-telegram-cli-client
Version 0.4.1
- fixed the cli-command of
chatDeleteUser()
(#19)
Version 0.4.0
New helper-methods:
- formatPeerList()
- formatFileName()
New command-wrappers:
- broadcast()
- sendTyping()
- setProfileName()
- blockUser() and unblockUser()
- createGroupChat()
- chatInfo()
- renameChat()
- chatAddUser()
- chatDeleteUser()
New features:
- added discovery-shell as an easy way to test new methods and get used to the lib
- telegram-cli-client now uses the new
--json
-argument to get all answers back formatted in JSON (requires you to update your telgram-cli and your telegram-cli start-command) exec()
-method: command-arguments can now be passed as additional method-arguments
Bugfixes:
- documentation-fixes
- reverted
example.php
(forgot to delete an old test i used before the discovery-shell was implemented) - fixed reading of the answer when the answer was bigger than 8192 bytes
- removed connection-timeout as we don't need it anymore and to avoid problems with large uploads
Version 0.3.0
- Minimum php version is now 5.3.0
Version 0.2.0
Restructured client and command-wrappers
- Renamed the old
Client
-class toRawClient
- All command-wrappers are now in the new
Client
-class and extend theRawClient
-class
(no API-Changes)
Version 0.1.1
- Bugfix: Changed phone-number-parsing for addContact() so it works with 32bit php
Version 0.1.0
Supported command-wrappers:
- setStatusOnline()
- setStatusOffline()
- msg()
- addContact()
- renameContact()
- deleteContact()
- markRead()
- getContactList()
Command-wrappers which are implemented but still need some work:
- getUserInfo() (returned value will change in the future)
- getDialogList() (returned value will change in the future)
- getHistory() (returned value will change in the future)