PushDeviceMessageQuery method
裝置端查詢訊息列表
Implementation
Future<messageQueryResp> PushDeviceMessageQuery({int counts = 200, String category = "", int ?start_point, String ?position}) {
Map<String,dynamic> postdata = {
"domain_key": Globals.domain_key,
"counts": counts,
"category": category,
"start_point": start_point,
"position": position
};
return GWSend("PushDeviceMessageQuery", postdata: postdata).then((response) {
return messageQueryResp.fromJson(jsonDecode(response.body.toString()));
});
}