mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(api): distinguish a deleted reply target from no reply (#1884)
This commit is contained in:
1 parent
7b646f891e
commit
735ecc1cca
8 files changed
+250
-181
No files matched your search
@@ -169,7 +169,7 @@ export interface MessageResponse extends MessageBaseResponse {
|
||||
|
||||
export const MessageResponseSchema = MessageBaseResponseSchema.extend({
|
||||
referenced_message: MessageBaseResponseSchema.nullish().describe(
|
||||
'The message that this message is replying to or forwarding',
|
||||
'The reply target. Present and populated when the target resolved, present and null when the target is gone, absent when this message carries no default reference. Clients must tell null apart from absent by key presence.',
|
||||
),
|
||||
});
|
||||
const ChannelPinMessageResponse = MessageResponseSchema.omit({
|
||||
|
||||
Reference in new issue
Block a user