UNPKG

agora-react-native-rtm

Version:

React Native around the Agora RTM SDKs for Android and iOS agora

24 lines 744 B
import { callIrisApi } from '../../internal/IrisRtmEngine'; // @ts-ignore export 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 callIrisApi.call(this, apiType, jsonParams); } getApiTypeFromGetMessages(channelName, channelType, options) { return 'RtmHistory_getMessages_e5877fc'; } } //# sourceMappingURL=IAgoraRtmHistoryImpl.js.map