跳到主要内容

CoAuthoringChatSendMessage

向协作聊天发送消息。

语法

expression.CoAuthoringChatSendMessage(sText);

expression - 表示 Api 类的变量。

参数

名称必需/可选数据类型默认值描述
sText必需string消息文本。

返回值

此方法不返回任何数据。

示例

window.Asc.plugin.executeMethod ("CoAuthoringChatSendMessage", [Asc.scope.meeting_info], function (isTrue) {
if (isTrue)
alert ("Meeting was created");
else
alert ("Meeting was create, please update SDK for checking info about created meeting in chat.");
});