Skip to main content

Interface: IMessage

protocol.protocol.IMessage

Properties of a Message.

Implemented by

Properties

chat

Optional chat: IChatMessage

Message chat


chunks

Optional chunks: IChunk[]

Message chunks


entities

Optional entities: IEntity[]

Message entities


events

Optional events: IEvent[]

Message events


json

Optional json: string

Message json


method

Optional method: IMethod

Message method


peers

Optional peers: IPeer[]

Message peers


text

Optional text: string

Message text


type

Optional type: Type

Message type


updates

Optional updates: IUpdate[]

Message updates