Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>FileHash_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class FileHash_
extends _FileHash_
import { FileHash_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

SHA256 Hash of an uploaded file, to be checked for validity after download

Constructors

new
FileHash_(params: { offset: bigint; limit: number; hash: Uint8Array; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
hash: Uint8Array

SHA-256 Hash of file chunk, to be checked for validity after download

limit: number

Length

offset: bigint

Offset from where to start computing SHA-256 hash

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc