SendMessageEvent class

@public The event triggered when listening for the sendMessage event on the {@link Inbox}, {@link Chatbox} and {@link Popup}. This event is triggered before the message is sent to TalkJS, allowing you to modify the contents of the message or its metadata by using override().

Annotations
  • @JS()
  • @anonymous

Constructors

SendMessageEvent()
factory

Properties

conversation ConversationData
The current conversation object
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
me UserData
The current TalkJS user
getter/setter pair
message SentMessage
The message that was sent
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
override(dynamic dynamic) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited