feat: add event privacy endpoint

This commit is contained in:
tanjuntao
2026-08-01 10:25:00 +08:00
parent 63d89aa906
commit eb1b5ba0ea
4 changed files with 94 additions and 0 deletions
+14
View File
@@ -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