agora-react-native-rtm
Version:
React Native around the Agora RTM SDKs for Android and iOS agora
31 lines (30 loc) • 911 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.IRtmHistoryImpl = void 0;
var _IrisRtmEngine = require("../../internal/IrisRtmEngine");
// @ts-ignore
class IRtmHistoryImpl {
getMessages(channelName, channelType, options) {
const apiType = this.getApiTypeFromGetMessages(channelName, channelType, options);
const jsonParams = {
channelName: channelName,
channelType: channelType,
options: options,
toJSON: () => {
return {
channelName: channelName,
channelType: channelType,
options: options
};
}
};
return _IrisRtmEngine.callIrisApi.call(this, apiType, jsonParams);
}
getApiTypeFromGetMessages(channelName, channelType, options) {
return 'RtmHistory_getMessages_e5877fc';
}
}
exports.IRtmHistoryImpl = IRtmHistoryImpl;
//# sourceMappingURL=IAgoraRtmHistoryImpl.js.map
;