Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EncryptedMessageService

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { randomId?: BigInteger; chatId: number; date: number; bytes: Buffer }

Type declaration

  • Optional randomId?: BigInteger
  • chatId: number
  • date: number
  • bytes: Buffer
CONSTRUCTOR_ID: 594758406
SUBCLASS_OF_ID: 597634641
classType: "constructor"
className: "EncryptedMessageService"
randomId?: BigInteger
chatId: number
date: number
bytes: Buffer

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { randomId?: BigInteger; chatId: number; date: number; bytes: Buffer }
  • Returns { randomId?: BigInteger; chatId: number; date: number; bytes: Buffer }

    • Optional randomId?: BigInteger
    • chatId: number
    • date: number
    • bytes: Buffer

Constructors

  • new EncryptedMessageService(args: { randomId?: BigInteger; chatId: number; date: number; bytes: Buffer }): EncryptedMessageService

Generated using TypeDoc