Documentation ¶
Index ¶
- Variables
- type BaseGroupInfo
- func (*BaseGroupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BaseGroupInfo) GetCode() string
- func (x *BaseGroupInfo) GetCreatorUserID() string
- func (x *BaseGroupInfo) GetFaceURL() string
- func (x *BaseGroupInfo) GetGroupID() string
- func (x *BaseGroupInfo) GetGroupType() int64
- func (x *BaseGroupInfo) GetMemberCount() int64
- func (x *BaseGroupInfo) GetNickName() string
- func (x *BaseGroupInfo) GetOwnerUserID() string
- func (x *BaseGroupInfo) GetStatus() int32
- func (x *BaseGroupInfo) GetUpdateAt() int64
- func (*BaseGroupInfo) ProtoMessage()
- func (x *BaseGroupInfo) ProtoReflect() protoreflect.Message
- func (x *BaseGroupInfo) Reset()
- func (x *BaseGroupInfo) String() string
- func (m *BaseGroupInfo) Validate() error
- func (m *BaseGroupInfo) ValidateAll() error
- type BaseGroupInfoMultiError
- type BaseGroupInfoValidationError
- func (e BaseGroupInfoValidationError) Cause() error
- func (e BaseGroupInfoValidationError) Error() string
- func (e BaseGroupInfoValidationError) ErrorName() string
- func (e BaseGroupInfoValidationError) Field() string
- func (e BaseGroupInfoValidationError) Key() bool
- func (e BaseGroupInfoValidationError) Reason() string
- type GetByGroupListSdk
- func (*GetByGroupListSdk) Descriptor() ([]byte, []int)deprecated
- func (x *GetByGroupListSdk) GetGroupID() string
- func (x *GetByGroupListSdk) GetPagination() *v2.RequestPagination
- func (*GetByGroupListSdk) ProtoMessage()
- func (x *GetByGroupListSdk) ProtoReflect() protoreflect.Message
- func (x *GetByGroupListSdk) Reset()
- func (x *GetByGroupListSdk) String() string
- func (m *GetByGroupListSdk) Validate() error
- func (m *GetByGroupListSdk) ValidateAll() error
- type GetByGroupListSdkMultiError
- type GetByGroupListSdkValidationError
- func (e GetByGroupListSdkValidationError) Cause() error
- func (e GetByGroupListSdkValidationError) Error() string
- func (e GetByGroupListSdkValidationError) ErrorName() string
- func (e GetByGroupListSdkValidationError) Field() string
- func (e GetByGroupListSdkValidationError) Key() bool
- func (e GetByGroupListSdkValidationError) Reason() string
- type GroupAbstractInfo
- func (*GroupAbstractInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupAbstractInfo) GetGroupID() string
- func (x *GroupAbstractInfo) GetGroupMemberListHash() uint64
- func (x *GroupAbstractInfo) GetGroupMemberNumber() uint32
- func (*GroupAbstractInfo) ProtoMessage()
- func (x *GroupAbstractInfo) ProtoReflect() protoreflect.Message
- func (x *GroupAbstractInfo) Reset()
- func (x *GroupAbstractInfo) String() string
- func (m *GroupAbstractInfo) Validate() error
- func (m *GroupAbstractInfo) ValidateAll() error
- type GroupAbstractInfoMultiError
- type GroupAbstractInfoValidationError
- func (e GroupAbstractInfoValidationError) Cause() error
- func (e GroupAbstractInfoValidationError) Error() string
- func (e GroupAbstractInfoValidationError) ErrorName() string
- func (e GroupAbstractInfoValidationError) Field() string
- func (e GroupAbstractInfoValidationError) Key() bool
- func (e GroupAbstractInfoValidationError) Reason() string
- type GroupInfo
- func (*GroupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfo) GetAllowPrivateChat() int32
- func (x *GroupInfo) GetApplyMemberFriend() int32
- func (x *GroupInfo) GetAttachedInfo() string
- func (x *GroupInfo) GetCode() string
- func (x *GroupInfo) GetCreateCode() string
- func (x *GroupInfo) GetCreateNickname() string
- func (x *GroupInfo) GetCreateTime() int64
- func (x *GroupInfo) GetCreatorUserID() string
- func (x *GroupInfo) GetEx() string
- func (x *GroupInfo) GetFaceURL() string
- func (x *GroupInfo) GetGroupID() string
- func (x *GroupInfo) GetGroupName() string
- func (x *GroupInfo) GetGroupType() int32
- func (x *GroupInfo) GetIntroduction() string
- func (x *GroupInfo) GetIsComplete() int32
- func (x *GroupInfo) GetIsOpen() int32
- func (x *GroupInfo) GetIsReal() int32
- func (x *GroupInfo) GetLookMemberInfo() int32
- func (x *GroupInfo) GetMaxMemberCount() int32
- func (x *GroupInfo) GetMemberCount() int64
- func (x *GroupInfo) GetNeedVerification() int32
- func (x *GroupInfo) GetNotification() string
- func (x *GroupInfo) GetNotificationUpdateTime() int64
- func (x *GroupInfo) GetNotificationUserID() string
- func (x *GroupInfo) GetOnlyManageUpdateName() int32
- func (x *GroupInfo) GetOwnerCode() string
- func (x *GroupInfo) GetOwnerNickname() string
- func (x *GroupInfo) GetOwnerUserID() string
- func (x *GroupInfo) GetStatus() int32
- func (x *GroupInfo) GetUpdateAt() int64
- func (*GroupInfo) ProtoMessage()
- func (x *GroupInfo) ProtoReflect() protoreflect.Message
- func (x *GroupInfo) Reset()
- func (x *GroupInfo) String() string
- func (m *GroupInfo) Validate() error
- func (m *GroupInfo) ValidateAll() error
- type GroupInfoMultiError
- type GroupInfoValidationError
- type GroupRequestInfo
- func (*GroupRequestInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupRequestInfo) GetAttachedInfo() string
- func (x *GroupRequestInfo) GetCode() string
- func (x *GroupRequestInfo) GetCreateTime() int64
- func (x *GroupRequestInfo) GetCreatorUserID() string
- func (x *GroupRequestInfo) GetEx() string
- func (x *GroupRequestInfo) GetGender() int32
- func (x *GroupRequestInfo) GetGroupCode() string
- func (x *GroupRequestInfo) GetGroupFaceURL() string
- func (x *GroupRequestInfo) GetGroupID() string
- func (x *GroupRequestInfo) GetGroupName() string
- func (x *GroupRequestInfo) GetGroupType() int32
- func (x *GroupRequestInfo) GetHandleResult() int32
- func (x *GroupRequestInfo) GetHandleUserID() string
- func (x *GroupRequestInfo) GetHandledMsg() string
- func (x *GroupRequestInfo) GetHandledTime() int64
- func (x *GroupRequestInfo) GetIntroduction() string
- func (x *GroupRequestInfo) GetInviterUserID() string
- func (x *GroupRequestInfo) GetJoinSource() int32
- func (x *GroupRequestInfo) GetMemberCount() int32
- func (x *GroupRequestInfo) GetNickname() string
- func (x *GroupRequestInfo) GetNotification() string
- func (x *GroupRequestInfo) GetOwnerUserID() string
- func (x *GroupRequestInfo) GetReqMsg() string
- func (x *GroupRequestInfo) GetReqTime() int64
- func (x *GroupRequestInfo) GetStatus() int32
- func (x *GroupRequestInfo) GetUserFaceURL() string
- func (x *GroupRequestInfo) GetUserID() string
- func (*GroupRequestInfo) ProtoMessage()
- func (x *GroupRequestInfo) ProtoReflect() protoreflect.Message
- func (x *GroupRequestInfo) Reset()
- func (x *GroupRequestInfo) String() string
- func (m *GroupRequestInfo) Validate() error
- func (m *GroupRequestInfo) ValidateAll() error
- type GroupRequestInfoMultiError
- type GroupRequestInfoValidationError
- func (e GroupRequestInfoValidationError) Cause() error
- func (e GroupRequestInfoValidationError) Error() string
- func (e GroupRequestInfoValidationError) ErrorName() string
- func (e GroupRequestInfoValidationError) Field() string
- func (e GroupRequestInfoValidationError) Key() bool
- func (e GroupRequestInfoValidationError) Reason() string
- type MemberInfo
- func (*MemberInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MemberInfo) GetAttachedInfo() string
- func (x *MemberInfo) GetBackgroundUrl() string
- func (x *MemberInfo) GetBirth() int64
- func (x *MemberInfo) GetCode() string
- func (x *MemberInfo) GetEmail() string
- func (x *MemberInfo) GetEx() string
- func (x *MemberInfo) GetFaceUrl() string
- func (x *MemberInfo) GetGender() int32
- func (x *MemberInfo) GetGroupID() string
- func (x *MemberInfo) GetGroupUserName() string
- func (x *MemberInfo) GetInviterUserID() string
- func (x *MemberInfo) GetJoinSource() int32
- func (x *MemberInfo) GetJoinTime() int64
- func (x *MemberInfo) GetMessage() string
- func (x *MemberInfo) GetMuteEndTime() int64
- func (x *MemberInfo) GetNickname() string
- func (x *MemberInfo) GetOperatorUserID() string
- func (x *MemberInfo) GetPhone() string
- func (x *MemberInfo) GetRoleLevel() int32
- func (x *MemberInfo) GetUpdateAt() int64
- func (x *MemberInfo) GetUserID() string
- func (*MemberInfo) ProtoMessage()
- func (x *MemberInfo) ProtoReflect() protoreflect.Message
- func (x *MemberInfo) Reset()
- func (x *MemberInfo) String() string
- func (m *MemberInfo) Validate() error
- func (m *MemberInfo) ValidateAll() error
- type MemberInfoMultiError
- type MemberInfoValidationError
Constants ¶
This section is empty.
Variables ¶
var File_common_model_group_v2_group_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BaseGroupInfo ¶
type BaseGroupInfo struct { GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` FaceURL string `protobuf:"bytes,2,opt,name=faceURL,proto3" json:"faceURL,omitempty"` NickName string `protobuf:"bytes,3,opt,name=nickName,proto3" json:"nickName,omitempty"` MemberCount int64 `protobuf:"varint,4,opt,name=memberCount,proto3" json:"memberCount,omitempty"` GroupType int64 `protobuf:"varint,5,opt,name=groupType,proto3" json:"groupType,omitempty"` //群类型 Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` //群状态 UpdateAt int64 `protobuf:"varint,7,opt,name=updateAt,proto3" json:"updateAt,omitempty"` //更新时间 Code string `protobuf:"bytes,8,opt,name=code,proto3" json:"code,omitempty"` OwnerUserID string `protobuf:"bytes,9,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"` CreatorUserID string `protobuf:"bytes,10,opt,name=creatorUserID,proto3" json:"creatorUserID,omitempty"` // contains filtered or unexported fields }
群的基础信息
func (*BaseGroupInfo) Descriptor
deprecated
func (*BaseGroupInfo) Descriptor() ([]byte, []int)
Deprecated: Use BaseGroupInfo.ProtoReflect.Descriptor instead.
func (*BaseGroupInfo) GetCode ¶
func (x *BaseGroupInfo) GetCode() string
func (*BaseGroupInfo) GetCreatorUserID ¶
func (x *BaseGroupInfo) GetCreatorUserID() string
func (*BaseGroupInfo) GetFaceURL ¶
func (x *BaseGroupInfo) GetFaceURL() string
func (*BaseGroupInfo) GetGroupID ¶
func (x *BaseGroupInfo) GetGroupID() string
func (*BaseGroupInfo) GetGroupType ¶
func (x *BaseGroupInfo) GetGroupType() int64
func (*BaseGroupInfo) GetMemberCount ¶
func (x *BaseGroupInfo) GetMemberCount() int64
func (*BaseGroupInfo) GetNickName ¶
func (x *BaseGroupInfo) GetNickName() string
func (*BaseGroupInfo) GetOwnerUserID ¶
func (x *BaseGroupInfo) GetOwnerUserID() string
func (*BaseGroupInfo) GetStatus ¶
func (x *BaseGroupInfo) GetStatus() int32
func (*BaseGroupInfo) GetUpdateAt ¶
func (x *BaseGroupInfo) GetUpdateAt() int64
func (*BaseGroupInfo) ProtoMessage ¶
func (*BaseGroupInfo) ProtoMessage()
func (*BaseGroupInfo) ProtoReflect ¶
func (x *BaseGroupInfo) ProtoReflect() protoreflect.Message
func (*BaseGroupInfo) Reset ¶
func (x *BaseGroupInfo) Reset()
func (*BaseGroupInfo) String ¶
func (x *BaseGroupInfo) String() string
func (*BaseGroupInfo) Validate ¶
func (m *BaseGroupInfo) Validate() error
Validate checks the field values on BaseGroupInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BaseGroupInfo) ValidateAll ¶
func (m *BaseGroupInfo) ValidateAll() error
ValidateAll checks the field values on BaseGroupInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BaseGroupInfoMultiError, or nil if none found.
type BaseGroupInfoMultiError ¶
type BaseGroupInfoMultiError []error
BaseGroupInfoMultiError is an error wrapping multiple validation errors returned by BaseGroupInfo.ValidateAll() if the designated constraints aren't met.
func (BaseGroupInfoMultiError) AllErrors ¶
func (m BaseGroupInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BaseGroupInfoMultiError) Error ¶
func (m BaseGroupInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BaseGroupInfoValidationError ¶
type BaseGroupInfoValidationError struct {
// contains filtered or unexported fields
}
BaseGroupInfoValidationError is the validation error returned by BaseGroupInfo.Validate if the designated constraints aren't met.
func (BaseGroupInfoValidationError) Cause ¶
func (e BaseGroupInfoValidationError) Cause() error
Cause function returns cause value.
func (BaseGroupInfoValidationError) Error ¶
func (e BaseGroupInfoValidationError) Error() string
Error satisfies the builtin error interface
func (BaseGroupInfoValidationError) ErrorName ¶
func (e BaseGroupInfoValidationError) ErrorName() string
ErrorName returns error name.
func (BaseGroupInfoValidationError) Field ¶
func (e BaseGroupInfoValidationError) Field() string
Field function returns field value.
func (BaseGroupInfoValidationError) Key ¶
func (e BaseGroupInfoValidationError) Key() bool
Key function returns key value.
func (BaseGroupInfoValidationError) Reason ¶
func (e BaseGroupInfoValidationError) Reason() string
Reason function returns reason value.
type GetByGroupListSdk ¶
type GetByGroupListSdk struct { GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` Pagination *v2.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
根据群id获取列表 兼容老版本
func (*GetByGroupListSdk) Descriptor
deprecated
func (*GetByGroupListSdk) Descriptor() ([]byte, []int)
Deprecated: Use GetByGroupListSdk.ProtoReflect.Descriptor instead.
func (*GetByGroupListSdk) GetGroupID ¶
func (x *GetByGroupListSdk) GetGroupID() string
func (*GetByGroupListSdk) GetPagination ¶
func (x *GetByGroupListSdk) GetPagination() *v2.RequestPagination
func (*GetByGroupListSdk) ProtoMessage ¶
func (*GetByGroupListSdk) ProtoMessage()
func (*GetByGroupListSdk) ProtoReflect ¶
func (x *GetByGroupListSdk) ProtoReflect() protoreflect.Message
func (*GetByGroupListSdk) Reset ¶
func (x *GetByGroupListSdk) Reset()
func (*GetByGroupListSdk) String ¶
func (x *GetByGroupListSdk) String() string
func (*GetByGroupListSdk) Validate ¶
func (m *GetByGroupListSdk) Validate() error
Validate checks the field values on GetByGroupListSdk with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetByGroupListSdk) ValidateAll ¶
func (m *GetByGroupListSdk) ValidateAll() error
ValidateAll checks the field values on GetByGroupListSdk with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByGroupListSdkMultiError, or nil if none found.
type GetByGroupListSdkMultiError ¶
type GetByGroupListSdkMultiError []error
GetByGroupListSdkMultiError is an error wrapping multiple validation errors returned by GetByGroupListSdk.ValidateAll() if the designated constraints aren't met.
func (GetByGroupListSdkMultiError) AllErrors ¶
func (m GetByGroupListSdkMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetByGroupListSdkMultiError) Error ¶
func (m GetByGroupListSdkMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetByGroupListSdkValidationError ¶
type GetByGroupListSdkValidationError struct {
// contains filtered or unexported fields
}
GetByGroupListSdkValidationError is the validation error returned by GetByGroupListSdk.Validate if the designated constraints aren't met.
func (GetByGroupListSdkValidationError) Cause ¶
func (e GetByGroupListSdkValidationError) Cause() error
Cause function returns cause value.
func (GetByGroupListSdkValidationError) Error ¶
func (e GetByGroupListSdkValidationError) Error() string
Error satisfies the builtin error interface
func (GetByGroupListSdkValidationError) ErrorName ¶
func (e GetByGroupListSdkValidationError) ErrorName() string
ErrorName returns error name.
func (GetByGroupListSdkValidationError) Field ¶
func (e GetByGroupListSdkValidationError) Field() string
Field function returns field value.
func (GetByGroupListSdkValidationError) Key ¶
func (e GetByGroupListSdkValidationError) Key() bool
Key function returns key value.
func (GetByGroupListSdkValidationError) Reason ¶
func (e GetByGroupListSdkValidationError) Reason() string
Reason function returns reason value.
type GroupAbstractInfo ¶
type GroupAbstractInfo struct { GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` GroupMemberNumber uint32 `protobuf:"varint,2,opt,name=groupMemberNumber,proto3" json:"groupMemberNumber,omitempty"` GroupMemberListHash uint64 `protobuf:"varint,3,opt,name=groupMemberListHash,proto3" json:"groupMemberListHash,omitempty"` // contains filtered or unexported fields }
func (*GroupAbstractInfo) Descriptor
deprecated
func (*GroupAbstractInfo) Descriptor() ([]byte, []int)
Deprecated: Use GroupAbstractInfo.ProtoReflect.Descriptor instead.
func (*GroupAbstractInfo) GetGroupID ¶
func (x *GroupAbstractInfo) GetGroupID() string
func (*GroupAbstractInfo) GetGroupMemberListHash ¶
func (x *GroupAbstractInfo) GetGroupMemberListHash() uint64
func (*GroupAbstractInfo) GetGroupMemberNumber ¶
func (x *GroupAbstractInfo) GetGroupMemberNumber() uint32
func (*GroupAbstractInfo) ProtoMessage ¶
func (*GroupAbstractInfo) ProtoMessage()
func (*GroupAbstractInfo) ProtoReflect ¶
func (x *GroupAbstractInfo) ProtoReflect() protoreflect.Message
func (*GroupAbstractInfo) Reset ¶
func (x *GroupAbstractInfo) Reset()
func (*GroupAbstractInfo) String ¶
func (x *GroupAbstractInfo) String() string
func (*GroupAbstractInfo) Validate ¶
func (m *GroupAbstractInfo) Validate() error
Validate checks the field values on GroupAbstractInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GroupAbstractInfo) ValidateAll ¶
func (m *GroupAbstractInfo) ValidateAll() error
ValidateAll checks the field values on GroupAbstractInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupAbstractInfoMultiError, or nil if none found.
type GroupAbstractInfoMultiError ¶
type GroupAbstractInfoMultiError []error
GroupAbstractInfoMultiError is an error wrapping multiple validation errors returned by GroupAbstractInfo.ValidateAll() if the designated constraints aren't met.
func (GroupAbstractInfoMultiError) AllErrors ¶
func (m GroupAbstractInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupAbstractInfoMultiError) Error ¶
func (m GroupAbstractInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupAbstractInfoValidationError ¶
type GroupAbstractInfoValidationError struct {
// contains filtered or unexported fields
}
GroupAbstractInfoValidationError is the validation error returned by GroupAbstractInfo.Validate if the designated constraints aren't met.
func (GroupAbstractInfoValidationError) Cause ¶
func (e GroupAbstractInfoValidationError) Cause() error
Cause function returns cause value.
func (GroupAbstractInfoValidationError) Error ¶
func (e GroupAbstractInfoValidationError) Error() string
Error satisfies the builtin error interface
func (GroupAbstractInfoValidationError) ErrorName ¶
func (e GroupAbstractInfoValidationError) ErrorName() string
ErrorName returns error name.
func (GroupAbstractInfoValidationError) Field ¶
func (e GroupAbstractInfoValidationError) Field() string
Field function returns field value.
func (GroupAbstractInfoValidationError) Key ¶
func (e GroupAbstractInfoValidationError) Key() bool
Key function returns key value.
func (GroupAbstractInfoValidationError) Reason ¶
func (e GroupAbstractInfoValidationError) Reason() string
Reason function returns reason value.
type GroupInfo ¶
type GroupInfo struct { GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` //群Id GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"` //群昵称 Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"` //群公告 Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` //群简介 FaceURL string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL,omitempty"` //群头像 OwnerUserID string `protobuf:"bytes,6,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"` //群主id CreateTime int64 `protobuf:"varint,7,opt,name=createTime,proto3" json:"createTime,omitempty"` //创建时间 MemberCount int64 `protobuf:"varint,8,opt,name=memberCount,proto3" json:"memberCount,omitempty"` //群用户数 Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex,omitempty"` //扩展 Status int32 `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"` //群状态 CreatorUserID string `protobuf:"bytes,11,opt,name=creatorUserID,proto3" json:"creatorUserID,omitempty"` //创建者 GroupType int32 `protobuf:"varint,12,opt,name=groupType,proto3" json:"groupType,omitempty"` //群类型 NeedVerification int32 `protobuf:"varint,13,opt,name=needVerification,proto3" json:"needVerification,omitempty"` //加群是否需要验证:0需要,1不需要 LookMemberInfo int32 `protobuf:"varint,14,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo,omitempty"` //支持成员信息查看:0支持,1不支持 ApplyMemberFriend int32 `protobuf:"varint,15,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend,omitempty"` //是否可通过群加好友:0支持,1不支持 NotificationUpdateTime int64 `protobuf:"varint,16,opt,name=notificationUpdateTime,proto3" json:"notificationUpdateTime,omitempty"` //群公告更新时间 NotificationUserID string `protobuf:"bytes,17,opt,name=notificationUserID,proto3" json:"notificationUserID,omitempty"` //更新公告用户id Code string `protobuf:"bytes,18,opt,name=code,proto3" json:"code,omitempty"` //群编码,对应前台的群id MaxMemberCount int32 `protobuf:"varint,19,opt,name=maxMemberCount,proto3" json:"maxMemberCount,omitempty"` //群的最大用户数 AttachedInfo string `protobuf:"bytes,20,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"` //附加信息 OnlyManageUpdateName int32 `protobuf:"varint,21,opt,name=onlyManageUpdateName,proto3" json:"onlyManageUpdateName,omitempty"` //是否仅管理员或群主能够更新群名称 IsReal int32 `protobuf:"varint,22,opt,name=isReal,proto3" json:"isReal,omitempty"` //是否实名认证,默认否 IsOpen int32 `protobuf:"varint,23,opt,name=isOpen,proto3" json:"isOpen,omitempty"` //是否公开群组,1:开启;2:关闭 AllowPrivateChat int32 `protobuf:"varint,24,opt,name=allowPrivateChat,proto3" json:"allowPrivateChat,omitempty"` //允许成员私聊,1:开启;2:关闭 IsComplete int32 `protobuf:"varint,25,opt,name=isComplete,proto3" json:"isComplete,omitempty"` //是否完成同步 OwnerCode string `protobuf:"bytes,26,opt,name=ownerCode,proto3" json:"ownerCode,omitempty"` //群主code OwnerNickname string `protobuf:"bytes,27,opt,name=ownerNickname,proto3" json:"ownerNickname,omitempty"` //群主昵称 CreateCode string `protobuf:"bytes,28,opt,name=createCode,proto3" json:"createCode,omitempty"` //创建者code CreateNickname string `protobuf:"bytes,29,opt,name=createNickname,proto3" json:"createNickname,omitempty"` //创建者昵称 UpdateAt int64 `protobuf:"varint,30,opt,name=updateAt,proto3" json:"updateAt,omitempty"` //更新时间 // contains filtered or unexported fields }
群信息存在
func (*GroupInfo) Descriptor
deprecated
func (*GroupInfo) GetAllowPrivateChat ¶
func (*GroupInfo) GetApplyMemberFriend ¶
func (*GroupInfo) GetAttachedInfo ¶
func (*GroupInfo) GetCreateCode ¶
func (*GroupInfo) GetCreateNickname ¶
func (*GroupInfo) GetCreateTime ¶
func (*GroupInfo) GetCreatorUserID ¶
func (*GroupInfo) GetFaceURL ¶
func (*GroupInfo) GetGroupID ¶
func (*GroupInfo) GetGroupName ¶
func (*GroupInfo) GetGroupType ¶
func (*GroupInfo) GetIntroduction ¶
func (*GroupInfo) GetIsComplete ¶
func (*GroupInfo) GetLookMemberInfo ¶
func (*GroupInfo) GetMaxMemberCount ¶
func (*GroupInfo) GetMemberCount ¶
func (*GroupInfo) GetNeedVerification ¶
func (*GroupInfo) GetNotification ¶
func (*GroupInfo) GetNotificationUpdateTime ¶
func (*GroupInfo) GetNotificationUserID ¶
func (*GroupInfo) GetOnlyManageUpdateName ¶
func (*GroupInfo) GetOwnerCode ¶
func (*GroupInfo) GetOwnerNickname ¶
func (*GroupInfo) GetOwnerUserID ¶
func (*GroupInfo) GetUpdateAt ¶
func (*GroupInfo) ProtoMessage ¶
func (*GroupInfo) ProtoMessage()
func (*GroupInfo) ProtoReflect ¶
func (x *GroupInfo) ProtoReflect() protoreflect.Message
func (*GroupInfo) Validate ¶
Validate checks the field values on GroupInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GroupInfo) ValidateAll ¶
ValidateAll checks the field values on GroupInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupInfoMultiError, or nil if none found.
type GroupInfoMultiError ¶
type GroupInfoMultiError []error
GroupInfoMultiError is an error wrapping multiple validation errors returned by GroupInfo.ValidateAll() if the designated constraints aren't met.
func (GroupInfoMultiError) AllErrors ¶
func (m GroupInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupInfoMultiError) Error ¶
func (m GroupInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupInfoValidationError ¶
type GroupInfoValidationError struct {
// contains filtered or unexported fields
}
GroupInfoValidationError is the validation error returned by GroupInfo.Validate if the designated constraints aren't met.
func (GroupInfoValidationError) Cause ¶
func (e GroupInfoValidationError) Cause() error
Cause function returns cause value.
func (GroupInfoValidationError) Error ¶
func (e GroupInfoValidationError) Error() string
Error satisfies the builtin error interface
func (GroupInfoValidationError) ErrorName ¶
func (e GroupInfoValidationError) ErrorName() string
ErrorName returns error name.
func (GroupInfoValidationError) Field ¶
func (e GroupInfoValidationError) Field() string
Field function returns field value.
func (GroupInfoValidationError) Key ¶
func (e GroupInfoValidationError) Key() bool
Key function returns key value.
func (GroupInfoValidationError) Reason ¶
func (e GroupInfoValidationError) Reason() string
Reason function returns reason value.
type GroupRequestInfo ¶
type GroupRequestInfo struct { GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` //群ID GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"` //群名称 Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"` //通知 Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` // 简介 GroupFaceURL string `protobuf:"bytes,5,opt,name=groupFaceURL,proto3" json:"groupFaceURL,omitempty"` //群头像 CreateTime int64 `protobuf:"varint,6,opt,name=createTime,proto3" json:"createTime,omitempty"` //创建时间 Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` //状态 CreatorUserID string `protobuf:"bytes,8,opt,name=creatorUserID,proto3" json:"creatorUserID,omitempty"` //创建者 GroupType int32 `protobuf:"varint,9,opt,name=groupType,proto3" json:"groupType,omitempty"` //群类型 OwnerUserID string `protobuf:"bytes,10,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"` //本人id MemberCount int32 `protobuf:"varint,11,opt,name=memberCount,proto3" json:"memberCount,omitempty"` //群人数 GroupCode string `protobuf:"bytes,12,opt,name=groupCode,proto3" json:"groupCode,omitempty"` //群code码 UserID string `protobuf:"bytes,13,opt,name=userID,proto3" json:"userID,omitempty"` //用户id Nickname string `protobuf:"bytes,14,opt,name=nickname,proto3" json:"nickname,omitempty"` //昵称 UserFaceURL string `protobuf:"bytes,15,opt,name=userFaceURL,proto3" json:"userFaceURL,omitempty"` //用户头像 Gender int32 `protobuf:"varint,16,opt,name=gender,proto3" json:"gender,omitempty"` //性别 Code string `protobuf:"bytes,17,opt,name=code,proto3" json:"code,omitempty"` //邀请码 HandleResult int32 `protobuf:"varint,18,opt,name=handleResult,proto3" json:"handleResult,omitempty"` //处理方法 ReqMsg string `protobuf:"bytes,19,opt,name=reqMsg,proto3" json:"reqMsg,omitempty"` //请求消息 HandledMsg string `protobuf:"bytes,20,opt,name=handledMsg,proto3" json:"handledMsg,omitempty"` //处理消息 ReqTime int64 `protobuf:"varint,21,opt,name=reqTime,proto3" json:"reqTime,omitempty"` //请求时间 HandleUserID string `protobuf:"bytes,22,opt,name=handleUserID,proto3" json:"handleUserID,omitempty"` //处理人 HandledTime int64 `protobuf:"varint,23,opt,name=handledTime,proto3" json:"handledTime,omitempty"` //处理时间 Ex string `protobuf:"bytes,24,opt,name=ex,proto3" json:"ex,omitempty"` //扩展 AttachedInfo string `protobuf:"bytes,25,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"` //附加信息 JoinSource int32 `protobuf:"varint,26,opt,name=joinSource,proto3" json:"joinSource,omitempty"` //加入来源 InviterUserID string `protobuf:"bytes,27,opt,name=inviterUserID,proto3" json:"inviterUserID,omitempty"` //邀请人 // contains filtered or unexported fields }
func (*GroupRequestInfo) Descriptor
deprecated
func (*GroupRequestInfo) Descriptor() ([]byte, []int)
Deprecated: Use GroupRequestInfo.ProtoReflect.Descriptor instead.
func (*GroupRequestInfo) GetAttachedInfo ¶
func (x *GroupRequestInfo) GetAttachedInfo() string
func (*GroupRequestInfo) GetCode ¶
func (x *GroupRequestInfo) GetCode() string
func (*GroupRequestInfo) GetCreateTime ¶
func (x *GroupRequestInfo) GetCreateTime() int64
func (*GroupRequestInfo) GetCreatorUserID ¶
func (x *GroupRequestInfo) GetCreatorUserID() string
func (*GroupRequestInfo) GetEx ¶
func (x *GroupRequestInfo) GetEx() string
func (*GroupRequestInfo) GetGender ¶
func (x *GroupRequestInfo) GetGender() int32
func (*GroupRequestInfo) GetGroupCode ¶
func (x *GroupRequestInfo) GetGroupCode() string
func (*GroupRequestInfo) GetGroupFaceURL ¶
func (x *GroupRequestInfo) GetGroupFaceURL() string
func (*GroupRequestInfo) GetGroupID ¶
func (x *GroupRequestInfo) GetGroupID() string
func (*GroupRequestInfo) GetGroupName ¶
func (x *GroupRequestInfo) GetGroupName() string
func (*GroupRequestInfo) GetGroupType ¶
func (x *GroupRequestInfo) GetGroupType() int32
func (*GroupRequestInfo) GetHandleResult ¶
func (x *GroupRequestInfo) GetHandleResult() int32
func (*GroupRequestInfo) GetHandleUserID ¶
func (x *GroupRequestInfo) GetHandleUserID() string
func (*GroupRequestInfo) GetHandledMsg ¶
func (x *GroupRequestInfo) GetHandledMsg() string
func (*GroupRequestInfo) GetHandledTime ¶
func (x *GroupRequestInfo) GetHandledTime() int64
func (*GroupRequestInfo) GetIntroduction ¶
func (x *GroupRequestInfo) GetIntroduction() string
func (*GroupRequestInfo) GetInviterUserID ¶
func (x *GroupRequestInfo) GetInviterUserID() string
func (*GroupRequestInfo) GetJoinSource ¶
func (x *GroupRequestInfo) GetJoinSource() int32
func (*GroupRequestInfo) GetMemberCount ¶
func (x *GroupRequestInfo) GetMemberCount() int32
func (*GroupRequestInfo) GetNickname ¶
func (x *GroupRequestInfo) GetNickname() string
func (*GroupRequestInfo) GetNotification ¶
func (x *GroupRequestInfo) GetNotification() string
func (*GroupRequestInfo) GetOwnerUserID ¶
func (x *GroupRequestInfo) GetOwnerUserID() string
func (*GroupRequestInfo) GetReqMsg ¶
func (x *GroupRequestInfo) GetReqMsg() string
func (*GroupRequestInfo) GetReqTime ¶
func (x *GroupRequestInfo) GetReqTime() int64
func (*GroupRequestInfo) GetStatus ¶
func (x *GroupRequestInfo) GetStatus() int32
func (*GroupRequestInfo) GetUserFaceURL ¶
func (x *GroupRequestInfo) GetUserFaceURL() string
func (*GroupRequestInfo) GetUserID ¶
func (x *GroupRequestInfo) GetUserID() string
func (*GroupRequestInfo) ProtoMessage ¶
func (*GroupRequestInfo) ProtoMessage()
func (*GroupRequestInfo) ProtoReflect ¶
func (x *GroupRequestInfo) ProtoReflect() protoreflect.Message
func (*GroupRequestInfo) Reset ¶
func (x *GroupRequestInfo) Reset()
func (*GroupRequestInfo) String ¶
func (x *GroupRequestInfo) String() string
func (*GroupRequestInfo) Validate ¶
func (m *GroupRequestInfo) Validate() error
Validate checks the field values on GroupRequestInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GroupRequestInfo) ValidateAll ¶
func (m *GroupRequestInfo) ValidateAll() error
ValidateAll checks the field values on GroupRequestInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupRequestInfoMultiError, or nil if none found.
type GroupRequestInfoMultiError ¶
type GroupRequestInfoMultiError []error
GroupRequestInfoMultiError is an error wrapping multiple validation errors returned by GroupRequestInfo.ValidateAll() if the designated constraints aren't met.
func (GroupRequestInfoMultiError) AllErrors ¶
func (m GroupRequestInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupRequestInfoMultiError) Error ¶
func (m GroupRequestInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupRequestInfoValidationError ¶
type GroupRequestInfoValidationError struct {
// contains filtered or unexported fields
}
GroupRequestInfoValidationError is the validation error returned by GroupRequestInfo.Validate if the designated constraints aren't met.
func (GroupRequestInfoValidationError) Cause ¶
func (e GroupRequestInfoValidationError) Cause() error
Cause function returns cause value.
func (GroupRequestInfoValidationError) Error ¶
func (e GroupRequestInfoValidationError) Error() string
Error satisfies the builtin error interface
func (GroupRequestInfoValidationError) ErrorName ¶
func (e GroupRequestInfoValidationError) ErrorName() string
ErrorName returns error name.
func (GroupRequestInfoValidationError) Field ¶
func (e GroupRequestInfoValidationError) Field() string
Field function returns field value.
func (GroupRequestInfoValidationError) Key ¶
func (e GroupRequestInfoValidationError) Key() bool
Key function returns key value.
func (GroupRequestInfoValidationError) Reason ¶
func (e GroupRequestInfoValidationError) Reason() string
Reason function returns reason value.
type MemberInfo ¶
type MemberInfo struct { GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` //群ID UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` //用户ID RoleLevel int32 `protobuf:"varint,3,opt,name=roleLevel,proto3" json:"roleLevel,omitempty"` //用户等级 JoinTime int64 `protobuf:"varint,4,opt,name=joinTime,proto3" json:"joinTime,omitempty"` //加群时间 Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` //用户昵称 FaceUrl string `protobuf:"bytes,6,opt,name=faceUrl,proto3" json:"faceUrl,omitempty"` //头像 AttachedInfo string `protobuf:"bytes,7,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"` //附加信息 JoinSource int32 `protobuf:"varint,8,opt,name=joinSource,proto3" json:"joinSource,omitempty"` //来源 OperatorUserID string `protobuf:"bytes,9,opt,name=operatorUserID,proto3" json:"operatorUserID,omitempty"` //操作人id Ex string `protobuf:"bytes,10,opt,name=ex,proto3" json:"ex,omitempty"` //扩展 MuteEndTime int64 `protobuf:"varint,11,opt,name=muteEndTime,proto3" json:"muteEndTime,omitempty"` //禁言时间 Message string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"` //签名 Code string `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` //邀请码 Phone string `protobuf:"bytes,14,opt,name=phone,proto3" json:"phone,omitempty"` //手机号 Email string `protobuf:"bytes,15,opt,name=email,proto3" json:"email,omitempty"` //邮箱 Birth int64 `protobuf:"varint,16,opt,name=birth,proto3" json:"birth,omitempty"` //生日 Gender int32 `protobuf:"varint,17,opt,name=gender,proto3" json:"gender,omitempty"` //性别 InviterUserID string `protobuf:"bytes,18,opt,name=inviterUserID,proto3" json:"inviterUserID,omitempty"` //邀请人 GroupUserName string `protobuf:"bytes,19,opt,name=groupUserName,proto3" json:"groupUserName,omitempty"` //用户在群中的昵称 BackgroundUrl string `protobuf:"bytes,20,opt,name=backgroundUrl,proto3" json:"backgroundUrl,omitempty"` //背景图片 UpdateAt int64 `protobuf:"varint,21,opt,name=updateAt,proto3" json:"updateAt,omitempty"` //更新时间 // contains filtered or unexported fields }
群成员信息
func (*MemberInfo) Descriptor
deprecated
func (*MemberInfo) Descriptor() ([]byte, []int)
Deprecated: Use MemberInfo.ProtoReflect.Descriptor instead.
func (*MemberInfo) GetAttachedInfo ¶
func (x *MemberInfo) GetAttachedInfo() string
func (*MemberInfo) GetBackgroundUrl ¶
func (x *MemberInfo) GetBackgroundUrl() string
func (*MemberInfo) GetBirth ¶
func (x *MemberInfo) GetBirth() int64
func (*MemberInfo) GetCode ¶
func (x *MemberInfo) GetCode() string
func (*MemberInfo) GetEmail ¶
func (x *MemberInfo) GetEmail() string
func (*MemberInfo) GetEx ¶
func (x *MemberInfo) GetEx() string
func (*MemberInfo) GetFaceUrl ¶
func (x *MemberInfo) GetFaceUrl() string
func (*MemberInfo) GetGender ¶
func (x *MemberInfo) GetGender() int32
func (*MemberInfo) GetGroupID ¶
func (x *MemberInfo) GetGroupID() string
func (*MemberInfo) GetGroupUserName ¶
func (x *MemberInfo) GetGroupUserName() string
func (*MemberInfo) GetInviterUserID ¶
func (x *MemberInfo) GetInviterUserID() string
func (*MemberInfo) GetJoinSource ¶
func (x *MemberInfo) GetJoinSource() int32
func (*MemberInfo) GetJoinTime ¶
func (x *MemberInfo) GetJoinTime() int64
func (*MemberInfo) GetMessage ¶
func (x *MemberInfo) GetMessage() string
func (*MemberInfo) GetMuteEndTime ¶
func (x *MemberInfo) GetMuteEndTime() int64
func (*MemberInfo) GetNickname ¶
func (x *MemberInfo) GetNickname() string
func (*MemberInfo) GetOperatorUserID ¶
func (x *MemberInfo) GetOperatorUserID() string
func (*MemberInfo) GetPhone ¶
func (x *MemberInfo) GetPhone() string
func (*MemberInfo) GetRoleLevel ¶
func (x *MemberInfo) GetRoleLevel() int32
func (*MemberInfo) GetUpdateAt ¶
func (x *MemberInfo) GetUpdateAt() int64
func (*MemberInfo) GetUserID ¶
func (x *MemberInfo) GetUserID() string
func (*MemberInfo) ProtoMessage ¶
func (*MemberInfo) ProtoMessage()
func (*MemberInfo) ProtoReflect ¶
func (x *MemberInfo) ProtoReflect() protoreflect.Message
func (*MemberInfo) Reset ¶
func (x *MemberInfo) Reset()
func (*MemberInfo) String ¶
func (x *MemberInfo) String() string
func (*MemberInfo) Validate ¶
func (m *MemberInfo) Validate() error
Validate checks the field values on MemberInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MemberInfo) ValidateAll ¶
func (m *MemberInfo) ValidateAll() error
ValidateAll checks the field values on MemberInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MemberInfoMultiError, or nil if none found.
type MemberInfoMultiError ¶
type MemberInfoMultiError []error
MemberInfoMultiError is an error wrapping multiple validation errors returned by MemberInfo.ValidateAll() if the designated constraints aren't met.
func (MemberInfoMultiError) AllErrors ¶
func (m MemberInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemberInfoMultiError) Error ¶
func (m MemberInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemberInfoValidationError ¶
type MemberInfoValidationError struct {
// contains filtered or unexported fields
}
MemberInfoValidationError is the validation error returned by MemberInfo.Validate if the designated constraints aren't met.
func (MemberInfoValidationError) Cause ¶
func (e MemberInfoValidationError) Cause() error
Cause function returns cause value.
func (MemberInfoValidationError) Error ¶
func (e MemberInfoValidationError) Error() string
Error satisfies the builtin error interface
func (MemberInfoValidationError) ErrorName ¶
func (e MemberInfoValidationError) ErrorName() string
ErrorName returns error name.
func (MemberInfoValidationError) Field ¶
func (e MemberInfoValidationError) Field() string
Field function returns field value.
func (MemberInfoValidationError) Key ¶
func (e MemberInfoValidationError) Key() bool
Key function returns key value.
func (MemberInfoValidationError) Reason ¶
func (e MemberInfoValidationError) Reason() string
Reason function returns reason value.