Classes
Methods
# static createFor(roomId, event, withText, withHtml) → {any}
Generates the event content required to reply to the provided event with the
provided text.
Parameters:
Name | Type | Description |
---|---|---|
roomId |
string
|
the room ID the event being replied to resides in |
event |
any
|
the event to reply to |
withText |
string
|
the plain text to reply with |
withHtml |
string
|
the HTML to reply with |
the content of the event representing the reply
any