feat(protocol): write join question and answer with add option

Question-and-answer join mode now sends the question and answer;
question-only mode sends the question and clears the answer.
This commit is contained in:
DrSmoothl committed 2026-08-17 19:12:43 +08:00
1 parent b1fa11ca05
commit 3cb3024b39
3 files changed
+85 -10

No files matched your search

@@ -25,6 +25,10 @@ export interface OidbMuteAll {
}
export interface Oidb0x89a_0AddOptionSettings {
addType?: pb<16, uint_32>;
// EncodeModifyGroupDetailInfoParam: question=30/60224, answer=31/60225.
// Empty string is a real write (clears the other mode), so these are optional.
groupQuestion?: pb_optional<30, string>;
groupAnswer?: pb_optional<31, string>;
}
export interface Oidb0x89a_0AddOption {
groupUin?: pb<1, uint_64>;