Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DocumentAttributeVideo

Hierarchy

  • VirtualClass<{ roundMessage?: boolean; supportsStreaming?: boolean; nosound?: boolean; duration: double; w: int; h: int; preloadPrefixSize?: int }>
    • DocumentAttributeVideo

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { roundMessage?: boolean; supportsStreaming?: boolean; nosound?: boolean; duration: number; w: number; h: number; preloadPrefixSize?: number }

Type declaration

  • Optional roundMessage?: boolean
  • Optional supportsStreaming?: boolean
  • Optional nosound?: boolean
  • duration: number
  • w: number
  • h: number
  • Optional preloadPrefixSize?: number
CONSTRUCTOR_ID: 3549426114
SUBCLASS_OF_ID: 4146719643
classType: "constructor"
className: "DocumentAttributeVideo"
roundMessage?: boolean
supportsStreaming?: boolean
nosound?: boolean
duration: number
w: number
h: number
preloadPrefixSize?: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { roundMessage?: boolean; supportsStreaming?: boolean; nosound?: boolean; duration: number; w: number; h: number; preloadPrefixSize?: number }
  • Returns { roundMessage?: boolean; supportsStreaming?: boolean; nosound?: boolean; duration: number; w: number; h: number; preloadPrefixSize?: number }

    • Optional roundMessage?: boolean
    • Optional supportsStreaming?: boolean
    • Optional nosound?: boolean
    • duration: number
    • w: number
    • h: number
    • Optional preloadPrefixSize?: number

Constructors

  • new DocumentAttributeVideo(args: { roundMessage?: boolean; supportsStreaming?: boolean; nosound?: boolean; duration: number; w: number; h: number; preloadPrefixSize?: number }): DocumentAttributeVideo
  • Parameters

    • args: { roundMessage?: boolean; supportsStreaming?: boolean; nosound?: boolean; duration: number; w: number; h: number; preloadPrefixSize?: number }
      • Optional roundMessage?: boolean
      • Optional supportsStreaming?: boolean
      • Optional nosound?: boolean
      • duration: number
      • w: number
      • h: number
      • Optional preloadPrefixSize?: number

    Returns DocumentAttributeVideo

Generated using TypeDoc