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

Releases: zyberspace/php-telegram-cli-client

Version 0.4.1

23 Dec 18:51
Compare
Choose a tag to compare
  • fixed the cli-command of chatDeleteUser() (#19)

Version 0.4.0

09 Jul 22:00
Compare
Choose a tag to compare

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

11 May 10:45
Compare
Choose a tag to compare
  • Minimum php version is now 5.3.0

Version 0.2.0

10 May 14:55
Compare
Choose a tag to compare

Restructured client and command-wrappers

  • Renamed the old Client-class to RawClient
  • All command-wrappers are now in the new Client-class and extend the RawClient-class

(no API-Changes)

Version 0.1.1

10 May 13:06
Compare
Choose a tag to compare
  • Bugfix: Changed phone-number-parsing for addContact() so it works with 32bit php

Version 0.1.0

18 Feb 04:38
Compare
Choose a tag to compare

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)