forked from openimsdk/openim-sdk-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
listener_callback.go
55 lines (43 loc) · 2.22 KB
/
listener_callback.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package sdk_params_callback
import (
"github.com/erbaner/be-core/pkg/db/model_struct"
api "github.com/erbaner/be-core/pkg/server_api_params"
)
// //////////////////////////////friend////////////////////////////////////
type FriendApplicationAddedCallback model_struct.LocalFriendRequest
type FriendApplicationAcceptCallback model_struct.LocalFriendRequest
type FriendApplicationRejectCallback model_struct.LocalFriendRequest
type FriendApplicationDeletedCallback model_struct.LocalFriendRequest
type FriendAddedCallback model_struct.LocalFriend
type FriendDeletedCallback model_struct.LocalFriend
type FriendInfoChangedCallback model_struct.LocalFriend
type BlackAddCallback model_struct.LocalBlack
type BlackDeletedCallback model_struct.LocalBlack
////////////////////////////////group////////////////////////////////////
type JoinedGroupAddedCallback model_struct.LocalGroup
type JoinedGroupDeletedCallback model_struct.LocalGroup
type GroupMemberAddedCallback model_struct.LocalGroupMember
type GroupMemberDeletedCallback model_struct.LocalGroupMember
type GroupApplicationAddedCallback model_struct.LocalAdminGroupRequest
type GroupApplicationDeletedCallback model_struct.LocalAdminGroupRequest
type GroupApplicationAcceptCallback model_struct.LocalAdminGroupRequest
type GroupApplicationRejectCallback model_struct.LocalAdminGroupRequest
type GroupInfoChangedCallback model_struct.LocalGroup
type GroupMemberInfoChangedCallback model_struct.LocalGroupMember
// ////////////////////////////user////////////////////////////////////////
type SelfInfoUpdatedCallback model_struct.LocalUser
// ////////////////////////////user////////////////////////////////////////
type ConversationUpdateCallback model_struct.LocalConversation
type ConversationDeleteCallback model_struct.LocalConversation
// ///////////////////////////signaling/////////////////////////////////////
type InvitationInfo struct {
InviterUserID string
InviteeUserIDList []string
CustomData string
GroupID string
}
type ReceiveNewInvitationCallback api.SignalInviteReq
type InviteeAcceptedCallback api.SignalAcceptReq
type InviteeRejectedCallback api.SignalRejectReq
type InvitationCancelledCallback api.SignalCancelReq
type InvitationTimeoutCallback api.SignalInviteReq