mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +08:00
feat: add event privacy endpoint
This commit is contained in:
Vendored
+14
@@ -626,6 +626,20 @@ export function event_del(
|
||||
params: { evId: string | number } & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export const enum EventPrivacy {
|
||||
everyone = 0,
|
||||
following = 1,
|
||||
onlyMe = 2,
|
||||
mutualFollowing = 6,
|
||||
}
|
||||
|
||||
export function event_privacy(
|
||||
params: {
|
||||
evId: string | number
|
||||
privacy: EventPrivacy
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function event_forward(
|
||||
params: {
|
||||
forwords: string
|
||||
|
||||
Reference in New Issue
Block a user