mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
update todo
This commit is contained in:
parent
fc514b6f2d
commit
12e40ef1ea
@ -149,6 +149,7 @@ func (s *GuildService) GetUserProfile(tinyId uint64) (*GuildUserProfile, error)
|
|||||||
func (s *GuildService) GetGuildMembers(guildId uint64) (bots []*GuildMemberInfo, members []*GuildMemberInfo, admins []*GuildMemberInfo, err error) {
|
func (s *GuildService) GetGuildMembers(guildId uint64) (bots []*GuildMemberInfo, members []*GuildMemberInfo, admins []*GuildMemberInfo, err error) {
|
||||||
seq := s.c.nextSeq()
|
seq := s.c.nextSeq()
|
||||||
u1 := uint32(1)
|
u1 := uint32(1)
|
||||||
|
// todo: 这个包实际上是 fetchMemberListWithRole , 可以按channel, role等规则获取成员列表, 还需要修改
|
||||||
payload := s.c.packOIDBPackageDynamically(3931, 1, binary.DynamicProtoMessage{ // todo: 可能还需要处理翻页的情况?
|
payload := s.c.packOIDBPackageDynamically(3931, 1, binary.DynamicProtoMessage{ // todo: 可能还需要处理翻页的情况?
|
||||||
1: guildId, // guild id
|
1: guildId, // guild id
|
||||||
2: uint32(3),
|
2: uint32(3),
|
||||||
|
@ -16,7 +16,7 @@ func (s *GuildService) pullRoamMsgByEventFlow(guildId, channelId, beginSeq, endS
|
|||||||
EndSeq: &endSeq,
|
EndSeq: &endSeq,
|
||||||
Version: []uint64{eventVersion},
|
Version: []uint64{eventVersion},
|
||||||
},
|
},
|
||||||
WithVersionFlag: proto.Uint32(2),
|
WithVersionFlag: proto.Uint32(1),
|
||||||
DirectMessageFlag: proto.Uint32(0),
|
DirectMessageFlag: proto.Uint32(0),
|
||||||
})
|
})
|
||||||
seq := s.c.nextSeq()
|
seq := s.c.nextSeq()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user