mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 17:13:10 +00:00
remove unused
This commit is contained in:
16 files changed
+36
-102
No files matched your search
@@ -1369,7 +1369,7 @@ Determine SimpleX link type and if the bot is already connected via this link or
|
||||
|
||||
**Parameters**:
|
||||
- userId: int64
|
||||
- connectTarget: [AConnectTarget](./TYPES.md#aconnecttarget)?
|
||||
- connectTarget: string?
|
||||
- resolveKnown: bool
|
||||
- linkOwnerSig: [LinkOwnerSig](./TYPES.md#linkownersig)?
|
||||
|
||||
@@ -1384,7 +1384,7 @@ Determine SimpleX link type and if the bot is already connected via this link or
|
||||
```
|
||||
|
||||
```python
|
||||
'/_connect plan ' + str(userId) + ' ' + str(connectTarget) # Python
|
||||
'/_connect plan ' + str(userId) + ' ' + connectTarget # Python
|
||||
```
|
||||
|
||||
**Responses**:
|
||||
@@ -1461,7 +1461,7 @@ Connect via SimpleX link or name as string in the active user profile.
|
||||
|
||||
**Parameters**:
|
||||
- incognito: bool
|
||||
- connTarget_: [AConnectTarget](./TYPES.md#aconnecttarget)?
|
||||
- connTarget_: string?
|
||||
|
||||
**Syntax**:
|
||||
|
||||
@@ -1474,7 +1474,7 @@ Connect via SimpleX link or name as string in the active user profile.
|
||||
```
|
||||
|
||||
```python
|
||||
'/connect' + ((' ' + str(connTarget_)) if connTarget_ is not None else '') # Python
|
||||
'/connect' + ((' ' + connTarget_) if connTarget_ is not None else '') # Python
|
||||
```
|
||||
|
||||
**Responses**:
|
||||
|
||||
@@ -5,7 +5,6 @@ This file is generated automatically.
|
||||
- [ACIReaction](#acireaction)
|
||||
- [AChat](#achat)
|
||||
- [AChatItem](#achatitem)
|
||||
- [AConnectTarget](#aconnecttarget)
|
||||
- [AddRelayResult](#addrelayresult)
|
||||
- [AddressSettings](#addresssettings)
|
||||
- [AgentCryptoError](#agentcryptoerror)
|
||||
@@ -242,23 +241,6 @@ 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
|
||||
|
||||
Reference in new issue
Block a user