This commit is contained in:
Evgeny Poberezkin
2026-08-02 16:47:53 +01:00
parent f444a2890e
commit ec4d8ca176
4 changed files with 11 additions and 7 deletions
+2 -2
View File
@@ -2756,11 +2756,11 @@ Failed:
Error:
- type: "error"
- : string
- sendError: string
Attempts:
- type: "attempts"
- : int
- sendAttempts: int
---
@@ -3020,12 +3020,12 @@ export namespace KeySendStatus {
export interface Error extends Interface {
type: "error"
: string
sendError: string
}
export interface Attempts extends Interface {
type: "attempts"
: number // int
sendAttempts: number // int
}
}
@@ -2102,11 +2102,11 @@ class KeySendStatus_failed(TypedDict):
class KeySendStatus_error(TypedDict):
type: Literal["error"]
: str
sendError: str
class KeySendStatus_attempts(TypedDict):
type: Literal["attempts"]
: int # int
sendAttempts: int # int
KeySendStatus = (
KeySendStatus_sent
+5 -1
View File
@@ -1150,7 +1150,11 @@ data ReceivedGroupInvitation = ReceivedGroupInvitation
type GroupMemberId = Int64
data KeySendStatus = KSSent | KSFailed | KSError Text | KSAttempts Int
data KeySendStatus
= KSSent
| KSFailed
| KSError {sendError :: Text}
| KSAttempts {sendAttempts :: Int}
deriving (Eq, Show)
-- memberProfile's profileId is COALESCE(member_profile_id, contact_profile_id), member_profile_id is non null