RongIMLib View Markdown
    Preparing search index...

    Interface IVoiceMessageContent

    语音消息 content 数据

    interface IVoiceMessageContent {
        user?: IUserExtraValueInMessage;
        extra?: string;
        mentionedInfo?: MentionedInfo;
        audit?: IAuditInfoValueInMessage;
        content: string;
        duration: number;
        sttInfo?: ISpeechToTextInfo;
    }

    Hierarchy

    Index

    用户附加信息

    extra?: string

    消息中的附加信息

    mentionedInfo?: MentionedInfo

    群组消息中的 @ 信息,仅在单群聊、超级群中有效

    消息审核配置

    content: string

    语音消息内容,为 amr 音频数据 Base64 字符串

    duration: number

    语音消息时长

    语音转文字信息,仅 Electron 平台支持,数据为本地数据库存储

    5.22.0