mirror of
https://github.com/danog/tg-file-decoder.git
synced 2024-11-26 20:34:39 +01:00
cs-fix
This commit is contained in:
parent
3f173b070f
commit
d686aac36f
26
src/type.php
26
src/type.php
@ -41,55 +41,55 @@ const VOICE = 3;
|
||||
*/
|
||||
const VIDEO = 4;
|
||||
/**
|
||||
* Document
|
||||
* Document.
|
||||
*/
|
||||
const DOCUMENT = 5;
|
||||
/**
|
||||
* Secret chat document
|
||||
* Secret chat document.
|
||||
*/
|
||||
const ENCRYPTED = 6;
|
||||
/**
|
||||
* Temporary document
|
||||
* Temporary document.
|
||||
*/
|
||||
const TEMP = 7;
|
||||
/**
|
||||
* Sticker
|
||||
* Sticker.
|
||||
*/
|
||||
const STICKER = 8;
|
||||
/**
|
||||
* Music
|
||||
* Music.
|
||||
*/
|
||||
const AUDIO = 9;
|
||||
/**
|
||||
* GIF
|
||||
* GIF.
|
||||
*/
|
||||
const ANIMATION = 10;
|
||||
/**
|
||||
* Encrypted thumbnail
|
||||
* Encrypted thumbnail.
|
||||
*/
|
||||
const ENCRYPTED_THUMBNAIL = 11;
|
||||
/**
|
||||
* Wallpaper
|
||||
* Wallpaper.
|
||||
*/
|
||||
const WALLPAPER = 12;
|
||||
/**
|
||||
* Round video
|
||||
* Round video.
|
||||
*/
|
||||
const VIDEO_NOTE = 13;
|
||||
/**
|
||||
* Passport raw file
|
||||
* Passport raw file.
|
||||
*/
|
||||
const SECURE_RAW = 14;
|
||||
/**
|
||||
* Passport file
|
||||
* Passport file.
|
||||
*/
|
||||
const SECURE = 15;
|
||||
/**
|
||||
* Background
|
||||
* Background.
|
||||
*/
|
||||
const BACKGROUND = 16;
|
||||
/**
|
||||
* Size
|
||||
* Size.
|
||||
*/
|
||||
const SIZE = 17;
|
||||
const NONE = 18;
|
||||
|
@ -20,7 +20,6 @@ class IntegrationTest extends TestCase
|
||||
*/
|
||||
public function testAll(string $type, string $fileIdStr, string $uniqueFileIdStr)
|
||||
{
|
||||
var_dump($fileIdStr, $uniqueFileIdStr);
|
||||
$fileId = FileId::fromBotAPI($fileIdStr);
|
||||
$this->assertSame($type, $fileId->getTypeName());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user