import { Service } from '../Core/index'; import { Message } from './MessagingTypes'; /** * Messaging service * * Messaging service * */ export declare class Messaging extends Service { /** * Get deployment type associated to Messaging service * @return {string} */ static readonly DEPLOYMENT_TYPE: string; /** * Get default deployment id associated to Messaging service * @return {string} */ static readonly DEFAULT_DEPLOYMENT_ID: string; /** * Messaging service * * Simple and flexible user-to-user or user-to-group messaging service. * @access public * */ /** * Sends a message to a target * * Sends the given message to the specified target on the given (optional) channel. * The administratively given default channel name is used when none is provided in the message itself. * @access public * */ send(body: Message): void; }