import { Observable } from 'rxjs/Observable' ; import { SDKFetch } from '../../SDKFetch' ; import { ActivitySchema } from '../../schemas' ; import { ActivityId } from 'teambition-types' ; export function recallChatMessageFetch ( this , activityId ) { return this . put < ActivitySchema > ( `activities/${ activityId }/recall` ) ; } SDKFetch . prototype . recallChatMessage = recallChatMessageFetch ; declare module '../../SDKFetch' { interface SDKFetch { recallChatMessage : typeof recallChatMessageFetch ; } }