entity

package
v0.0.0-...-ad4a85e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FriendAvatar

func FriendAvatar(uin uint32) string

func GroupAvatar

func GroupAvatar(groupUin uint32, groupName string) string

Types

type Friend

type Friend struct {
	Uin          uint32
	Uid          string
	Nickname     string
	Remarks      string
	PersonalSign string
	Avatar       string
}

type Group

type Group struct {
	GroupUin    uint32
	GroupName   string
	MemberCount uint32
	MaxMember   uint32
	Avatar      string
}

type GroupMember

type GroupMember struct {
	Uin         uint32
	Uid         string
	Permission  GroupMemberPermission
	GroupLevel  uint32
	MemberCard  string
	MemberName  string
	JoinTime    uint32
	LastMsgTime uint32
	Avatar      string
}

type GroupMemberPermission

type GroupMemberPermission uint32
const (
	Member GroupMemberPermission = iota
	Owner
	Admin
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL