mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-25 09:54:22 +00:00
ios: channels and chat relays ui (#6634)
This commit is contained in:
@@ -31,6 +31,7 @@ This file is generated automatically.
|
||||
- [APIListMembers](#apilistmembers)
|
||||
- [APINewGroup](#apinewgroup)
|
||||
- [APINewPublicGroup](#apinewpublicgroup)
|
||||
- [APIGetGroupRelays](#apigetgrouprelays)
|
||||
- [APIUpdateGroupProfile](#apiupdategroupprofile)
|
||||
|
||||
[Group link commands](#group-link-commands)
|
||||
@@ -983,6 +984,44 @@ ChatCmdError: Command error (only used in WebSockets API).
|
||||
---
|
||||
|
||||
|
||||
### APIGetGroupRelays
|
||||
|
||||
Get group relays.
|
||||
|
||||
*Network usage*: no.
|
||||
|
||||
**Parameters**:
|
||||
- groupId: int64
|
||||
|
||||
**Syntax**:
|
||||
|
||||
```
|
||||
/_get relays #<groupId>
|
||||
```
|
||||
|
||||
```javascript
|
||||
'/_get relays #' + groupId // JavaScript
|
||||
```
|
||||
|
||||
```python
|
||||
'/_get relays #' + str(groupId) # Python
|
||||
```
|
||||
|
||||
**Responses**:
|
||||
|
||||
GroupRelays: Group relays.
|
||||
- type: "groupRelays"
|
||||
- user: [User](./TYPES.md#user)
|
||||
- groupInfo: [GroupInfo](./TYPES.md#groupinfo)
|
||||
- groupRelays: [[GroupRelay](./TYPES.md#grouprelay)]
|
||||
|
||||
ChatCmdError: Command error (only used in WebSockets API).
|
||||
- type: "chatCmdError"
|
||||
- chatError: [ChatError](./TYPES.md#chaterror)
|
||||
|
||||
---
|
||||
|
||||
|
||||
### APIUpdateGroupProfile
|
||||
|
||||
Update group profile.
|
||||
|
||||
+18
-1
@@ -169,6 +169,7 @@ This file is generated automatically.
|
||||
- [UIThemeEntityOverrides](#uithemeentityoverrides)
|
||||
- [UpdatedMessage](#updatedmessage)
|
||||
- [User](#user)
|
||||
- [UserChatRelay](#userchatrelay)
|
||||
- [UserContact](#usercontact)
|
||||
- [UserContactLink](#usercontactlink)
|
||||
- [UserContactRequest](#usercontactrequest)
|
||||
@@ -2243,6 +2244,7 @@ Known:
|
||||
- updatedAt: UTCTime
|
||||
- supportChat: [GroupSupportChat](#groupsupportchat)?
|
||||
- memberPubKey: string?
|
||||
- relayLink: string?
|
||||
|
||||
|
||||
---
|
||||
@@ -2366,7 +2368,7 @@ Known:
|
||||
**Record type**:
|
||||
- groupRelayId: int64
|
||||
- groupMemberId: int64
|
||||
- userChatRelayId: int64
|
||||
- userChatRelay: [UserChatRelay](#userchatrelay)
|
||||
- relayStatus: [RelayStatus](#relaystatus)
|
||||
- relayLink: string?
|
||||
|
||||
@@ -3843,6 +3845,21 @@ Handshake:
|
||||
- userChatRelay: bool
|
||||
|
||||
|
||||
---
|
||||
|
||||
## UserChatRelay
|
||||
|
||||
**Record type**:
|
||||
- chatRelayId: int64
|
||||
- address: string
|
||||
- name: string
|
||||
- domains: [string]
|
||||
- preset: bool
|
||||
- tested: bool?
|
||||
- enabled: bool
|
||||
- deleted: bool
|
||||
|
||||
|
||||
---
|
||||
|
||||
## UserContact
|
||||
|
||||
Reference in New Issue
Block a user