Type: bytes

Back to constructor index

An object of type \danog\MadelineProto\TL\Types\Bytes.
When casted to string, turns into a string of bytes of variable length, with length smaller than or equal to 16777215.
When JSON-serialized, turns into an array of the following format:

[
   '_'     => 'bytes',
   'bytes' => base64_encode($contents)
];
This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.