Fixes for secret chat layers
This commit is contained in:
parent
c11c2fabf4
commit
ef49472330
@ -717,7 +717,7 @@ class MTProto extends \Volatile
|
||||
|
||||
public function getV()
|
||||
{
|
||||
return 36;
|
||||
return 37;
|
||||
}
|
||||
|
||||
public function get_self()
|
||||
|
@ -544,7 +544,7 @@ trait TL
|
||||
$id = stream_get_contents($stream, 4);
|
||||
$constructorData = $this->constructors->find_by_id($id);
|
||||
if ($constructorData === false) {
|
||||
throw new Exception('Could not extract type: '.$type['type'].' with id '.$id);
|
||||
throw new Exception('Could not extract type: '.$type['type'].' with id '.bin2hex(strrev($id)));
|
||||
}
|
||||
switch ($constructorData['predicate']) {
|
||||
case 'gzip_packed':
|
||||
@ -577,7 +577,7 @@ trait TL
|
||||
$id = stream_get_contents($stream, 4);
|
||||
$constructorData = $this->constructors->find_by_id($id);
|
||||
if ($constructorData === false) {
|
||||
throw new Exception('Could not extract type: '.$type['type'].' with id '.$id);
|
||||
throw new Exception('Could not extract type: '.$type['type'].' with id '.bin2hex(strrev($id)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -63,4 +63,8 @@ decryptedMessageMediaDocument#7afe8ae2 thumb:bytes thumb_w:int thumb_h:int mime_
|
||||
|
||||
===46===
|
||||
decryptedMessageMediaVenue#8a0df56f lat:double long:double title:string address:string provider:string venue_id:string = DecryptedMessageMedia;
|
||||
documentAttributeAudio#ded218e0 duration:int title:string performer:string = DocumentAttribute;
|
||||
decryptedMessageMediaWebPage#e50511d8 url:string = DecryptedMessageMedia;
|
||||
|
||||
===55===
|
||||
documentAttributeSticker#3a556302 alt:string stickerset:InputStickerSet = DocumentAttribute;
|
||||
|
Loading…
Reference in New Issue
Block a user