github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/entity/avatar.go (about) 1 package entity 2 3 import "fmt" 4 5 func FriendAvatar(uin uint32) string { 6 return fmt.Sprintf("https://q1.qlogo.cn/g?b=qq&nk=%v&s=640", uin) 7 } 8 9 func GroupAvatar(groupUin uint32, groupName string) string { 10 return fmt.Sprintf("https://p.qlogo.cn/gh/%v/%v/0/", groupUin, groupUin) 11 }