Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhoneCall

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { p2pAllowed?: boolean; video?: boolean; id: BigInteger; accessHash: BigInteger; date: number; adminId: BigInteger; participantId: BigInteger; gAOrB: Buffer; keyFingerprint: BigInteger; protocol: PhoneCallProtocol; connections: TypePhoneConnection[]; startDate: number }

Type declaration

  • Optional p2pAllowed?: boolean
  • Optional video?: boolean
  • id: BigInteger
  • accessHash: BigInteger
  • date: number
  • adminId: BigInteger
  • participantId: BigInteger
  • gAOrB: Buffer
  • keyFingerprint: BigInteger
  • protocol: PhoneCallProtocol
  • connections: TypePhoneConnection[]
  • startDate: number
CONSTRUCTOR_ID: 2524937319
SUBCLASS_OF_ID: 3296664529
classType: "constructor"
className: "PhoneCall"
p2pAllowed?: boolean
video?: boolean
id: BigInteger
accessHash: BigInteger
date: number
adminId: BigInteger
participantId: BigInteger
gAOrB: Buffer
keyFingerprint: BigInteger
connections: TypePhoneConnection[]
startDate: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { p2pAllowed?: boolean; video?: boolean; id: BigInteger; accessHash: BigInteger; date: number; adminId: BigInteger; participantId: BigInteger; gAOrB: Buffer; keyFingerprint: BigInteger; protocol: PhoneCallProtocol; connections: TypePhoneConnection[]; startDate: number }
  • Returns { p2pAllowed?: boolean; video?: boolean; id: BigInteger; accessHash: BigInteger; date: number; adminId: BigInteger; participantId: BigInteger; gAOrB: Buffer; keyFingerprint: BigInteger; protocol: PhoneCallProtocol; connections: TypePhoneConnection[]; startDate: number }

    • Optional p2pAllowed?: boolean
    • Optional video?: boolean
    • id: BigInteger
    • accessHash: BigInteger
    • date: number
    • adminId: BigInteger
    • participantId: BigInteger
    • gAOrB: Buffer
    • keyFingerprint: BigInteger
    • protocol: PhoneCallProtocol
    • connections: TypePhoneConnection[]
    • startDate: number

Constructors

  • new PhoneCall(args: { p2pAllowed?: boolean; video?: boolean; id: BigInteger; accessHash: BigInteger; date: number; adminId: BigInteger; participantId: BigInteger; gAOrB: Buffer; keyFingerprint: BigInteger; protocol: PhoneCallProtocol; connections: TypePhoneConnection[]; startDate: number }): Api.PhoneCall
  • Parameters

    • args: { p2pAllowed?: boolean; video?: boolean; id: BigInteger; accessHash: BigInteger; date: number; adminId: BigInteger; participantId: BigInteger; gAOrB: Buffer; keyFingerprint: BigInteger; protocol: PhoneCallProtocol; connections: TypePhoneConnection[]; startDate: number }
      • Optional p2pAllowed?: boolean
      • Optional video?: boolean
      • id: BigInteger
      • accessHash: BigInteger
      • date: number
      • adminId: BigInteger
      • participantId: BigInteger
      • gAOrB: Buffer
      • keyFingerprint: BigInteger
      • protocol: PhoneCallProtocol
      • connections: TypePhoneConnection[]
      • startDate: number

    Returns Api.PhoneCall

Generated using TypeDoc