MTProto improve

This commit is contained in:
mercury
2023-06-06 18:05:32 +04:00
parent bf91511da6
commit b103bed5ce
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ class Bot
public function generateSecret()
{
$this->send($this->input['chat'], trim($this->ssh('head -c 16 /dev/urandom | xxd -ps', 'tg')));
$this->secretSet(trim($this->ssh('head -c 16 /dev/urandom | xxd -ps', 'tg')));
}
public function setSecret()