Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateShortMessage

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { out?: boolean; mentioned?: boolean; mediaUnread?: boolean; silent?: boolean; id: number; userId: BigInteger; message: string; pts: number; ptsCount: number; date: number; fwdFrom?: MessageFwdHeader; viaBotId?: BigInteger; replyTo?: TypeMessageReplyHeader; entities?: TypeMessageEntity[]; ttlPeriod?: number }

Type declaration

  • Optional out?: boolean
  • Optional mentioned?: boolean
  • Optional mediaUnread?: boolean
  • Optional silent?: boolean
  • id: number
  • userId: BigInteger
  • message: string
  • pts: number
  • ptsCount: number
  • date: number
  • Optional fwdFrom?: MessageFwdHeader
  • Optional viaBotId?: BigInteger
  • Optional replyTo?: TypeMessageReplyHeader
  • Optional entities?: TypeMessageEntity[]
  • Optional ttlPeriod?: number
CONSTRUCTOR_ID: 826001400
SUBCLASS_OF_ID: 2331323052
classType: "constructor"
className: "UpdateShortMessage"
out?: boolean
mentioned?: boolean
mediaUnread?: boolean
silent?: boolean
id: number
userId: BigInteger
message: string
pts: number
ptsCount: number
date: number
viaBotId?: BigInteger
entities?: TypeMessageEntity[]
ttlPeriod?: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { out?: boolean; mentioned?: boolean; mediaUnread?: boolean; silent?: boolean; id: number; userId: BigInteger; message: string; pts: number; ptsCount: number; date: number; fwdFrom?: MessageFwdHeader; viaBotId?: BigInteger; replyTo?: TypeMessageReplyHeader; entities?: TypeMessageEntity[]; ttlPeriod?: number }

Constructors

Generated using TypeDoc