Extends
Methods
-
del()
-
Delete the textEvent
- Overrides:
- NXMEvent#del
- Source:
Returns:
- Type
- Promise
Example
textEvent.del().then(() => { console.log("text event deleted"); }).catch((error)=>{ console.log("error deleting text event ", error); });
-
delivered()
-
Set the textEvent status to 'delivered'.
handled by the SDK- Overrides:
- NXMEvent#delivered
- Source:
Returns:
- Type
- Promise
Example
textEvent.delivered().then(() => { console.log("text event status set to delivered"); }).catch((error)=>{ console.log("error setting text event status to delivered ", error); });
-
seen()
-
Set the textEvent status to 'seen'
- Overrides:
- NXMEvent#seen
- Source:
Returns:
- Type
- Promise
Example
textEvent.seen().then(() => { console.log("text event status set to seen"); }).catch((error)=>{ console.log("error setting text event status to seen ", error); });