addMessageAction method
This method adds a message action to a parent message.
type
and value
cannot be empty.
Parent message is a normal message identified by a combination of subscription key, channel name and timetoken
.
Important!
Server does not validate if the parent message exists at the time of adding the message action.
It does, however, check if you have not already added this particular action to the parent message.
In other words, for a given parent message, there can be only one message action with type
and value
.
Implementation
Future<AddMessageActionResult> addMessageAction(
{required String type,
required String value,
required Timetoken timetoken}) =>
_core.addMessageAction(
type: type,
value: value,
channel: name,
timetoken: timetoken,
keyset: _keyset);