输入状态
发送输入状态消息
- 用户正在输入的时候,向对方发送正在输入的状态。
- 只支持单聊会话类型。
方法
TypeScript
sendTypingStatus(
type: RCIMIWConversationType,
targetId: string,
channelId: string,
currentType: string
): Promise<number>;
参数说明
参数名 | 参数类型 | 描述 |
---|---|---|
type | RCIMIWConversationType | 会话类型 |
targetId | string | 会话 ID |
channelId | string | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可。 |
currentType | string | 当前的状态 |