sendMessage method

dynamic sendMessage(
  1. V2TimMessage message,
  2. String groupID, {
  3. ACTION_TYPE type = ACTION_TYPE.sendMessage,
})

send message.

Implementation

sendMessage(
  V2TimMessage message,
  String groupID, {
  ACTION_TYPE type = ACTION_TYPE.sendMessage,
}) {
  reciver = groupID;
  actionType = type;
  sendingMessage = message;
  notifyListeners();
}