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_acceptEncryption_

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

Confirms creation of a secret chat

Constructors

new
messages_acceptEncryption_(params: { peer: enums.InputEncryptedChat; g_b: Uint8Array; key_fingerprint: bigint; })

Properties

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

B = g ^ b mod p, see Wikipedia

key_fingerprint: bigint

64-bit fingerprint of the received key

peer: enums.InputEncryptedChat

Secret chat ID

Static Properties

__F: (params: { peer: enums.InputEncryptedChat; g_b: Uint8Array; key_fingerprint: bigint; }) => enums.EncryptedChat
readonly
[name]: string
readonly
[paramDesc]: ParamDesc