Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StoryViews

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { hasViewers?: boolean; viewsCount: number; forwardsCount?: number; reactions?: ReactionCount[]; reactionsCount?: number; recentViewers?: BigInteger[] }

Type declaration

  • Optional hasViewers?: boolean
  • viewsCount: number
  • Optional forwardsCount?: number
  • Optional reactions?: ReactionCount[]
  • Optional reactionsCount?: number
  • Optional recentViewers?: BigInteger[]
CONSTRUCTOR_ID: 2371443926
SUBCLASS_OF_ID: 1424272486
classType: "constructor"
className: "StoryViews"
hasViewers?: boolean
viewsCount: number
forwardsCount?: number
reactions?: ReactionCount[]
reactionsCount?: number
recentViewers?: BigInteger[]

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { hasViewers?: boolean; viewsCount: number; forwardsCount?: number; reactions?: ReactionCount[]; reactionsCount?: number; recentViewers?: BigInteger[] }
  • Returns { hasViewers?: boolean; viewsCount: number; forwardsCount?: number; reactions?: ReactionCount[]; reactionsCount?: number; recentViewers?: BigInteger[] }

    • Optional hasViewers?: boolean
    • viewsCount: number
    • Optional forwardsCount?: number
    • Optional reactions?: ReactionCount[]
    • Optional reactionsCount?: number
    • Optional recentViewers?: BigInteger[]

Constructors

  • new StoryViews(args: { hasViewers?: boolean; viewsCount: number; forwardsCount?: number; reactions?: ReactionCount[]; reactionsCount?: number; recentViewers?: BigInteger[] }): Api.StoryViews
  • Parameters

    • args: { hasViewers?: boolean; viewsCount: number; forwardsCount?: number; reactions?: ReactionCount[]; reactionsCount?: number; recentViewers?: BigInteger[] }
      • Optional hasViewers?: boolean
      • viewsCount: number
      • Optional forwardsCount?: number
      • Optional reactions?: ReactionCount[]
      • Optional reactionsCount?: number
      • Optional recentViewers?: BigInteger[]

    Returns Api.StoryViews

Generated using TypeDoc