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

解析ForwardMessage, FileMessage, Quote和Audio #90

Closed
5 tasks done
Nambers opened this issue Oct 12, 2021 · 3 comments
Closed
5 tasks done

解析ForwardMessage, FileMessage, Quote和Audio #90

Nambers opened this issue Oct 12, 2021 · 3 comments
Labels
f: API 关于:公开API p: high 优先级:高 t: enhancement 类型:改进或新特性

Comments

@Nambers
Copy link
Owner

Nambers commented Oct 12, 2021

目前只有发送支持, 需要进一步支持解析对面发来的

forward message优先考虑自己在kt端建一个自定义json结构在cpp解析而不是用MiraiCode解析, 应该支持解析不少于3层嵌套转发

Quote需要改kt端传下来的内容
MessageSource解析

  • ForwardMessage
  • FileMessage
  • Quote
  • Audio

MiraiCode解析

  • FileMessage
    ForwardMessage
    Quote
    Audio
@Nambers Nambers added t: enhancement 类型:改进或新特性 f: API 关于:公开API p: high 优先级:高 labels Oct 12, 2021
@Nambers Nambers changed the title 解析ForwardMessage和FileMessage 解析ForwardMessage, FileMessage和Quote Oct 13, 2021
@Nambers Nambers changed the title 解析ForwardMessage, FileMessage和Quote 解析ForwardMessage, FileMessage, Quote和Audio Oct 13, 2021
Nambers added a commit that referenced this issue Oct 16, 2021
@Nambers
Copy link
Owner Author

Nambers commented Oct 23, 2021

forward message可能要等mirai发2.8.0-RC, 因为解析我是倾向于用MessageSource里的originalMessage(而不是自定义,因为更通用), 然后因为 mamoe/mirai#1532 , 序列化含有forward message的MessageSource序列化报错(mirai在2.8.0-RC也就是下一个版本加入解决方案)

Nambers added a commit that referenced this issue Oct 23, 2021
Nambers added a commit that referenced this issue Oct 24, 2021
Nambers added a commit that referenced this issue Oct 24, 2021
@Nambers Nambers added this to the 需等待mirai支持 milestone Oct 24, 2021
Nambers added a commit that referenced this issue Oct 25, 2021
…eSource` and analysis `Quote`

#94 and #90


Former-commit-id: a4a1fd8
Nambers added a commit that referenced this issue Oct 25, 2021
Nambers added a commit that referenced this issue Oct 25, 2021
Nambers added a commit that referenced this issue Oct 25, 2021
Nambers added a commit that referenced this issue Oct 25, 2021
…eSource` and analysis `Quote`

#94 and #90


Former-commit-id: d856f20d37210e662b72dd38cc00c8af613e8c2e
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: a9bb97613ed5be686f04c3dc543c345d57b7a493
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: df683dd3517b680d0674572bf414acdab6326411
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: cbd6e7fb6c54ebeb16f46134a3d08e3f933ff528
Nambers added a commit that referenced this issue Oct 25, 2021
…eSource` and analysis `Quote`

#94 and #90


Former-commit-id: 5b08bca2d1a927c9c5c24675b254469ebaa8f673 [formerly d856f20d37210e662b72dd38cc00c8af613e8c2e]
Former-commit-id: e96ddb6
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: 657a53f14ca10169ec24bb0d87edf8bca9a36c6a [formerly a9bb97613ed5be686f04c3dc543c345d57b7a493]
Former-commit-id: 751b74d
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: e852010e34a6fe6ee413935a552cd19e3c2152d1 [formerly df683dd3517b680d0674572bf414acdab6326411]
Former-commit-id: 87a17e6
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: 421e04d3447042cd063d14fe6ac8a97293048347 [formerly cbd6e7fb6c54ebeb16f46134a3d08e3f933ff528]
Former-commit-id: 4b12f22
Nambers added a commit that referenced this issue Oct 25, 2021
…eSource` and analysis `Quote`

#94 and #90


