core: include channel link and name when forwarding messages (#7409)

* core: include channel link and name when forwarding messages

* wip

* simplify

* add member ID

* refactor

* refactor

* refactor

* update api types

* store forward source group type

* rename

* api types

* simpler layout

* layout, translations

* refactor ios

* public

* simpler

* refactor kotlin

* padding

* padding

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
Evgeny
2026-08-24 21:36:57 +01:00
committed by GitHub
co-authored by Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
parent 1196d362ee
commit 17cdef1692
65 changed files with 806 additions and 162 deletions
@@ -572,10 +572,28 @@ class CIForwardedFrom_group(TypedDict):
msgDir: "MsgDirection"
groupId: NotRequired[int] # int64
chatItemId: NotRequired[int] # int64
memberId: NotRequired[str]
sharedMsgId_: NotRequired[str]
groupType: NotRequired["GroupType"]
CIForwardedFrom = CIForwardedFrom_unknown | CIForwardedFrom_contact | CIForwardedFrom_group
class CIForwardedFrom_groupLink(TypedDict):
type: Literal["groupLink"]
chatName: str
msgDir: "MsgDirection"
groupLink: str
publicGroupId: str
memberId: NotRequired[str]
sharedMsgId: str
groupType: NotRequired["GroupType"]
CIForwardedFrom_Tag = Literal["unknown", "contact", "group"]
CIForwardedFrom = (
CIForwardedFrom_unknown
| CIForwardedFrom_contact
| CIForwardedFrom_group
| CIForwardedFrom_groupLink
)
CIForwardedFrom_Tag = Literal["unknown", "contact", "group", "groupLink"]
class CIGroupInvitation(TypedDict):
groupId: int # int64