group

package
v3.5.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallbackAfterCreateGroup added in v3.4.2

func CallbackAfterCreateGroup(ctx context.Context, req *group.CreateGroupReq) (err error)

func CallbackAfterJoinGroup added in v3.4.2

func CallbackAfterJoinGroup(ctx context.Context, req *group.JoinGroupReq) error

func CallbackAfterSetGroupInfo added in v3.4.2

func CallbackAfterSetGroupInfo(ctx context.Context, req *group.SetGroupInfoReq) error

func CallbackAfterSetGroupMemberInfo added in v3.4.2

func CallbackAfterSetGroupMemberInfo(ctx context.Context, req *group.SetGroupMemberInfo) (err error)

func CallbackApplyJoinGroupBefore added in v3.4.2

func CallbackApplyJoinGroupBefore(ctx context.Context, req *callbackstruct.CallbackJoinGroupReq) (err error)

func CallbackBeforeCreateGroup

func CallbackBeforeCreateGroup(ctx context.Context, req *group.CreateGroupReq) (err error)

func CallbackBeforeInviteUserToGroup added in v3.4.2

func CallbackBeforeInviteUserToGroup(ctx context.Context, req *group.InviteUserToGroupReq) (err error)

func CallbackBeforeMemberJoinGroup

func CallbackBeforeMemberJoinGroup(
	ctx context.Context,
	groupMember *relation.GroupMemberModel,
	groupEx string,
) (err error)

func CallbackBeforeSetGroupInfo added in v3.4.2

func CallbackBeforeSetGroupInfo(ctx context.Context, req *group.SetGroupInfoReq) error

func CallbackBeforeSetGroupMemberInfo

func CallbackBeforeSetGroupMemberInfo(ctx context.Context, req *group.SetGroupMemberInfo) (err error)

func CallbackDismissGroup added in v3.4.2

func CallbackDismissGroup(ctx context.Context, req *callbackstruct.CallbackDisMissGroupReq) (err error)

func CallbackKillGroupMember added in v3.4.2

func CallbackKillGroupMember(ctx context.Context, req *pbgroup.KickGroupMemberReq) (err error)

func CallbackQuitGroup added in v3.4.2

func CallbackQuitGroup(ctx context.Context, req *group.QuitGroupReq) (err error)

func CallbackTransferGroupOwnerAfter added in v3.4.2

func CallbackTransferGroupOwnerAfter(ctx context.Context, req *pbgroup.TransferGroupOwnerReq) (err error)

func Start

func UpdateGroupInfoMap

func UpdateGroupInfoMap(ctx context.Context, group *sdkws.GroupInfoForSet) map[string]any

func UpdateGroupMemberMap

func UpdateGroupMemberMap(req *pbgroup.SetGroupMemberInfo) map[string]any

func UpdateGroupMemberMutedTimeMap

func UpdateGroupMemberMutedTimeMap(t time.Time) map[string]any

func UpdateGroupStatusMap

func UpdateGroupStatusMap(status int) map[string]any

Types

This section is empty.

Jump to

Keyboard shortcuts

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