remove: caused_by 字段

This commit is contained in:
CrescentLeaf
2025-10-19 11:27:24 +08:00
parent ab1ef2c30b
commit 506790aefa
2 changed files with 0 additions and 8 deletions

View File

@@ -1,6 +1,3 @@
type ErrorCausedBy =
'NOT_IN_THIS_CHAT_MEMBER_LIST'
type ApiCallbackMessage = {
msg: string,
/**
@@ -14,6 +11,5 @@ type ApiCallbackMessage = {
*/
code: 200 | 400 | 401 | 403 | 404 | 500 | 501 | -1,
data?: { [key: string]: unknown },
caused_by?: ErrorCausedBy,
}
export default ApiCallbackMessage

View File

@@ -1,6 +1,3 @@
type ErrorCausedBy =
'NOT_IN_THIS_CHAT_MEMBER_LIST'
type ApiCallbackMessage = {
msg: string,
/**
@@ -14,6 +11,5 @@ type ApiCallbackMessage = {
*/
code: 200 | 400 | 401 | 403 | 404 | 500 | 501,
data?: { [key: string]: unknown },
caused_by?: ErrorCausedBy,
}
export default ApiCallbackMessage