update api types

This commit is contained in:
Evgeny Poberezkin
2026-06-28 13:01:54 +01:00
parent 7671225946
commit 07e81d59da
6 changed files with 59 additions and 59 deletions
+2 -2
View File
@@ -1369,7 +1369,7 @@ Determine SimpleX link type and if the bot is already connected via this link or
**Parameters**:
- userId: int64
- connectTarget: [ConnectTarget](./TYPES.md#connecttarget)?
- connectTarget: [AConnectTarget](./TYPES.md#aconnecttarget)?
- resolveKnown: bool
- linkOwnerSig: [LinkOwnerSig](./TYPES.md#linkownersig)?
@@ -1461,7 +1461,7 @@ Connect via SimpleX link or name as string in the active user profile.
**Parameters**:
- incognito: bool
- connTarget_: [ConnectTarget](./TYPES.md#connecttarget)?
- connTarget_: [AConnectTarget](./TYPES.md#aconnecttarget)?
**Syntax**:
+18 -18
View File
@@ -5,6 +5,7 @@ This file is generated automatically.
- [ACIReaction](#acireaction)
- [AChat](#achat)
- [AChatItem](#achatitem)
- [AConnectTarget](#aconnecttarget)
- [AddRelayResult](#addrelayresult)
- [AddressSettings](#addresssettings)
- [AgentCryptoError](#agentcryptoerror)
@@ -61,7 +62,6 @@ This file is generated automatically.
- [ComposedMessage](#composedmessage)
- [ConnStatus](#connstatus)
- [ConnType](#conntype)
- [ConnectTarget](#connecttarget)
- [Connection](#connection)
- [ConnectionEntity](#connectionentity)
- [ConnectionErrorType](#connectionerrortype)
@@ -241,6 +241,23 @@ This file is generated automatically.
- chatItem: [ChatItem](#chatitem)
---
## AConnectTarget
Connect target: SimpleX link (`CTLink`) or SimpleX name (`CTName`). Wire form is the bare string returned by `strEncode``simplex:/...` for links, `#name.simplex` / `@name.simplex` for names.
**Discriminated union type**:
Name:
- type: "name"
- : [SimplexNameInfo](#simplexnameinfo)
Link:
- type: "link"
- : string
---
## AddRelayResult
@@ -1649,23 +1666,6 @@ Failed:
- "user_contact"
---
## ConnectTarget
Connect target: SimpleX link (`CTLink`) or SimpleX name (`CTName`). Wire form is the bare string returned by `strEncode``simplex:/...` for links, `#name.simplex` / `@name.simplex` for names.
**Discriminated union type**:
Link:
- type: "link"
- : string
Name:
- type: "name"
- : [SimplexNameInfo](#simplexnameinfo)
---
## Connection