Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageMediaPhoto

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { spoiler?: boolean; photo?: Api.TypePhoto; ttlSeconds?: number }

Type declaration

  • Optional spoiler?: boolean
  • Optional photo?: Api.TypePhoto
  • Optional ttlSeconds?: number
CONSTRUCTOR_ID: 1766936791
SUBCLASS_OF_ID: 1198308914
classType: "constructor"
className: "MessageMediaPhoto"
spoiler?: boolean
photo?: Api.TypePhoto
ttlSeconds?: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { spoiler?: boolean; photo?: Api.TypePhoto; ttlSeconds?: number }

Constructors

Generated using TypeDoc