pockybot
Version:
Spark bot that handles team recognition
12 lines (11 loc) • 551 B
TypeScript
/// <reference types="webex" />
import { MessageObject } from 'webex/env';
declare const _default: (message: MessageObject, room: string) => Promise<MessageObject>;
/**
* Returns a response Object that allows to create a message.
* @param {string} message - message from room or user.
* @param {string} room - the id of the room in which the message was received.
* @return {SparkMessage} sparkMessage - use in conjunction with messages.create
* contains text or markdown field.
*/
export default _default;