Skip to main content

Class: ChangeTextMessage

Defined in: messages/ChangeTextMessage.ts:3

Extends​

Constructors​

new ChangeTextMessage()​

new ChangeTextMessage(ref, text): ChangeTextMessage

Defined in: messages/ChangeTextMessage.ts:7

Parameters​

ref​

Ref

text​

string

Returns​

ChangeTextMessage

Overrides​

BaseMyopMessage.constructor

Properties​

cleanable​

cleanable: boolean = false

Defined in: messages/BaseMessage.ts:44

Inherited from​

BaseMyopMessage.cleanable


content?​

optional content: string

Defined in: messages/BaseMessage.ts:32

Inherited from​

BaseMyopMessage.content


destination?​

optional destination: string

Defined in: messages/BaseMessage.ts:36

Inherited from​

BaseMyopMessage.destination


direction?​

optional direction: MessageDirectionOption

Defined in: messages/BaseMessage.ts:42

Inherited from​

BaseMyopMessage.direction


id​

id: string

Defined in: messages/BaseMessage.ts:14

Inherited from​

BaseMyopMessage.id


messageType​

messageType: string = 'ChangeTextMessage'

Defined in: messages/ChangeTextMessage.ts:5

Overrides​

BaseMyopMessage.messageType


myop​

myop: boolean = true

Defined in: messages/BaseMessage.ts:28

Inherited from​

BaseMyopMessage.myop


ref​

ref: Ref

Defined in: messages/ChangeTextMessage.ts:7

Inherited from​

BaseMyopMessage.ref


route?​

optional route: string[]

Defined in: messages/BaseMessage.ts:38

Inherited from​

BaseMyopMessage.route


source?​

optional source: string

Defined in: messages/BaseMessage.ts:35

Inherited from​

BaseMyopMessage.source

Methods​

isTypeof()​

isTypeof(msg): boolean

Defined in: messages/BaseMessage.ts:46

Parameters​

msg​

BaseMyopMessage

Returns​

boolean

Inherited from​

BaseMyopMessage.isTypeof


create()​

static create<T, U>(this, ...args): InstanceType<U>

Defined in: messages/BaseMessage.ts:16

Type Parameters​

• T

• U extends (...args) => T = U

Parameters​

this​

U

args​

...ConstructorParameters<U>

Returns​

InstanceType<U>

Inherited from​

BaseMyopMessage.create