feat(chat): add promotional external entry flow
This commit is contained in:
@@ -17,6 +17,7 @@ import type {
|
||||
CacheRemoteChatMediaInput,
|
||||
ChatMediaLookupInput,
|
||||
IChatRepository,
|
||||
UnlockPrivateMessageInput,
|
||||
UnlockedPrivateMessageLocalPatch,
|
||||
} from "@/data/repositories/interfaces";
|
||||
import type { Result } from "@/utils";
|
||||
@@ -53,9 +54,9 @@ export class ChatRepository implements IChatRepository {
|
||||
|
||||
/** 解锁单条历史付费 / 私密消息。 */
|
||||
async unlockPrivateMessage(
|
||||
messageId: string,
|
||||
input: UnlockPrivateMessageInput,
|
||||
): Promise<Result<UnlockPrivateResponse>> {
|
||||
return this.remote.unlockPrivateMessage(messageId);
|
||||
return this.remote.unlockPrivateMessage(input);
|
||||
}
|
||||
|
||||
/** 一键解锁历史锁定消息。 */
|
||||
|
||||
Reference in New Issue
Block a user