1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
inputSecureFileUploaded | inputSecureFileUploaded attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputSecureFileUploaded
Attributes:
Name | Type | Required |
---|---|---|
id | long | Yes |
parts | int | Yes |
md5_checksum | string | Yes |
file_hash | bytes | Yes |
secret | bytes | Yes |
Type: InputSecureFile
Example:
$inputSecureFileUploaded = ['_' => 'inputSecureFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'file_hash' => 'bytes', 'secret' => 'bytes'];
PWRTelegram json-encoded version:
{"_": "inputSecureFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}
Or, if you're into Lua:
inputSecureFileUploaded={_='inputSecureFileUploaded', id=long, parts=int, md5_checksum='string', file_hash='bytes', secret='bytes'}