ios: channels and chat relays ui (#6634)

This commit is contained in:
spaced4ndy
2026-03-05 09:13:24 +00:00
committed by GitHub
parent 567a89d49d
commit b97868d79f
80 changed files with 4170 additions and 971 deletions
+39
View File
@@ -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
View File
@@ -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