mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 06:50:08 +08:00
Fix group recall for TIM PC
This commit is contained in:
parent
f26e0035b3
commit
fb05670239
@ -16,7 +16,7 @@ import net.mamoe.mirai.internal.utils.io.ProtoBuf
|
||||
internal class MsgRevokeUserDef : ProtoBuf {
|
||||
@Serializable
|
||||
internal class MsgInfoUserDef(
|
||||
@ProtoNumber(1) @JvmField val longMessageFlag: Int = 0,
|
||||
@ProtoNumber(1) @JvmField val longMessageFlag: Int,
|
||||
@ProtoNumber(2) @JvmField val longMsgInfo: List<MsgInfoDef> = emptyList(),
|
||||
@ProtoNumber(3) @JvmField val fileUuid: List<String> = listOf()
|
||||
) : ProtoBuf {
|
||||
|
@ -38,8 +38,8 @@ internal class MsgSvc : ProtoBuf {
|
||||
|
||||
@Serializable
|
||||
internal class PbGroupMsgWithDrawReq(
|
||||
@ProtoNumber(1) @JvmField val subCmd: Int = 0,
|
||||
@ProtoNumber(2) @JvmField val groupType: Int = 0,
|
||||
@ProtoNumber(1) @JvmField val subCmd: Int,
|
||||
@ProtoNumber(2) @JvmField val groupType: Int,
|
||||
@ProtoNumber(3) @JvmField val groupCode: Long = 0L,
|
||||
@ProtoNumber(4) @JvmField val msgList: List<MessageInfo> = emptyList(),
|
||||
@ProtoNumber(5) @JvmField val userdef: ByteArray = EMPTY_BYTE_ARRAY
|
||||
|
Loading…
Reference in New Issue
Block a user