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>EncryptedMessageService_

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

Encrypted service message

Constructors

new
EncryptedMessageService_(params: { random_id: bigint; chat_id: number; date: number; bytes: Uint8Array; })

Properties

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

TL-serialization of the DecryptedMessage type, encrypted with the key created at chat initialization

chat_id: number

ID of encrypted chat

date: number

Date of sending

random_id: bigint

Random message ID, assigned by the author of message

Static Properties

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