Former-commit-id: 4667ba05b8e3846bf36c424e434526eaad428709 [formerly e9a954e85bf03908b754800458a79a7d34ac3a2b]
Former-commit-id: 34b36362b4ce04766d867eb3d6e67fcbcd0cb85b
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: 782250bf944f67fa8d7274262ec4aceea49247be [formerly 2b5cb94a9e5b142c15b8adafba6511c3ac66bc15]
Former-commit-id: 1427354364e998e513993a888b555652f7a3da61
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: 21b2c3825d9f91483b5167306adfff9218d9ece4 [formerly 5381fdfe7bba44ce18eebf94d547f8c563459cf1]
Former-commit-id: 1302455f9c1cc7bc3f7c14529cdf16e07e3b0e29
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: bbbe0ccee60faf747ec4771ae0e296eedd9dfd2a [formerly d4ca6c9cf645d9ef85a138972fccbaf8faf47594]
Former-commit-id: 44518b02267fda67deb20a54b2913afa5f6d96ad
Nambers added a commit that referenced this issue Oct 25, 2021
…eSource` and analysis `Quote`

#94 and #90


Former-commit-id: 681881cdfb02451e34208b36bfe986b608273b98 [formerly e88fd02cf05a5a38f26dbef37441d4e118b542a2]
Former-commit-id: f4e9ee5600a8cf32dc8fff96e52240bb37127e41
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: 4944f31c7a97fd28f42e900f727f43367474bc52 [formerly e0bc32375e4f93bc8360117f07d7371f789a67a7]
Former-commit-id: c87a2342018f2f6999f124e400d1bab741e40a62
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: 338c5de4e166c1057e05d2be0e3388b3ec8a63a6 [formerly fbfce49e5c13ff930730c3cb19619bbb50c57df5]
Former-commit-id: 26d6f866a2c8a224dc9cc77b4d5528e6fa70c573
Nambers added a commit that referenced this issue Oct 25, 2021
#90


Former-commit-id: 9fbc5d358566f33ebf3cfada3a616b29919db152 [formerly 09272f68350e288ee996f1dcc78033356acb94f9]
Former-commit-id: 9c1df79f83438400967aad87ba03233a76ec600e
Nambers added a commit that referenced this issue Oct 26, 2021
…eSource` and analysis `Quote`

#94 and #90


Former-commit-id: 681881cdfb02451e34208b36bfe986b608273b98 [formerly e88fd02cf05a5a38f26dbef37441d4e118b542a2]
Former-commit-id: f4e9ee5600a8cf32dc8fff96e52240bb37127e41
Nambers added a commit that referenced this issue Oct 26, 2021
#90


Former-commit-id: 4944f31c7a97fd28f42e900f727f43367474bc52 [formerly e0bc32375e4f93bc8360117f07d7371f789a67a7]
Former-commit-id: c87a2342018f2f6999f124e400d1bab741e40a62
Nambers added a commit that referenced this issue Oct 26, 2021
#90


Former-commit-id: 338c5de4e166c1057e05d2be0e3388b3ec8a63a6 [formerly fbfce49e5c13ff930730c3cb19619bbb50c57df5]
Former-commit-id: 26d6f866a2c8a224dc9cc77b4d5528e6fa70c573
Nambers added a commit that referenced this issue Oct 26, 2021
#90


Former-commit-id: 9fbc5d358566f33ebf3cfada3a616b29919db152 [formerly 09272f68350e288ee996f1dcc78033356acb94f9]
Former-commit-id: 9c1df79f83438400967aad87ba03233a76ec600e
Nambers added a commit that referenced this issue Oct 26, 2021
…eSource` and analysis `Quote`

#94 and #90


Former-commit-id: 681881cdfb02451e34208b36bfe986b608273b98 [formerly e88fd02cf05a5a38f26dbef37441d4e118b542a2]
Former-commit-id: f4e9ee5600a8cf32dc8fff96e52240bb37127e41
Nambers added a commit that referenced this issue Oct 26, 2021
#90


Former-commit-id: 4944f31c7a97fd28f42e900f727f43367474bc52 [formerly e0bc32375e4f93bc8360117f07d7371f789a67a7]
Former-commit-id: c87a2342018f2f6999f124e400d1bab741e40a62
Nambers added a commit that referenced this issue Oct 26, 2021
#90


Former-commit-id: 338c5de4e166c1057e05d2be0e3388b3ec8a63a6 [formerly fbfce49e5c13ff930730c3cb19619bbb50c57df5]
Former-commit-id: 26d6f866a2c8a224dc9cc77b4d5528e6fa70c573
Nambers added a commit that referenced this issue Oct 26, 2021
#90


Former-commit-id: 9fbc5d358566f33ebf3cfada3a616b29919db152 [formerly 09272f68350e288ee996f1dcc78033356acb94f9]
Former-commit-id: 9c1df79f83438400967aad87ba03233a76ec600e
@Nambers
Copy link
Owner Author

Nambers commented Nov 4, 2021

ForwardMessage: a6bf1e8 and 3bb7171
need test

@Nambers
Copy link
Owner Author

Nambers commented Nov 8, 2021

可能要加miraicode解析支持

@Nambers Nambers removed this from the 需等待mirai支持 milestone Nov 14, 2021
@Nambers Nambers closed this as completed Nov 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
f: API 关于:公开API p: high 优先级:高 t: enhancement 类型:改进或新特性
Projects
None yet
Development

No branches or pull requests

1 participant