Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageFwdHeader

Hierarchy

  • VirtualClass<{ imported?: boolean; savedOut?: boolean; fromId?: TypePeer; fromName?: string; date: int; channelPost?: int; postAuthor?: string; savedFromPeer?: TypePeer; savedFromMsgId?: int; savedFromId?: TypePeer; savedFromName?: string; savedDate?: int; psaType?: string }>
    • MessageFwdHeader

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { imported?: boolean; savedOut?: boolean; fromId?: TypePeer; fromName?: string; date: number; channelPost?: number; postAuthor?: string; savedFromPeer?: TypePeer; savedFromMsgId?: number; savedFromId?: TypePeer; savedFromName?: string; savedDate?: number; psaType?: string }

Type declaration

  • Optional imported?: boolean
  • Optional savedOut?: boolean
  • Optional fromId?: TypePeer
  • Optional fromName?: string
  • date: number
  • Optional channelPost?: number
  • Optional postAuthor?: string
  • Optional savedFromPeer?: TypePeer
  • Optional savedFromMsgId?: number
  • Optional savedFromId?: TypePeer
  • Optional savedFromName?: string
  • Optional savedDate?: number
  • Optional psaType?: string
CONSTRUCTOR_ID: 1313731771
SUBCLASS_OF_ID: 2049468420
classType: "constructor"
className: "MessageFwdHeader"
imported?: boolean
savedOut?: boolean
fromId?: TypePeer
fromName?: string
date: number
channelPost?: number
postAuthor?: string
savedFromPeer?: TypePeer
savedFromMsgId?: number
savedFromId?: TypePeer
savedFromName?: string
savedDate?: number
psaType?: string

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { imported?: boolean; savedOut?: boolean; fromId?: TypePeer; fromName?: string; date: number; channelPost?: number; postAuthor?: string; savedFromPeer?: TypePeer; savedFromMsgId?: number; savedFromId?: TypePeer; savedFromName?: string; savedDate?: number; psaType?: string }
  • Returns { imported?: boolean; savedOut?: boolean; fromId?: TypePeer; fromName?: string; date: number; channelPost?: number; postAuthor?: string; savedFromPeer?: TypePeer; savedFromMsgId?: number; savedFromId?: TypePeer; savedFromName?: string; savedDate?: number; psaType?: string }

    • Optional imported?: boolean
    • Optional savedOut?: boolean
    • Optional fromId?: TypePeer
    • Optional fromName?: string
    • date: number
    • Optional channelPost?: number
    • Optional postAuthor?: string
    • Optional savedFromPeer?: TypePeer
    • Optional savedFromMsgId?: number
    • Optional savedFromId?: TypePeer
    • Optional savedFromName?: string
    • Optional savedDate?: number
    • Optional psaType?: string

Constructors

  • new MessageFwdHeader(args: { imported?: boolean; savedOut?: boolean; fromId?: TypePeer; fromName?: string; date: number; channelPost?: number; postAuthor?: string; savedFromPeer?: TypePeer; savedFromMsgId?: number; savedFromId?: TypePeer; savedFromName?: string; savedDate?: number; psaType?: string }): MessageFwdHeader
  • Parameters

    • args: { imported?: boolean; savedOut?: boolean; fromId?: TypePeer; fromName?: string; date: number; channelPost?: number; postAuthor?: string; savedFromPeer?: TypePeer; savedFromMsgId?: number; savedFromId?: TypePeer; savedFromName?: string; savedDate?: number; psaType?: string }
      • Optional imported?: boolean
      • Optional savedOut?: boolean
      • Optional fromId?: TypePeer
      • Optional fromName?: string
      • date: number
      • Optional channelPost?: number
      • Optional postAuthor?: string
      • Optional savedFromPeer?: TypePeer
      • Optional savedFromMsgId?: number
      • Optional savedFromId?: TypePeer
      • Optional savedFromName?: string
      • Optional savedDate?: number
      • Optional psaType?: string

    Returns MessageFwdHeader

Generated using TypeDoc