Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FriendRecall ¶
func ParseFriendRecallEvent ¶
func ParseFriendRecallEvent(event *message.FriendRecall) *FriendRecall
type FriendRequest ¶
func ParseFriendRequestNotice ¶
func ParseFriendRequestNotice(event *message.FriendRequest, msg *message.PushMsg) *FriendRequest
type GroupEvent ¶
type GroupEvent struct {
GroupUin uint32
}
type GroupInvite ¶
func ParseInviteNotice ¶
func ParseInviteNotice(event *message.GroupInvite) *GroupInvite
ParseInviteNotice 被邀请加群
type GroupMemberDecrease ¶
type GroupMemberDecrease struct {
GroupEvent
MemberUid string
OperatorUid string
ExitType uint32
}
func ParseMemberDecreaseEvent ¶
func ParseMemberDecreaseEvent(event *message.GroupChange) *GroupMemberDecrease
func (*GroupMemberDecrease) IsKicked ¶
func (gmd *GroupMemberDecrease) IsKicked() bool
type GroupMemberIncrease ¶
type GroupMemberIncrease struct {
GroupEvent
MemberUid string
InvitorUid string
JoinType uint32
}
func ParseMemberIncreaseEvent ¶
func ParseMemberIncreaseEvent(event *message.GroupChange) *GroupMemberIncrease
type GroupMemberJoinRequest ¶
type GroupMemberJoinRequest struct {
GroupEvent
TargetUid string
InvitorUid string
Answer string // 问题:(.*)答案:(.*)
}
func ParseRequestInvitationNotice ¶
func ParseRequestInvitationNotice(event *message.GroupInvitation) *GroupMemberJoinRequest
ParseRequestInvitationNotice 邀请加群
func ParseRequestJoinNotice ¶
func ParseRequestJoinNotice(event *message.GroupJoin) *GroupMemberJoinRequest
ParseRequestJoinNotice 主动加群
type GroupMute ¶
type GroupMute struct {
GroupEvent
OperatorUid string
TargetUid string // when TargetUid is empty, mute all members
Duration uint32 // Duration == math.MaxUint32 when means mute all
}
func ParseGroupMuteEvent ¶
type GroupRecall ¶
type GroupRecall struct {
GroupEvent
AuthorUid string
OperatorUid string
Sequence uint64
Time uint32
Random uint32
}
func ParseGroupRecallEvent ¶
func ParseGroupRecallEvent(event *message.NotifyMessageBody) *GroupRecall
type Rename ¶
func ParseFriendRenameEvent ¶
func ParseFriendRenameEvent(event *message.FriendRenameMsg, uin uint32) *Rename
func ParseSelfRenameEvent ¶
func ParseSelfRenameEvent(event *message.SelfRenameMsg, sig *auth.SigInfo) *Rename
Click to show internal directories.
Click to hide internal directories.