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

x/mtkruto/tl/3_functions.ts>messages_getDocumentByHash_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_getDocumentByHash_
extends Function_<enums.Document>
import { messages_getDocumentByHash_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Get a document by its SHA256 hash, mainly used for gifs

Constructors

new
messages_getDocumentByHash_(params: { sha256: Uint8Array; size: bigint; mime_type: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
mime_type: string

Mime type

sha256: Uint8Array

SHA256 of file

size: bigint

Size of the file in bytes

Static Properties

__F: (params: { sha256: Uint8Array; size: bigint; mime_type: string; }) => enums.Document
readonly
[name]: string
readonly
[paramDesc]: ParamDesc