跳到主要内容

Interface: CustomMusicSegment

Defined in: packages/ov0/src/typing/segment.ts:215

音乐自定义分享消息段

Extends

Properties

data

data: object

Defined in: packages/ov0/src/typing/segment.ts:217

audio?

optional audio: string

type 为custom时有效 如http://baidu.com/1.mp3

content?

optional content: string

发送时可选,内容描述

id?

optional id: string

歌曲 ID

image?

optional image: string

发送时可选,图片 URL

title?

optional title: string

type 为custom时有效

type

type: string

分别表示使用 QQ 音乐、网易云音乐、虾米音乐等

url?

optional url: string

type 为custom时有效


type

type: "music_custom"

Defined in: packages/ov0/src/typing/segment.ts:216

Overrides

Segment.type