sendChannelMessage method

void sendChannelMessage(
  1. String message,
  2. String channelId
)

Implementation

void sendChannelMessage(String message, String channelId) {
  postMessage(
      "sendChannelMessage", {"channelId": channelId, "message": message});
}