diff --git a/docs/API_docs/types/bytes.md b/docs/API_docs/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/docs/API_docs/types/bytes.md +++ b/docs/API_docs/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/docs/MTProto_docs/types/bytes.md b/docs/MTProto_docs/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/docs/MTProto_docs/types/bytes.md +++ b/docs/MTProto_docs/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/docs/docs/SETTINGS.md b/docs/docs/SETTINGS.md index b94edf07..707e48f2 100644 --- a/docs/docs/SETTINGS.md +++ b/docs/docs/SETTINGS.md @@ -439,4 +439,4 @@ The settings array can be accessed and modified in the instantiated class by acc $MadelineProto->settings['updates']['handle_updates'] = true; // reenable update fetching ``` -Next section +Next section \ No newline at end of file diff --git a/old_docs/API_docs_v100/types/bytes.md b/old_docs/API_docs_v100/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v100/types/bytes.md +++ b/old_docs/API_docs_v100/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v102/types/bytes.md b/old_docs/API_docs_v102/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v102/types/bytes.md +++ b/old_docs/API_docs_v102/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v103/types/bytes.md b/old_docs/API_docs_v103/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v103/types/bytes.md +++ b/old_docs/API_docs_v103/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v104/types/bytes.md b/old_docs/API_docs_v104/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v104/types/bytes.md +++ b/old_docs/API_docs_v104/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v105/types/bytes.md b/old_docs/API_docs_v105/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v105/types/bytes.md +++ b/old_docs/API_docs_v105/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v18/types/bytes.md b/old_docs/API_docs_v18/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v18/types/bytes.md +++ b/old_docs/API_docs_v18/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v23/types/bytes.md b/old_docs/API_docs_v23/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v23/types/bytes.md +++ b/old_docs/API_docs_v23/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v25/types/bytes.md b/old_docs/API_docs_v25/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v25/types/bytes.md +++ b/old_docs/API_docs_v25/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v27/types/bytes.md b/old_docs/API_docs_v27/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v27/types/bytes.md +++ b/old_docs/API_docs_v27/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v33/types/bytes.md b/old_docs/API_docs_v33/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v33/types/bytes.md +++ b/old_docs/API_docs_v33/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v38/types/bytes.md b/old_docs/API_docs_v38/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v38/types/bytes.md +++ b/old_docs/API_docs_v38/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v40/types/bytes.md b/old_docs/API_docs_v40/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v40/types/bytes.md +++ b/old_docs/API_docs_v40/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v41/types/bytes.md b/old_docs/API_docs_v41/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v41/types/bytes.md +++ b/old_docs/API_docs_v41/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v42/types/bytes.md b/old_docs/API_docs_v42/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v42/types/bytes.md +++ b/old_docs/API_docs_v42/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v44/types/bytes.md b/old_docs/API_docs_v44/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v44/types/bytes.md +++ b/old_docs/API_docs_v44/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v45/types/bytes.md b/old_docs/API_docs_v45/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v45/types/bytes.md +++ b/old_docs/API_docs_v45/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v46/types/bytes.md b/old_docs/API_docs_v46/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v46/types/bytes.md +++ b/old_docs/API_docs_v46/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v51/types/bytes.md b/old_docs/API_docs_v51/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v51/types/bytes.md +++ b/old_docs/API_docs_v51/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v53/types/bytes.md b/old_docs/API_docs_v53/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v53/types/bytes.md +++ b/old_docs/API_docs_v53/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v55/types/bytes.md b/old_docs/API_docs_v55/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v55/types/bytes.md +++ b/old_docs/API_docs_v55/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v57/types/bytes.md b/old_docs/API_docs_v57/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v57/types/bytes.md +++ b/old_docs/API_docs_v57/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v62/types/bytes.md b/old_docs/API_docs_v62/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v62/types/bytes.md +++ b/old_docs/API_docs_v62/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v65/types/bytes.md b/old_docs/API_docs_v65/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v65/types/bytes.md +++ b/old_docs/API_docs_v65/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v66/types/bytes.md b/old_docs/API_docs_v66/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v66/types/bytes.md +++ b/old_docs/API_docs_v66/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v68/types/bytes.md b/old_docs/API_docs_v68/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v68/types/bytes.md +++ b/old_docs/API_docs_v68/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v70/types/bytes.md b/old_docs/API_docs_v70/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v70/types/bytes.md +++ b/old_docs/API_docs_v70/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v71/types/bytes.md b/old_docs/API_docs_v71/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v71/types/bytes.md +++ b/old_docs/API_docs_v71/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v72/types/bytes.md b/old_docs/API_docs_v72/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v72/types/bytes.md +++ b/old_docs/API_docs_v72/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v73/types/bytes.md b/old_docs/API_docs_v73/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v73/types/bytes.md +++ b/old_docs/API_docs_v73/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v75/types/bytes.md b/old_docs/API_docs_v75/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v75/types/bytes.md +++ b/old_docs/API_docs_v75/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v81/types/bytes.md b/old_docs/API_docs_v81/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v81/types/bytes.md +++ b/old_docs/API_docs_v81/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v82/types/bytes.md b/old_docs/API_docs_v82/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v82/types/bytes.md +++ b/old_docs/API_docs_v82/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v86/types/bytes.md b/old_docs/API_docs_v86/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v86/types/bytes.md +++ b/old_docs/API_docs_v86/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v89/types/bytes.md b/old_docs/API_docs_v89/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v89/types/bytes.md +++ b/old_docs/API_docs_v89/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v91/types/bytes.md b/old_docs/API_docs_v91/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v91/types/bytes.md +++ b/old_docs/API_docs_v91/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v95/types/bytes.md b/old_docs/API_docs_v95/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v95/types/bytes.md +++ b/old_docs/API_docs_v95/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ``` diff --git a/old_docs/API_docs_v97/types/bytes.md b/old_docs/API_docs_v97/types/bytes.md index a4d8c2f7..15ea3a1a 100644 --- a/old_docs/API_docs_v97/types/bytes.md +++ b/old_docs/API_docs_v97/types/bytes.md @@ -6,7 +6,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png ## Type: bytes [Back to constructor index](index.md) -An object of type `\danog\MadelineProto\TL\Types\Bytes`. +```php +$bytes = "simple string of bytes"; +``` + +Internally, 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: ```