Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InputMediaPhotoExternal

Hierarchy

  • VirtualClass<{ spoiler?: boolean; url: string; ttlSeconds?: int }>
    • InputMediaPhotoExternal

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { spoiler?: boolean; url: string; ttlSeconds?: number }

Type declaration

  • Optional spoiler?: boolean
  • url: string
  • Optional ttlSeconds?: number
CONSTRUCTOR_ID: 3854302746
SUBCLASS_OF_ID: 4210575092
classType: "constructor"
className: "InputMediaPhotoExternal"
spoiler?: boolean
url: string
ttlSeconds?: number

Methods

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

Constructors

  • new InputMediaPhotoExternal(args: { spoiler?: boolean; url: string; ttlSeconds?: number }): InputMediaPhotoExternal

Generated using TypeDoc