php-telegram-cli-client
php-telegram-cli-client copied to clipboard
problem in getContactList()
hey dude . when i use getContactList() it's return NULL to me , i can't understand why . ! i even use your exmaple file , it's return null to
NULL
PHP Notice: Trying to get property of non-object in /root/php-discovery-shell-master/example.php on line 13
it's point to this line
var_dump($telegram->msg($contactList[0], '"Te\'st"' . "\n" . time()));
when i just have one contact in my contacts list , everything is ok, but when i have more contacts it's return null , please check script again