1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

make sendGroupPoke exported.

This commit is contained in:
Mrs4s 2021-02-06 02:13:45 +08:00
parent 14ebb9cdcd
commit 33c34b14f2
2 changed files with 2 additions and 2 deletions

View File

@ -497,7 +497,7 @@ func (c *QQClient) DownloadForwardMessage(resId string) *message.ForwardElement
) )
} }
func (c *QQClient) sendGroupPoke(groupCode, target int64) { func (c *QQClient) SendGroupPoke(groupCode, target int64) {
_, _ = c.sendAndWait(c.buildGroupPokePacket(groupCode, target)) _, _ = c.sendAndWait(c.buildGroupPokePacket(groupCode, target))
} }

View File

@ -358,7 +358,7 @@ func (m *GroupMemberInfo) EditCard(card string) {
} }
func (m *GroupMemberInfo) Poke() { func (m *GroupMemberInfo) Poke() {
m.Group.client.sendGroupPoke(m.Group.Code, m.Uin) m.Group.client.SendGroupPoke(m.Group.Code, m.Uin)
} }
func (m *GroupMemberInfo) SetAdmin(flag bool) { func (m *GroupMemberInfo) SetAdmin(flag bool) {