directory: support public channels and relay-based groups (#6840)

* directory: support public channels and relay-based groups (plan)

* types

* amend types

* directory types, resolve known link

* implementation, test fails

* fix test

* fix test

* more test

* minimal test

* more test

* debug test

* clean up

* remove debug logs

* refactor

* use group/channel terms correctly

* remove unsupported commands

* manage profile update

* owner left the channel

* more tests, correct response to sent link

* re-registration

* /help and /link commands

* correct listing for channels

* fix test

* fix bot api

* refactor

* do not include link data in GLPKnown

* refactor

* diff

* undo refactor

* simplify

* remove harness test

* remove flip

* add v6.5 app requirement for channels

* add website support

* update bot api types

* correct member count, fix test

* members -> subscribers

* add link to channel description

* fix css

* move version note

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
Evgeny
2026-04-23 13:30:26 +01:00
committed by GitHub
co-authored by Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
parent a3fde4daa1
commit f3547878cc
19 changed files with 999 additions and 198 deletions
+1
View File
@@ -1285,6 +1285,7 @@ Determine SimpleX link type and if the bot is already connected via this link.
**Parameters**:
- userId: int64
- connectionLink: string?
- resolveKnown: bool
- linkOwnerSig: [LinkOwnerSig](./TYPES.md#linkownersig)?
**Syntax**:
+3
View File
@@ -2290,6 +2290,8 @@ ConnectingProhibit:
Known:
- type: "known"
- groupInfo: [GroupInfo](#groupinfo)
- groupUpdated: bool
- ownerVerification: [OwnerVerification](#ownerverification)?
NoRelays:
- type: "noRelays"
@@ -2513,6 +2515,7 @@ Public:
**Enum type**:
- "channel"
- "group"
---