Class SpectrumTextMessage
Constructors
constructor
Parameters
Parameters
plainText: string
Optional lobby_id: any
Properties
Protected _reactionListener
_reactionListener: any
Static Protected _emojis
_emojis: string = ""
Methods
onReaction
onReaction( callback: any ) : void
Static fetchEmbedMediaId
fetchEmbedMediaId( url: string ) : Promise < string >
Parameters
Returns Promise < string >
Static findMentionsInText
findMentionsInText( text: any , curEntity: any ) : curEntities
Static generateContentStateFromText
generateContentStateFromText( textObj: object , delimiter?: string , disableEmojis?: boolean , disableMentions?: boolean ) : object
Parameters
textObj: object
Optional delimiter: string
Default value disableEmojis: boolean = false
Default value disableMentions: boolean = false
Returns object
blocks: any []
entityMap: any
Static Private reorganizeEntities
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
instance of RSI Spectrum ws