Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

转发消息:消息上下文相关功能补全 #434

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

SalimTerryLi
Copy link

@SalimTerryLi SalimTerryLi commented Sep 14, 2022

QQ的转发消息内支持引用回复的消息,此PR即为了引入该支持到OICQ中。

  • 通过getForwardMsg()解析的消息将可能会包含source?: Quotable字段,定义保持一致
  • 通过makeForwardMsg()生成的转发消息支持输入source: Quotable字段,最终在QQ客户端上显示为转发消息内的引用回复
  • 通过getForwardMsg()解析的消息能够获得消息的seqrand,从而支持转发消息内的id索引
  • [TODO] 通过makeForwardMsg()生成的转发消息支持输入seqrand

@SalimTerryLi SalimTerryLi force-pushed the pr-forwardedmsg_support_quote_reply_parse branch from f4cbac0 to 383abcc Compare September 17, 2022 13:24
@SalimTerryLi SalimTerryLi changed the title [draft] message/message.ts: 解析转发消息中的引用回复 转发消息:支持解析、生成消息内容的引用回复 Sep 17, 2022
@SalimTerryLi SalimTerryLi changed the title 转发消息:支持解析、生成消息内容的引用回复 转发消息:消息上下文相关功能补全 Oct 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant