Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateShortChatMessage

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; fromId: BigInteger; chatId: 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
  • fromId: BigInteger
  • chatId: 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: 1299050149
SUBCLASS_OF_ID: 2331323052
classType: "constructor"
className: "UpdateShortChatMessage"
out?: boolean
mentioned?: boolean
mediaUnread?: boolean
silent?: boolean
id: number
fromId: BigInteger
chatId: 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; fromId: BigInteger; chatId: BigInteger; message: string; pts: number; ptsCount: number; date: number; fwdFrom?: MessageFwdHeader; viaBotId?: BigInteger; replyTo?: TypeMessageReplyHeader; entities?: TypeMessageEntity[]; ttlPeriod?: number }
  • Returns { out?: boolean; mentioned?: boolean; mediaUnread?: boolean; silent?: boolean; id: number; fromId: BigInteger; chatId: BigInteger; message: string; pts: number; ptsCount: number; date: number; fwdFrom?: MessageFwdHeader; viaBotId?: BigInteger; replyTo?: TypeMessageReplyHeader; entities?: TypeMessageEntity[]; ttlPeriod?: number }

    • Optional out?: boolean
    • Optional mentioned?: boolean
    • Optional mediaUnread?: boolean
    • Optional silent?: boolean
    • id: number
    • fromId: BigInteger
    • chatId: BigInteger
    • message: string
    • pts: number
    • ptsCount: number
    • date: number
    • Optional fwdFrom?: MessageFwdHeader
    • Optional viaBotId?: BigInteger
    • Optional replyTo?: TypeMessageReplyHeader
    • Optional entities?: TypeMessageEntity[]
    • Optional ttlPeriod?: number

Constructors

  • new UpdateShortChatMessage(args: { out?: boolean; mentioned?: boolean; mediaUnread?: boolean; silent?: boolean; id: number; fromId: BigInteger; chatId: BigInteger; message: string; pts: number; ptsCount: number; date: number; fwdFrom?: MessageFwdHeader; viaBotId?: BigInteger; replyTo?: TypeMessageReplyHeader; entities?: TypeMessageEntity[]; ttlPeriod?: number }): UpdateShortChatMessage

Generated using TypeDoc