Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StoryItem

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { pinned?: boolean; public?: boolean; closeFriends?: boolean; min?: boolean; noforwards?: boolean; edited?: boolean; contacts?: boolean; selectedContacts?: boolean; out?: boolean; id: number; date: number; fromId?: TypePeer; fwdFrom?: StoryFwdHeader; expireDate: number; caption?: string; entities?: TypeMessageEntity[]; media: TypeMessageMedia; mediaAreas?: TypeMediaArea[]; privacy?: TypePrivacyRule[]; views?: Api.StoryViews; sentReaction?: TypeReaction }

Type declaration

  • Optional pinned?: boolean
  • Optional public?: boolean
  • Optional closeFriends?: boolean
  • Optional min?: boolean
  • Optional noforwards?: boolean
  • Optional edited?: boolean
  • Optional contacts?: boolean
  • Optional selectedContacts?: boolean
  • Optional out?: boolean
  • id: number
  • date: number
  • Optional fromId?: TypePeer
  • Optional fwdFrom?: StoryFwdHeader
  • expireDate: number
  • Optional caption?: string
  • Optional entities?: TypeMessageEntity[]
  • media: TypeMessageMedia
  • Optional mediaAreas?: TypeMediaArea[]
  • Optional privacy?: TypePrivacyRule[]
  • Optional views?: Api.StoryViews
  • Optional sentReaction?: TypeReaction
CONSTRUCTOR_ID: 2041735716
SUBCLASS_OF_ID: 3564613939
classType: "constructor"
className: "StoryItem"
pinned?: boolean
public?: boolean
closeFriends?: boolean
min?: boolean
noforwards?: boolean
edited?: boolean
contacts?: boolean
selectedContacts?: boolean
out?: boolean
id: number
date: number
fromId?: TypePeer
fwdFrom?: StoryFwdHeader
expireDate: number
caption?: string
entities?: TypeMessageEntity[]
mediaAreas?: TypeMediaArea[]
privacy?: TypePrivacyRule[]
views?: Api.StoryViews
sentReaction?: TypeReaction

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer

Constructors

Generated using TypeDoc