fcs
2025-04-10 0163870d662dc5b7d69ceff977490ede594f7d82
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
'use strict';
 
const { RPCClient } = require('@alicloud/pop-core');
 
function hasOwnProperty(obj, key) {
  return Object.prototype.hasOwnProperty.call(obj, key);
}
 
class Client extends RPCClient {
  constructor(config) {
    config.apiVersion = '2017-05-25';
    super(config);
  }
 
  queryTokenForMnsQueue(params = {}, options) {
    if (!hasOwnProperty(params, 'MessageType')) {
      throw new TypeError('parameter "MessageType" is required');
    }
 
    return this.request('QueryTokenForMnsQueue', params, options);
  }
 
}
 
module.exports = Client;