sendImageMessageRequest static method

Future<SendMessageResult> sendImageMessageRequest(
  1. String uid,
  2. String tid,
  3. String title,
  4. String body,
  5. String imagePath,
  6. bool isGroup,
)

构建图片请求

Implementation

static Future<SendMessageResult> sendImageMessageRequest(String uid, String tid, String title, String body, String imagePath, bool isGroup) async {
  Map map = await _channel.invokeMethod("sendImageMessageRequest",{
    "uid": uid,
    "tid": tid,
    "title": title,
    "body":  body,
    "imagePath": imagePath,
    "isGroup":  isGroup});
  return SendMessageResult.convertFromMap(map);
}