mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-01 22:18:43 +00:00
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:
co-authored by
Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
parent
1196d362ee
commit
17cdef1692
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user