2785 lines
88 KiB
Go
2785 lines
88 KiB
Go
//*
|
|
// Copyright (C) 2019 Open Whisper Systems
|
|
//
|
|
// Licensed according to the LICENSE file in this repository.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.35.2
|
|
// protoc v3.21.12
|
|
// source: Groups.proto
|
|
|
|
package signalpb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
import _ "embed"
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Member_Role int32
|
|
|
|
const (
|
|
Member_UNKNOWN Member_Role = 0
|
|
Member_DEFAULT Member_Role = 1
|
|
Member_ADMINISTRATOR Member_Role = 2
|
|
)
|
|
|
|
// Enum value maps for Member_Role.
|
|
var (
|
|
Member_Role_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "DEFAULT",
|
|
2: "ADMINISTRATOR",
|
|
}
|
|
Member_Role_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"DEFAULT": 1,
|
|
"ADMINISTRATOR": 2,
|
|
}
|
|
)
|
|
|
|
func (x Member_Role) Enum() *Member_Role {
|
|
p := new(Member_Role)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Member_Role) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Member_Role) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_Groups_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (Member_Role) Type() protoreflect.EnumType {
|
|
return &file_Groups_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x Member_Role) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Member_Role.Descriptor instead.
|
|
func (Member_Role) EnumDescriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
type AccessControl_AccessRequired int32
|
|
|
|
const (
|
|
AccessControl_UNKNOWN AccessControl_AccessRequired = 0
|
|
AccessControl_ANY AccessControl_AccessRequired = 1
|
|
AccessControl_MEMBER AccessControl_AccessRequired = 2
|
|
AccessControl_ADMINISTRATOR AccessControl_AccessRequired = 3
|
|
AccessControl_UNSATISFIABLE AccessControl_AccessRequired = 4
|
|
)
|
|
|
|
// Enum value maps for AccessControl_AccessRequired.
|
|
var (
|
|
AccessControl_AccessRequired_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "ANY",
|
|
2: "MEMBER",
|
|
3: "ADMINISTRATOR",
|
|
4: "UNSATISFIABLE",
|
|
}
|
|
AccessControl_AccessRequired_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"ANY": 1,
|
|
"MEMBER": 2,
|
|
"ADMINISTRATOR": 3,
|
|
"UNSATISFIABLE": 4,
|
|
}
|
|
)
|
|
|
|
func (x AccessControl_AccessRequired) Enum() *AccessControl_AccessRequired {
|
|
p := new(AccessControl_AccessRequired)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AccessControl_AccessRequired) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AccessControl_AccessRequired) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_Groups_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (AccessControl_AccessRequired) Type() protoreflect.EnumType {
|
|
return &file_Groups_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x AccessControl_AccessRequired) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AccessControl_AccessRequired.Descriptor instead.
|
|
func (AccessControl_AccessRequired) EnumDescriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{5, 0}
|
|
}
|
|
|
|
type AvatarUploadAttributes struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Credential string `protobuf:"bytes,2,opt,name=credential,proto3" json:"credential,omitempty"`
|
|
Acl string `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"`
|
|
Algorithm string `protobuf:"bytes,4,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
|
|
Date string `protobuf:"bytes,5,opt,name=date,proto3" json:"date,omitempty"`
|
|
Policy string `protobuf:"bytes,6,opt,name=policy,proto3" json:"policy,omitempty"`
|
|
Signature string `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
}
|
|
|
|
func (x *AvatarUploadAttributes) Reset() {
|
|
*x = AvatarUploadAttributes{}
|
|
mi := &file_Groups_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AvatarUploadAttributes) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AvatarUploadAttributes) ProtoMessage() {}
|
|
|
|
func (x *AvatarUploadAttributes) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AvatarUploadAttributes.ProtoReflect.Descriptor instead.
|
|
func (*AvatarUploadAttributes) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *AvatarUploadAttributes) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AvatarUploadAttributes) GetCredential() string {
|
|
if x != nil {
|
|
return x.Credential
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AvatarUploadAttributes) GetAcl() string {
|
|
if x != nil {
|
|
return x.Acl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AvatarUploadAttributes) GetAlgorithm() string {
|
|
if x != nil {
|
|
return x.Algorithm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AvatarUploadAttributes) GetDate() string {
|
|
if x != nil {
|
|
return x.Date
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AvatarUploadAttributes) GetPolicy() string {
|
|
if x != nil {
|
|
return x.Policy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AvatarUploadAttributes) GetSignature() string {
|
|
if x != nil {
|
|
return x.Signature
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Member struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserId []byte `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
Role Member_Role `protobuf:"varint,2,opt,name=role,proto3,enum=Member_Role" json:"role,omitempty"`
|
|
ProfileKey []byte `protobuf:"bytes,3,opt,name=profileKey,proto3" json:"profileKey,omitempty"`
|
|
Presentation []byte `protobuf:"bytes,4,opt,name=presentation,proto3" json:"presentation,omitempty"` // Only set when sending to server
|
|
JoinedAtRevision uint32 `protobuf:"varint,5,opt,name=joinedAtRevision,proto3" json:"joinedAtRevision,omitempty"`
|
|
}
|
|
|
|
func (x *Member) Reset() {
|
|
*x = Member{}
|
|
mi := &file_Groups_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Member) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Member) ProtoMessage() {}
|
|
|
|
func (x *Member) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Member.ProtoReflect.Descriptor instead.
|
|
func (*Member) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Member) GetUserId() []byte {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Member) GetRole() Member_Role {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return Member_UNKNOWN
|
|
}
|
|
|
|
func (x *Member) GetProfileKey() []byte {
|
|
if x != nil {
|
|
return x.ProfileKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Member) GetPresentation() []byte {
|
|
if x != nil {
|
|
return x.Presentation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Member) GetJoinedAtRevision() uint32 {
|
|
if x != nil {
|
|
return x.JoinedAtRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PendingMember struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Member *Member `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
|
|
AddedByUserId []byte `protobuf:"bytes,2,opt,name=addedByUserId,proto3" json:"addedByUserId,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
}
|
|
|
|
func (x *PendingMember) Reset() {
|
|
*x = PendingMember{}
|
|
mi := &file_Groups_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PendingMember) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingMember) ProtoMessage() {}
|
|
|
|
func (x *PendingMember) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PendingMember.ProtoReflect.Descriptor instead.
|
|
func (*PendingMember) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *PendingMember) GetMember() *Member {
|
|
if x != nil {
|
|
return x.Member
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingMember) GetAddedByUserId() []byte {
|
|
if x != nil {
|
|
return x.AddedByUserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingMember) GetTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RequestingMember struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserId []byte `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
ProfileKey []byte `protobuf:"bytes,2,opt,name=profileKey,proto3" json:"profileKey,omitempty"`
|
|
Presentation []byte `protobuf:"bytes,3,opt,name=presentation,proto3" json:"presentation,omitempty"` // Only set when sending to server
|
|
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
}
|
|
|
|
func (x *RequestingMember) Reset() {
|
|
*x = RequestingMember{}
|
|
mi := &file_Groups_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequestingMember) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequestingMember) ProtoMessage() {}
|
|
|
|
func (x *RequestingMember) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RequestingMember.ProtoReflect.Descriptor instead.
|
|
func (*RequestingMember) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RequestingMember) GetUserId() []byte {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RequestingMember) GetProfileKey() []byte {
|
|
if x != nil {
|
|
return x.ProfileKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RequestingMember) GetPresentation() []byte {
|
|
if x != nil {
|
|
return x.Presentation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RequestingMember) GetTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BannedMember struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserId []byte `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
}
|
|
|
|
func (x *BannedMember) Reset() {
|
|
*x = BannedMember{}
|
|
mi := &file_Groups_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BannedMember) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BannedMember) ProtoMessage() {}
|
|
|
|
func (x *BannedMember) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BannedMember.ProtoReflect.Descriptor instead.
|
|
func (*BannedMember) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *BannedMember) GetUserId() []byte {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BannedMember) GetTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AccessControl struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Attributes AccessControl_AccessRequired `protobuf:"varint,1,opt,name=attributes,proto3,enum=AccessControl_AccessRequired" json:"attributes,omitempty"`
|
|
Members AccessControl_AccessRequired `protobuf:"varint,2,opt,name=members,proto3,enum=AccessControl_AccessRequired" json:"members,omitempty"`
|
|
AddFromInviteLink AccessControl_AccessRequired `protobuf:"varint,3,opt,name=addFromInviteLink,proto3,enum=AccessControl_AccessRequired" json:"addFromInviteLink,omitempty"`
|
|
}
|
|
|
|
func (x *AccessControl) Reset() {
|
|
*x = AccessControl{}
|
|
mi := &file_Groups_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessControl) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessControl) ProtoMessage() {}
|
|
|
|
func (x *AccessControl) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccessControl.ProtoReflect.Descriptor instead.
|
|
func (*AccessControl) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *AccessControl) GetAttributes() AccessControl_AccessRequired {
|
|
if x != nil {
|
|
return x.Attributes
|
|
}
|
|
return AccessControl_UNKNOWN
|
|
}
|
|
|
|
func (x *AccessControl) GetMembers() AccessControl_AccessRequired {
|
|
if x != nil {
|
|
return x.Members
|
|
}
|
|
return AccessControl_UNKNOWN
|
|
}
|
|
|
|
func (x *AccessControl) GetAddFromInviteLink() AccessControl_AccessRequired {
|
|
if x != nil {
|
|
return x.AddFromInviteLink
|
|
}
|
|
return AccessControl_UNKNOWN
|
|
}
|
|
|
|
type Group struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
|
|
Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
DisappearingMessagesTimer []byte `protobuf:"bytes,4,opt,name=disappearingMessagesTimer,proto3" json:"disappearingMessagesTimer,omitempty"`
|
|
AccessControl *AccessControl `protobuf:"bytes,5,opt,name=accessControl,proto3" json:"accessControl,omitempty"`
|
|
Revision uint32 `protobuf:"varint,6,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
Members []*Member `protobuf:"bytes,7,rep,name=members,proto3" json:"members,omitempty"`
|
|
PendingMembers []*PendingMember `protobuf:"bytes,8,rep,name=pendingMembers,proto3" json:"pendingMembers,omitempty"`
|
|
RequestingMembers []*RequestingMember `protobuf:"bytes,9,rep,name=requestingMembers,proto3" json:"requestingMembers,omitempty"`
|
|
InviteLinkPassword []byte `protobuf:"bytes,10,opt,name=inviteLinkPassword,proto3" json:"inviteLinkPassword,omitempty"`
|
|
Description []byte `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
|
|
AnnouncementsOnly bool `protobuf:"varint,12,opt,name=announcementsOnly,proto3" json:"announcementsOnly,omitempty"`
|
|
BannedMembers []*BannedMember `protobuf:"bytes,13,rep,name=bannedMembers,proto3" json:"bannedMembers,omitempty"`
|
|
}
|
|
|
|
func (x *Group) Reset() {
|
|
*x = Group{}
|
|
mi := &file_Groups_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Group) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Group) ProtoMessage() {}
|
|
|
|
func (x *Group) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Group.ProtoReflect.Descriptor instead.
|
|
func (*Group) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *Group) GetPublicKey() []byte {
|
|
if x != nil {
|
|
return x.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Group) GetTitle() []byte {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Group) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Group) GetDisappearingMessagesTimer() []byte {
|
|
if x != nil {
|
|
return x.DisappearingMessagesTimer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Group) GetAccessControl() *AccessControl {
|
|
if x != nil {
|
|
return x.AccessControl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Group) GetRevision() uint32 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Group) GetMembers() []*Member {
|
|
if x != nil {
|
|
return x.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Group) GetPendingMembers() []*PendingMember {
|
|
if x != nil {
|
|
return x.PendingMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Group) GetRequestingMembers() []*RequestingMember {
|
|
if x != nil {
|
|
return x.RequestingMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Group) GetInviteLinkPassword() []byte {
|
|
if x != nil {
|
|
return x.InviteLinkPassword
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Group) GetDescription() []byte {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Group) GetAnnouncementsOnly() bool {
|
|
if x != nil {
|
|
return x.AnnouncementsOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Group) GetBannedMembers() []*BannedMember {
|
|
if x != nil {
|
|
return x.BannedMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Actions []byte `protobuf:"bytes,1,opt,name=actions,proto3" json:"actions,omitempty"`
|
|
ServerSignature []byte `protobuf:"bytes,2,opt,name=serverSignature,proto3" json:"serverSignature,omitempty"`
|
|
ChangeEpoch uint32 `protobuf:"varint,3,opt,name=changeEpoch,proto3" json:"changeEpoch,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange) Reset() {
|
|
*x = GroupChange{}
|
|
mi := &file_Groups_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange) ProtoMessage() {}
|
|
|
|
func (x *GroupChange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GroupChange) GetActions() []byte {
|
|
if x != nil {
|
|
return x.Actions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange) GetServerSignature() []byte {
|
|
if x != nil {
|
|
return x.ServerSignature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange) GetChangeEpoch() uint32 {
|
|
if x != nil {
|
|
return x.ChangeEpoch
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GroupResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
|
GroupSendEndorsementsResponse []byte `protobuf:"bytes,2,opt,name=groupSendEndorsementsResponse,proto3" json:"groupSendEndorsementsResponse,omitempty"`
|
|
}
|
|
|
|
func (x *GroupResponse) Reset() {
|
|
*x = GroupResponse{}
|
|
mi := &file_Groups_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupResponse) ProtoMessage() {}
|
|
|
|
func (x *GroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*GroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GroupResponse) GetGroup() *Group {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupResponse) GetGroupSendEndorsementsResponse() []byte {
|
|
if x != nil {
|
|
return x.GroupSendEndorsementsResponse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChanges struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GroupChanges []*GroupChanges_GroupChangeState `protobuf:"bytes,1,rep,name=groupChanges,proto3" json:"groupChanges,omitempty"`
|
|
GroupSendEndorsementsResponse []byte `protobuf:"bytes,2,opt,name=groupSendEndorsementsResponse,proto3" json:"groupSendEndorsementsResponse,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChanges) Reset() {
|
|
*x = GroupChanges{}
|
|
mi := &file_Groups_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChanges) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChanges) ProtoMessage() {}
|
|
|
|
func (x *GroupChanges) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChanges.ProtoReflect.Descriptor instead.
|
|
func (*GroupChanges) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GroupChanges) GetGroupChanges() []*GroupChanges_GroupChangeState {
|
|
if x != nil {
|
|
return x.GroupChanges
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChanges) GetGroupSendEndorsementsResponse() []byte {
|
|
if x != nil {
|
|
return x.GroupSendEndorsementsResponse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChangeResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GroupChange *GroupChange `protobuf:"bytes,1,opt,name=groupChange,proto3" json:"groupChange,omitempty"`
|
|
GroupSendEndorsementsResponse []byte `protobuf:"bytes,2,opt,name=groupSendEndorsementsResponse,proto3" json:"groupSendEndorsementsResponse,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChangeResponse) Reset() {
|
|
*x = GroupChangeResponse{}
|
|
mi := &file_Groups_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChangeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChangeResponse) ProtoMessage() {}
|
|
|
|
func (x *GroupChangeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChangeResponse.ProtoReflect.Descriptor instead.
|
|
func (*GroupChangeResponse) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GroupChangeResponse) GetGroupChange() *GroupChange {
|
|
if x != nil {
|
|
return x.GroupChange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChangeResponse) GetGroupSendEndorsementsResponse() []byte {
|
|
if x != nil {
|
|
return x.GroupSendEndorsementsResponse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupAttributeBlob struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Content:
|
|
//
|
|
// *GroupAttributeBlob_Title
|
|
// *GroupAttributeBlob_Avatar
|
|
// *GroupAttributeBlob_DisappearingMessagesDuration
|
|
// *GroupAttributeBlob_Description
|
|
Content isGroupAttributeBlob_Content `protobuf_oneof:"content"`
|
|
}
|
|
|
|
func (x *GroupAttributeBlob) Reset() {
|
|
*x = GroupAttributeBlob{}
|
|
mi := &file_Groups_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupAttributeBlob) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupAttributeBlob) ProtoMessage() {}
|
|
|
|
func (x *GroupAttributeBlob) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupAttributeBlob.ProtoReflect.Descriptor instead.
|
|
func (*GroupAttributeBlob) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (m *GroupAttributeBlob) GetContent() isGroupAttributeBlob_Content {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupAttributeBlob) GetTitle() string {
|
|
if x, ok := x.GetContent().(*GroupAttributeBlob_Title); ok {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GroupAttributeBlob) GetAvatar() []byte {
|
|
if x, ok := x.GetContent().(*GroupAttributeBlob_Avatar); ok {
|
|
return x.Avatar
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupAttributeBlob) GetDisappearingMessagesDuration() uint32 {
|
|
if x, ok := x.GetContent().(*GroupAttributeBlob_DisappearingMessagesDuration); ok {
|
|
return x.DisappearingMessagesDuration
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupAttributeBlob) GetDescription() string {
|
|
if x, ok := x.GetContent().(*GroupAttributeBlob_Description); ok {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type isGroupAttributeBlob_Content interface {
|
|
isGroupAttributeBlob_Content()
|
|
}
|
|
|
|
type GroupAttributeBlob_Title struct {
|
|
Title string `protobuf:"bytes,1,opt,name=title,proto3,oneof"`
|
|
}
|
|
|
|
type GroupAttributeBlob_Avatar struct {
|
|
Avatar []byte `protobuf:"bytes,2,opt,name=avatar,proto3,oneof"`
|
|
}
|
|
|
|
type GroupAttributeBlob_DisappearingMessagesDuration struct {
|
|
DisappearingMessagesDuration uint32 `protobuf:"varint,3,opt,name=disappearingMessagesDuration,proto3,oneof"`
|
|
}
|
|
|
|
type GroupAttributeBlob_Description struct {
|
|
Description string `protobuf:"bytes,4,opt,name=description,proto3,oneof"`
|
|
}
|
|
|
|
func (*GroupAttributeBlob_Title) isGroupAttributeBlob_Content() {}
|
|
|
|
func (*GroupAttributeBlob_Avatar) isGroupAttributeBlob_Content() {}
|
|
|
|
func (*GroupAttributeBlob_DisappearingMessagesDuration) isGroupAttributeBlob_Content() {}
|
|
|
|
func (*GroupAttributeBlob_Description) isGroupAttributeBlob_Content() {}
|
|
|
|
type GroupInviteLink struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Contents:
|
|
//
|
|
// *GroupInviteLink_V1Contents
|
|
Contents isGroupInviteLink_Contents `protobuf_oneof:"contents"`
|
|
}
|
|
|
|
func (x *GroupInviteLink) Reset() {
|
|
*x = GroupInviteLink{}
|
|
mi := &file_Groups_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupInviteLink) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupInviteLink) ProtoMessage() {}
|
|
|
|
func (x *GroupInviteLink) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupInviteLink.ProtoReflect.Descriptor instead.
|
|
func (*GroupInviteLink) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (m *GroupInviteLink) GetContents() isGroupInviteLink_Contents {
|
|
if m != nil {
|
|
return m.Contents
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupInviteLink) GetV1Contents() *GroupInviteLink_GroupInviteLinkContentsV1 {
|
|
if x, ok := x.GetContents().(*GroupInviteLink_V1Contents); ok {
|
|
return x.V1Contents
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isGroupInviteLink_Contents interface {
|
|
isGroupInviteLink_Contents()
|
|
}
|
|
|
|
type GroupInviteLink_V1Contents struct {
|
|
V1Contents *GroupInviteLink_GroupInviteLinkContentsV1 `protobuf:"bytes,1,opt,name=v1Contents,proto3,oneof"`
|
|
}
|
|
|
|
func (*GroupInviteLink_V1Contents) isGroupInviteLink_Contents() {}
|
|
|
|
type GroupJoinInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
|
|
Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
MemberCount uint32 `protobuf:"varint,4,opt,name=memberCount,proto3" json:"memberCount,omitempty"`
|
|
AddFromInviteLink AccessControl_AccessRequired `protobuf:"varint,5,opt,name=addFromInviteLink,proto3,enum=AccessControl_AccessRequired" json:"addFromInviteLink,omitempty"`
|
|
Revision uint32 `protobuf:"varint,6,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
PendingAdminApproval bool `protobuf:"varint,7,opt,name=pendingAdminApproval,proto3" json:"pendingAdminApproval,omitempty"`
|
|
Description []byte `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
|
|
}
|
|
|
|
func (x *GroupJoinInfo) Reset() {
|
|
*x = GroupJoinInfo{}
|
|
mi := &file_Groups_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupJoinInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupJoinInfo) ProtoMessage() {}
|
|
|
|
func (x *GroupJoinInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupJoinInfo.ProtoReflect.Descriptor instead.
|
|
func (*GroupJoinInfo) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *GroupJoinInfo) GetPublicKey() []byte {
|
|
if x != nil {
|
|
return x.PublicKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupJoinInfo) GetTitle() []byte {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupJoinInfo) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GroupJoinInfo) GetMemberCount() uint32 {
|
|
if x != nil {
|
|
return x.MemberCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupJoinInfo) GetAddFromInviteLink() AccessControl_AccessRequired {
|
|
if x != nil {
|
|
return x.AddFromInviteLink
|
|
}
|
|
return AccessControl_UNKNOWN
|
|
}
|
|
|
|
func (x *GroupJoinInfo) GetRevision() uint32 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupJoinInfo) GetPendingAdminApproval() bool {
|
|
if x != nil {
|
|
return x.PendingAdminApproval
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GroupJoinInfo) GetDescription() []byte {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupExternalCredential struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
}
|
|
|
|
func (x *GroupExternalCredential) Reset() {
|
|
*x = GroupExternalCredential{}
|
|
mi := &file_Groups_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupExternalCredential) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupExternalCredential) ProtoMessage() {}
|
|
|
|
func (x *GroupExternalCredential) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupExternalCredential.ProtoReflect.Descriptor instead.
|
|
func (*GroupExternalCredential) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *GroupExternalCredential) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GroupChange_Actions struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SourceServiceId []byte `protobuf:"bytes,1,opt,name=sourceServiceId,proto3" json:"sourceServiceId,omitempty"`
|
|
Revision uint32 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
AddMembers []*GroupChange_Actions_AddMemberAction `protobuf:"bytes,3,rep,name=addMembers,proto3" json:"addMembers,omitempty"`
|
|
DeleteMembers []*GroupChange_Actions_DeleteMemberAction `protobuf:"bytes,4,rep,name=deleteMembers,proto3" json:"deleteMembers,omitempty"`
|
|
ModifyMemberRoles []*GroupChange_Actions_ModifyMemberRoleAction `protobuf:"bytes,5,rep,name=modifyMemberRoles,proto3" json:"modifyMemberRoles,omitempty"`
|
|
ModifyMemberProfileKeys []*GroupChange_Actions_ModifyMemberProfileKeyAction `protobuf:"bytes,6,rep,name=modifyMemberProfileKeys,proto3" json:"modifyMemberProfileKeys,omitempty"`
|
|
AddPendingMembers []*GroupChange_Actions_AddPendingMemberAction `protobuf:"bytes,7,rep,name=addPendingMembers,proto3" json:"addPendingMembers,omitempty"`
|
|
DeletePendingMembers []*GroupChange_Actions_DeletePendingMemberAction `protobuf:"bytes,8,rep,name=deletePendingMembers,proto3" json:"deletePendingMembers,omitempty"`
|
|
PromotePendingMembers []*GroupChange_Actions_PromotePendingMemberAction `protobuf:"bytes,9,rep,name=promotePendingMembers,proto3" json:"promotePendingMembers,omitempty"`
|
|
ModifyTitle *GroupChange_Actions_ModifyTitleAction `protobuf:"bytes,10,opt,name=modifyTitle,proto3" json:"modifyTitle,omitempty"`
|
|
ModifyAvatar *GroupChange_Actions_ModifyAvatarAction `protobuf:"bytes,11,opt,name=modifyAvatar,proto3" json:"modifyAvatar,omitempty"`
|
|
ModifyDisappearingMessagesTimer *GroupChange_Actions_ModifyDisappearingMessagesTimerAction `protobuf:"bytes,12,opt,name=modifyDisappearingMessagesTimer,proto3" json:"modifyDisappearingMessagesTimer,omitempty"`
|
|
ModifyAttributesAccess *GroupChange_Actions_ModifyAttributesAccessControlAction `protobuf:"bytes,13,opt,name=modifyAttributesAccess,proto3" json:"modifyAttributesAccess,omitempty"`
|
|
ModifyMemberAccess *GroupChange_Actions_ModifyMembersAccessControlAction `protobuf:"bytes,14,opt,name=modifyMemberAccess,proto3" json:"modifyMemberAccess,omitempty"`
|
|
ModifyAddFromInviteLinkAccess *GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction `protobuf:"bytes,15,opt,name=modifyAddFromInviteLinkAccess,proto3" json:"modifyAddFromInviteLinkAccess,omitempty"`
|
|
AddRequestingMembers []*GroupChange_Actions_AddRequestingMemberAction `protobuf:"bytes,16,rep,name=addRequestingMembers,proto3" json:"addRequestingMembers,omitempty"`
|
|
DeleteRequestingMembers []*GroupChange_Actions_DeleteRequestingMemberAction `protobuf:"bytes,17,rep,name=deleteRequestingMembers,proto3" json:"deleteRequestingMembers,omitempty"`
|
|
PromoteRequestingMembers []*GroupChange_Actions_PromoteRequestingMemberAction `protobuf:"bytes,18,rep,name=promoteRequestingMembers,proto3" json:"promoteRequestingMembers,omitempty"`
|
|
ModifyInviteLinkPassword *GroupChange_Actions_ModifyInviteLinkPasswordAction `protobuf:"bytes,19,opt,name=modifyInviteLinkPassword,proto3" json:"modifyInviteLinkPassword,omitempty"`
|
|
ModifyDescription *GroupChange_Actions_ModifyDescriptionAction `protobuf:"bytes,20,opt,name=modifyDescription,proto3" json:"modifyDescription,omitempty"`
|
|
ModifyAnnouncementsOnly *GroupChange_Actions_ModifyAnnouncementsOnlyAction `protobuf:"bytes,21,opt,name=modifyAnnouncementsOnly,proto3" json:"modifyAnnouncementsOnly,omitempty"`
|
|
AddBannedMembers []*GroupChange_Actions_AddBannedMemberAction `protobuf:"bytes,22,rep,name=addBannedMembers,proto3" json:"addBannedMembers,omitempty"`
|
|
DeleteBannedMembers []*GroupChange_Actions_DeleteBannedMemberAction `protobuf:"bytes,23,rep,name=deleteBannedMembers,proto3" json:"deleteBannedMembers,omitempty"`
|
|
PromotePendingPniAciMembers []*GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction `protobuf:"bytes,24,rep,name=promotePendingPniAciMembers,proto3" json:"promotePendingPniAciMembers,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions) Reset() {
|
|
*x = GroupChange_Actions{}
|
|
mi := &file_Groups_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0}
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetSourceServiceId() []byte {
|
|
if x != nil {
|
|
return x.SourceServiceId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetRevision() uint32 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetAddMembers() []*GroupChange_Actions_AddMemberAction {
|
|
if x != nil {
|
|
return x.AddMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetDeleteMembers() []*GroupChange_Actions_DeleteMemberAction {
|
|
if x != nil {
|
|
return x.DeleteMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyMemberRoles() []*GroupChange_Actions_ModifyMemberRoleAction {
|
|
if x != nil {
|
|
return x.ModifyMemberRoles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyMemberProfileKeys() []*GroupChange_Actions_ModifyMemberProfileKeyAction {
|
|
if x != nil {
|
|
return x.ModifyMemberProfileKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetAddPendingMembers() []*GroupChange_Actions_AddPendingMemberAction {
|
|
if x != nil {
|
|
return x.AddPendingMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetDeletePendingMembers() []*GroupChange_Actions_DeletePendingMemberAction {
|
|
if x != nil {
|
|
return x.DeletePendingMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetPromotePendingMembers() []*GroupChange_Actions_PromotePendingMemberAction {
|
|
if x != nil {
|
|
return x.PromotePendingMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyTitle() *GroupChange_Actions_ModifyTitleAction {
|
|
if x != nil {
|
|
return x.ModifyTitle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyAvatar() *GroupChange_Actions_ModifyAvatarAction {
|
|
if x != nil {
|
|
return x.ModifyAvatar
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyDisappearingMessagesTimer() *GroupChange_Actions_ModifyDisappearingMessagesTimerAction {
|
|
if x != nil {
|
|
return x.ModifyDisappearingMessagesTimer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyAttributesAccess() *GroupChange_Actions_ModifyAttributesAccessControlAction {
|
|
if x != nil {
|
|
return x.ModifyAttributesAccess
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyMemberAccess() *GroupChange_Actions_ModifyMembersAccessControlAction {
|
|
if x != nil {
|
|
return x.ModifyMemberAccess
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyAddFromInviteLinkAccess() *GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction {
|
|
if x != nil {
|
|
return x.ModifyAddFromInviteLinkAccess
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetAddRequestingMembers() []*GroupChange_Actions_AddRequestingMemberAction {
|
|
if x != nil {
|
|
return x.AddRequestingMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetDeleteRequestingMembers() []*GroupChange_Actions_DeleteRequestingMemberAction {
|
|
if x != nil {
|
|
return x.DeleteRequestingMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetPromoteRequestingMembers() []*GroupChange_Actions_PromoteRequestingMemberAction {
|
|
if x != nil {
|
|
return x.PromoteRequestingMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyInviteLinkPassword() *GroupChange_Actions_ModifyInviteLinkPasswordAction {
|
|
if x != nil {
|
|
return x.ModifyInviteLinkPassword
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyDescription() *GroupChange_Actions_ModifyDescriptionAction {
|
|
if x != nil {
|
|
return x.ModifyDescription
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetModifyAnnouncementsOnly() *GroupChange_Actions_ModifyAnnouncementsOnlyAction {
|
|
if x != nil {
|
|
return x.ModifyAnnouncementsOnly
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetAddBannedMembers() []*GroupChange_Actions_AddBannedMemberAction {
|
|
if x != nil {
|
|
return x.AddBannedMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetDeleteBannedMembers() []*GroupChange_Actions_DeleteBannedMemberAction {
|
|
if x != nil {
|
|
return x.DeleteBannedMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions) GetPromotePendingPniAciMembers() []*GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction {
|
|
if x != nil {
|
|
return x.PromotePendingPniAciMembers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_AddMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Added *Member `protobuf:"bytes,1,opt,name=added,proto3" json:"added,omitempty"`
|
|
JoinFromInviteLink bool `protobuf:"varint,2,opt,name=joinFromInviteLink,proto3" json:"joinFromInviteLink,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddMemberAction) Reset() {
|
|
*x = GroupChange_Actions_AddMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_AddMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_AddMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_AddMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_AddMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 0}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddMemberAction) GetAdded() *Member {
|
|
if x != nil {
|
|
return x.Added
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddMemberAction) GetJoinFromInviteLink() bool {
|
|
if x != nil {
|
|
return x.JoinFromInviteLink
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GroupChange_Actions_DeleteMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DeletedUserId []byte `protobuf:"bytes,1,opt,name=deletedUserId,proto3" json:"deletedUserId,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeleteMemberAction) Reset() {
|
|
*x = GroupChange_Actions_DeleteMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeleteMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_DeleteMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_DeleteMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_DeleteMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_DeleteMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 1}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeleteMemberAction) GetDeletedUserId() []byte {
|
|
if x != nil {
|
|
return x.DeletedUserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyMemberRoleAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserId []byte `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
Role Member_Role `protobuf:"varint,2,opt,name=role,proto3,enum=Member_Role" json:"role,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberRoleAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyMemberRoleAction{}
|
|
mi := &file_Groups_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberRoleAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyMemberRoleAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberRoleAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyMemberRoleAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyMemberRoleAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 2}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberRoleAction) GetUserId() []byte {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberRoleAction) GetRole() Member_Role {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return Member_UNKNOWN
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyMemberProfileKeyAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Presentation []byte `protobuf:"bytes,1,opt,name=presentation,proto3" json:"presentation,omitempty"` // Only set when sending to server
|
|
UserId []byte `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Only set when receiving from server
|
|
ProfileKey []byte `protobuf:"bytes,3,opt,name=profile_key,json=profileKey,proto3" json:"profile_key,omitempty"` // Only set when receiving from server
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberProfileKeyAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyMemberProfileKeyAction{}
|
|
mi := &file_Groups_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberProfileKeyAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyMemberProfileKeyAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberProfileKeyAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyMemberProfileKeyAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyMemberProfileKeyAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 3}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberProfileKeyAction) GetPresentation() []byte {
|
|
if x != nil {
|
|
return x.Presentation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberProfileKeyAction) GetUserId() []byte {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMemberProfileKeyAction) GetProfileKey() []byte {
|
|
if x != nil {
|
|
return x.ProfileKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_AddPendingMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Added *PendingMember `protobuf:"bytes,1,opt,name=added,proto3" json:"added,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddPendingMemberAction) Reset() {
|
|
*x = GroupChange_Actions_AddPendingMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddPendingMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_AddPendingMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_AddPendingMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_AddPendingMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_AddPendingMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 4}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddPendingMemberAction) GetAdded() *PendingMember {
|
|
if x != nil {
|
|
return x.Added
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_DeletePendingMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DeletedUserId []byte `protobuf:"bytes,1,opt,name=deletedUserId,proto3" json:"deletedUserId,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeletePendingMemberAction) Reset() {
|
|
*x = GroupChange_Actions_DeletePendingMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeletePendingMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_DeletePendingMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_DeletePendingMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_DeletePendingMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_DeletePendingMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 5}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeletePendingMemberAction) GetDeletedUserId() []byte {
|
|
if x != nil {
|
|
return x.DeletedUserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_PromotePendingMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Presentation []byte `protobuf:"bytes,1,opt,name=presentation,proto3" json:"presentation,omitempty"` // Only set when sending to server
|
|
UserId []byte `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Only set when receiving from server
|
|
ProfileKey []byte `protobuf:"bytes,3,opt,name=profile_key,json=profileKey,proto3" json:"profile_key,omitempty"` // Only set when receiving from server
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingMemberAction) Reset() {
|
|
*x = GroupChange_Actions_PromotePendingMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_PromotePendingMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_PromotePendingMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_PromotePendingMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 6}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingMemberAction) GetPresentation() []byte {
|
|
if x != nil {
|
|
return x.Presentation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingMemberAction) GetUserId() []byte {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingMemberAction) GetProfileKey() []byte {
|
|
if x != nil {
|
|
return x.ProfileKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Presentation []byte `protobuf:"bytes,1,opt,name=presentation,proto3" json:"presentation,omitempty"` // Only set when sending to server
|
|
UserId []byte `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // Only set when receiving from server
|
|
Pni []byte `protobuf:"bytes,3,opt,name=pni,proto3" json:"pni,omitempty"` // Only set when receiving from server
|
|
ProfileKey []byte `protobuf:"bytes,4,opt,name=profileKey,proto3" json:"profileKey,omitempty"` // Only set when receiving from server
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction) Reset() {
|
|
*x = GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction{}
|
|
mi := &file_Groups_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 7}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction) GetPresentation() []byte {
|
|
if x != nil {
|
|
return x.Presentation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction) GetUserId() []byte {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction) GetPni() []byte {
|
|
if x != nil {
|
|
return x.Pni
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction) GetProfileKey() []byte {
|
|
if x != nil {
|
|
return x.ProfileKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_AddRequestingMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Added *RequestingMember `protobuf:"bytes,1,opt,name=added,proto3" json:"added,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddRequestingMemberAction) Reset() {
|
|
*x = GroupChange_Actions_AddRequestingMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddRequestingMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_AddRequestingMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_AddRequestingMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_AddRequestingMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_AddRequestingMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 8}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddRequestingMemberAction) GetAdded() *RequestingMember {
|
|
if x != nil {
|
|
return x.Added
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_DeleteRequestingMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DeletedUserId []byte `protobuf:"bytes,1,opt,name=deletedUserId,proto3" json:"deletedUserId,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeleteRequestingMemberAction) Reset() {
|
|
*x = GroupChange_Actions_DeleteRequestingMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeleteRequestingMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_DeleteRequestingMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_DeleteRequestingMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_DeleteRequestingMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_DeleteRequestingMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 9}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeleteRequestingMemberAction) GetDeletedUserId() []byte {
|
|
if x != nil {
|
|
return x.DeletedUserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_PromoteRequestingMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
UserId []byte `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
Role Member_Role `protobuf:"varint,2,opt,name=role,proto3,enum=Member_Role" json:"role,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromoteRequestingMemberAction) Reset() {
|
|
*x = GroupChange_Actions_PromoteRequestingMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromoteRequestingMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_PromoteRequestingMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_PromoteRequestingMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_PromoteRequestingMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_PromoteRequestingMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 10}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromoteRequestingMemberAction) GetUserId() []byte {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChange_Actions_PromoteRequestingMemberAction) GetRole() Member_Role {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return Member_UNKNOWN
|
|
}
|
|
|
|
type GroupChange_Actions_AddBannedMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Added *BannedMember `protobuf:"bytes,1,opt,name=added,proto3" json:"added,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddBannedMemberAction) Reset() {
|
|
*x = GroupChange_Actions_AddBannedMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddBannedMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_AddBannedMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_AddBannedMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_AddBannedMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_AddBannedMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 11}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_AddBannedMemberAction) GetAdded() *BannedMember {
|
|
if x != nil {
|
|
return x.Added
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_DeleteBannedMemberAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DeletedUserId []byte `protobuf:"bytes,1,opt,name=deletedUserId,proto3" json:"deletedUserId,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeleteBannedMemberAction) Reset() {
|
|
*x = GroupChange_Actions_DeleteBannedMemberAction{}
|
|
mi := &file_Groups_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeleteBannedMemberAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_DeleteBannedMemberAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_DeleteBannedMemberAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_DeleteBannedMemberAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_DeleteBannedMemberAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 12}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_DeleteBannedMemberAction) GetDeletedUserId() []byte {
|
|
if x != nil {
|
|
return x.DeletedUserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyTitleAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Title []byte `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyTitleAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyTitleAction{}
|
|
mi := &file_Groups_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyTitleAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyTitleAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyTitleAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyTitleAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyTitleAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 13}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyTitleAction) GetTitle() []byte {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyDescriptionAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Description []byte `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyDescriptionAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyDescriptionAction{}
|
|
mi := &file_Groups_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyDescriptionAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyDescriptionAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyDescriptionAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyDescriptionAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyDescriptionAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 14}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyDescriptionAction) GetDescription() []byte {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyAvatarAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Avatar string `protobuf:"bytes,1,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAvatarAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyAvatarAction{}
|
|
mi := &file_Groups_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAvatarAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyAvatarAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyAvatarAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyAvatarAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyAvatarAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 15}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAvatarAction) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyDisappearingMessagesTimerAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Timer []byte `protobuf:"bytes,1,opt,name=timer,proto3" json:"timer,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyDisappearingMessagesTimerAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyDisappearingMessagesTimerAction{}
|
|
mi := &file_Groups_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyDisappearingMessagesTimerAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyDisappearingMessagesTimerAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyDisappearingMessagesTimerAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyDisappearingMessagesTimerAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyDisappearingMessagesTimerAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 16}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyDisappearingMessagesTimerAction) GetTimer() []byte {
|
|
if x != nil {
|
|
return x.Timer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyAttributesAccessControlAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AttributesAccess AccessControl_AccessRequired `protobuf:"varint,1,opt,name=attributesAccess,proto3,enum=AccessControl_AccessRequired" json:"attributesAccess,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAttributesAccessControlAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyAttributesAccessControlAction{}
|
|
mi := &file_Groups_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAttributesAccessControlAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyAttributesAccessControlAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyAttributesAccessControlAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyAttributesAccessControlAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyAttributesAccessControlAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 17}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAttributesAccessControlAction) GetAttributesAccess() AccessControl_AccessRequired {
|
|
if x != nil {
|
|
return x.AttributesAccess
|
|
}
|
|
return AccessControl_UNKNOWN
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyMembersAccessControlAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
MembersAccess AccessControl_AccessRequired `protobuf:"varint,1,opt,name=membersAccess,proto3,enum=AccessControl_AccessRequired" json:"membersAccess,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMembersAccessControlAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyMembersAccessControlAction{}
|
|
mi := &file_Groups_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMembersAccessControlAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyMembersAccessControlAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyMembersAccessControlAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyMembersAccessControlAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyMembersAccessControlAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 18}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyMembersAccessControlAction) GetMembersAccess() AccessControl_AccessRequired {
|
|
if x != nil {
|
|
return x.MembersAccess
|
|
}
|
|
return AccessControl_UNKNOWN
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AddFromInviteLinkAccess AccessControl_AccessRequired `protobuf:"varint,1,opt,name=addFromInviteLinkAccess,proto3,enum=AccessControl_AccessRequired" json:"addFromInviteLinkAccess,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction{}
|
|
mi := &file_Groups_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 19}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction) GetAddFromInviteLinkAccess() AccessControl_AccessRequired {
|
|
if x != nil {
|
|
return x.AddFromInviteLinkAccess
|
|
}
|
|
return AccessControl_UNKNOWN
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyInviteLinkPasswordAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
InviteLinkPassword []byte `protobuf:"bytes,1,opt,name=inviteLinkPassword,proto3" json:"inviteLinkPassword,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyInviteLinkPasswordAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyInviteLinkPasswordAction{}
|
|
mi := &file_Groups_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyInviteLinkPasswordAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyInviteLinkPasswordAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyInviteLinkPasswordAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyInviteLinkPasswordAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyInviteLinkPasswordAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 20}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyInviteLinkPasswordAction) GetInviteLinkPassword() []byte {
|
|
if x != nil {
|
|
return x.InviteLinkPassword
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupChange_Actions_ModifyAnnouncementsOnlyAction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AnnouncementsOnly bool `protobuf:"varint,1,opt,name=announcementsOnly,proto3" json:"announcementsOnly,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAnnouncementsOnlyAction) Reset() {
|
|
*x = GroupChange_Actions_ModifyAnnouncementsOnlyAction{}
|
|
mi := &file_Groups_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAnnouncementsOnlyAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChange_Actions_ModifyAnnouncementsOnlyAction) ProtoMessage() {}
|
|
|
|
func (x *GroupChange_Actions_ModifyAnnouncementsOnlyAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChange_Actions_ModifyAnnouncementsOnlyAction.ProtoReflect.Descriptor instead.
|
|
func (*GroupChange_Actions_ModifyAnnouncementsOnlyAction) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{7, 0, 21}
|
|
}
|
|
|
|
func (x *GroupChange_Actions_ModifyAnnouncementsOnlyAction) GetAnnouncementsOnly() bool {
|
|
if x != nil {
|
|
return x.AnnouncementsOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GroupChanges_GroupChangeState struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GroupChange *GroupChange `protobuf:"bytes,1,opt,name=groupChange,proto3" json:"groupChange,omitempty"`
|
|
GroupState *Group `protobuf:"bytes,2,opt,name=groupState,proto3" json:"groupState,omitempty"`
|
|
}
|
|
|
|
func (x *GroupChanges_GroupChangeState) Reset() {
|
|
*x = GroupChanges_GroupChangeState{}
|
|
mi := &file_Groups_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupChanges_GroupChangeState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupChanges_GroupChangeState) ProtoMessage() {}
|
|
|
|
func (x *GroupChanges_GroupChangeState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupChanges_GroupChangeState.ProtoReflect.Descriptor instead.
|
|
func (*GroupChanges_GroupChangeState) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{9, 0}
|
|
}
|
|
|
|
func (x *GroupChanges_GroupChangeState) GetGroupChange() *GroupChange {
|
|
if x != nil {
|
|
return x.GroupChange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupChanges_GroupChangeState) GetGroupState() *Group {
|
|
if x != nil {
|
|
return x.GroupState
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GroupInviteLink_GroupInviteLinkContentsV1 struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GroupMasterKey []byte `protobuf:"bytes,1,opt,name=groupMasterKey,proto3" json:"groupMasterKey,omitempty"`
|
|
InviteLinkPassword []byte `protobuf:"bytes,2,opt,name=inviteLinkPassword,proto3" json:"inviteLinkPassword,omitempty"`
|
|
}
|
|
|
|
func (x *GroupInviteLink_GroupInviteLinkContentsV1) Reset() {
|
|
*x = GroupInviteLink_GroupInviteLinkContentsV1{}
|
|
mi := &file_Groups_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupInviteLink_GroupInviteLinkContentsV1) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupInviteLink_GroupInviteLinkContentsV1) ProtoMessage() {}
|
|
|
|
func (x *GroupInviteLink_GroupInviteLinkContentsV1) ProtoReflect() protoreflect.Message {
|
|
mi := &file_Groups_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupInviteLink_GroupInviteLinkContentsV1.ProtoReflect.Descriptor instead.
|
|
func (*GroupInviteLink_GroupInviteLinkContentsV1) Descriptor() ([]byte, []int) {
|
|
return file_Groups_proto_rawDescGZIP(), []int{12, 0}
|
|
}
|
|
|
|
func (x *GroupInviteLink_GroupInviteLinkContentsV1) GetGroupMasterKey() []byte {
|
|
if x != nil {
|
|
return x.GroupMasterKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GroupInviteLink_GroupInviteLinkContentsV1) GetInviteLinkPassword() []byte {
|
|
if x != nil {
|
|
return x.InviteLinkPassword
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_Groups_proto protoreflect.FileDescriptor
|
|
|
|
//go:embed Groups.pb.raw
|
|
var file_Groups_proto_rawDesc []byte
|
|
|
|
var (
|
|
file_Groups_proto_rawDescOnce sync.Once
|
|
file_Groups_proto_rawDescData = file_Groups_proto_rawDesc
|
|
)
|
|
|
|
func file_Groups_proto_rawDescGZIP() []byte {
|
|
file_Groups_proto_rawDescOnce.Do(func() {
|
|
file_Groups_proto_rawDescData = protoimpl.X.CompressGZIP(file_Groups_proto_rawDescData)
|
|
})
|
|
return file_Groups_proto_rawDescData
|
|
}
|
|
|
|
var file_Groups_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_Groups_proto_msgTypes = make([]protoimpl.MessageInfo, 40)
|
|
var file_Groups_proto_goTypes = []any{
|
|
(Member_Role)(0), // 0: Member.Role
|
|
(AccessControl_AccessRequired)(0), // 1: AccessControl.AccessRequired
|
|
(*AvatarUploadAttributes)(nil), // 2: AvatarUploadAttributes
|
|
(*Member)(nil), // 3: Member
|
|
(*PendingMember)(nil), // 4: PendingMember
|
|
(*RequestingMember)(nil), // 5: RequestingMember
|
|
(*BannedMember)(nil), // 6: BannedMember
|
|
(*AccessControl)(nil), // 7: AccessControl
|
|
(*Group)(nil), // 8: Group
|
|
(*GroupChange)(nil), // 9: GroupChange
|
|
(*GroupResponse)(nil), // 10: GroupResponse
|
|
(*GroupChanges)(nil), // 11: GroupChanges
|
|
(*GroupChangeResponse)(nil), // 12: GroupChangeResponse
|
|
(*GroupAttributeBlob)(nil), // 13: GroupAttributeBlob
|
|
(*GroupInviteLink)(nil), // 14: GroupInviteLink
|
|
(*GroupJoinInfo)(nil), // 15: GroupJoinInfo
|
|
(*GroupExternalCredential)(nil), // 16: GroupExternalCredential
|
|
(*GroupChange_Actions)(nil), // 17: GroupChange.Actions
|
|
(*GroupChange_Actions_AddMemberAction)(nil), // 18: GroupChange.Actions.AddMemberAction
|
|
(*GroupChange_Actions_DeleteMemberAction)(nil), // 19: GroupChange.Actions.DeleteMemberAction
|
|
(*GroupChange_Actions_ModifyMemberRoleAction)(nil), // 20: GroupChange.Actions.ModifyMemberRoleAction
|
|
(*GroupChange_Actions_ModifyMemberProfileKeyAction)(nil), // 21: GroupChange.Actions.ModifyMemberProfileKeyAction
|
|
(*GroupChange_Actions_AddPendingMemberAction)(nil), // 22: GroupChange.Actions.AddPendingMemberAction
|
|
(*GroupChange_Actions_DeletePendingMemberAction)(nil), // 23: GroupChange.Actions.DeletePendingMemberAction
|
|
(*GroupChange_Actions_PromotePendingMemberAction)(nil), // 24: GroupChange.Actions.PromotePendingMemberAction
|
|
(*GroupChange_Actions_PromotePendingPniAciMemberProfileKeyAction)(nil), // 25: GroupChange.Actions.PromotePendingPniAciMemberProfileKeyAction
|
|
(*GroupChange_Actions_AddRequestingMemberAction)(nil), // 26: GroupChange.Actions.AddRequestingMemberAction
|
|
(*GroupChange_Actions_DeleteRequestingMemberAction)(nil), // 27: GroupChange.Actions.DeleteRequestingMemberAction
|
|
(*GroupChange_Actions_PromoteRequestingMemberAction)(nil), // 28: GroupChange.Actions.PromoteRequestingMemberAction
|
|
(*GroupChange_Actions_AddBannedMemberAction)(nil), // 29: GroupChange.Actions.AddBannedMemberAction
|
|
(*GroupChange_Actions_DeleteBannedMemberAction)(nil), // 30: GroupChange.Actions.DeleteBannedMemberAction
|
|
(*GroupChange_Actions_ModifyTitleAction)(nil), // 31: GroupChange.Actions.ModifyTitleAction
|
|
(*GroupChange_Actions_ModifyDescriptionAction)(nil), // 32: GroupChange.Actions.ModifyDescriptionAction
|
|
(*GroupChange_Actions_ModifyAvatarAction)(nil), // 33: GroupChange.Actions.ModifyAvatarAction
|
|
(*GroupChange_Actions_ModifyDisappearingMessagesTimerAction)(nil), // 34: GroupChange.Actions.ModifyDisappearingMessagesTimerAction
|
|
(*GroupChange_Actions_ModifyAttributesAccessControlAction)(nil), // 35: GroupChange.Actions.ModifyAttributesAccessControlAction
|
|
(*GroupChange_Actions_ModifyMembersAccessControlAction)(nil), // 36: GroupChange.Actions.ModifyMembersAccessControlAction
|
|
(*GroupChange_Actions_ModifyAddFromInviteLinkAccessControlAction)(nil), // 37: GroupChange.Actions.ModifyAddFromInviteLinkAccessControlAction
|
|
(*GroupChange_Actions_ModifyInviteLinkPasswordAction)(nil), // 38: GroupChange.Actions.ModifyInviteLinkPasswordAction
|
|
(*GroupChange_Actions_ModifyAnnouncementsOnlyAction)(nil), // 39: GroupChange.Actions.ModifyAnnouncementsOnlyAction
|
|
(*GroupChanges_GroupChangeState)(nil), // 40: GroupChanges.GroupChangeState
|
|
(*GroupInviteLink_GroupInviteLinkContentsV1)(nil), // 41: GroupInviteLink.GroupInviteLinkContentsV1
|
|
}
|
|
var file_Groups_proto_depIdxs = []int32{
|
|
0, // 0: Member.role:type_name -> Member.Role
|
|
3, // 1: PendingMember.member:type_name -> Member
|
|
1, // 2: AccessControl.attributes:type_name -> AccessControl.AccessRequired
|
|
1, // 3: AccessControl.members:type_name -> AccessControl.AccessRequired
|
|
1, // 4: AccessControl.addFromInviteLink:type_name -> AccessControl.AccessRequired
|
|
7, // 5: Group.accessControl:type_name -> AccessControl
|
|
3, // 6: Group.members:type_name -> Member
|
|
4, // 7: Group.pendingMembers:type_name -> PendingMember
|
|
5, // 8: Group.requestingMembers:type_name -> RequestingMember
|
|
6, // 9: Group.bannedMembers:type_name -> BannedMember
|
|
8, // 10: GroupResponse.group:type_name -> Group
|
|
40, // 11: GroupChanges.groupChanges:type_name -> GroupChanges.GroupChangeState
|
|
9, // 12: GroupChangeResponse.groupChange:type_name -> GroupChange
|
|
41, // 13: GroupInviteLink.v1Contents:type_name -> GroupInviteLink.GroupInviteLinkContentsV1
|
|
1, // 14: GroupJoinInfo.addFromInviteLink:type_name -> AccessControl.AccessRequired
|
|
18, // 15: GroupChange.Actions.addMembers:type_name -> GroupChange.Actions.AddMemberAction
|
|
19, // 16: GroupChange.Actions.deleteMembers:type_name -> GroupChange.Actions.DeleteMemberAction
|
|
20, // 17: GroupChange.Actions.modifyMemberRoles:type_name -> GroupChange.Actions.ModifyMemberRoleAction
|
|
21, // 18: GroupChange.Actions.modifyMemberProfileKeys:type_name -> GroupChange.Actions.ModifyMemberProfileKeyAction
|
|
22, // 19: GroupChange.Actions.addPendingMembers:type_name -> GroupChange.Actions.AddPendingMemberAction
|
|
23, // 20: GroupChange.Actions.deletePendingMembers:type_name -> GroupChange.Actions.DeletePendingMemberAction
|
|
24, // 21: GroupChange.Actions.promotePendingMembers:type_name -> GroupChange.Actions.PromotePendingMemberAction
|
|
31, // 22: GroupChange.Actions.modifyTitle:type_name -> GroupChange.Actions.ModifyTitleAction
|
|
33, // 23: GroupChange.Actions.modifyAvatar:type_name -> GroupChange.Actions.ModifyAvatarAction
|
|
34, // 24: GroupChange.Actions.modifyDisappearingMessagesTimer:type_name -> GroupChange.Actions.ModifyDisappearingMessagesTimerAction
|
|
35, // 25: GroupChange.Actions.modifyAttributesAccess:type_name -> GroupChange.Actions.ModifyAttributesAccessControlAction
|
|
36, // 26: GroupChange.Actions.modifyMemberAccess:type_name -> GroupChange.Actions.ModifyMembersAccessControlAction
|
|
37, // 27: GroupChange.Actions.modifyAddFromInviteLinkAccess:type_name -> GroupChange.Actions.ModifyAddFromInviteLinkAccessControlAction
|
|
26, // 28: GroupChange.Actions.addRequestingMembers:type_name -> GroupChange.Actions.AddRequestingMemberAction
|
|
27, // 29: GroupChange.Actions.deleteRequestingMembers:type_name -> GroupChange.Actions.DeleteRequestingMemberAction
|
|
28, // 30: GroupChange.Actions.promoteRequestingMembers:type_name -> GroupChange.Actions.PromoteRequestingMemberAction
|
|
38, // 31: GroupChange.Actions.modifyInviteLinkPassword:type_name -> GroupChange.Actions.ModifyInviteLinkPasswordAction
|
|
32, // 32: GroupChange.Actions.modifyDescription:type_name -> GroupChange.Actions.ModifyDescriptionAction
|
|
39, // 33: GroupChange.Actions.modifyAnnouncementsOnly:type_name -> GroupChange.Actions.ModifyAnnouncementsOnlyAction
|
|
29, // 34: GroupChange.Actions.addBannedMembers:type_name -> GroupChange.Actions.AddBannedMemberAction
|
|
30, // 35: GroupChange.Actions.deleteBannedMembers:type_name -> GroupChange.Actions.DeleteBannedMemberAction
|
|
25, // 36: GroupChange.Actions.promotePendingPniAciMembers:type_name -> GroupChange.Actions.PromotePendingPniAciMemberProfileKeyAction
|
|
3, // 37: GroupChange.Actions.AddMemberAction.added:type_name -> Member
|
|
0, // 38: GroupChange.Actions.ModifyMemberRoleAction.role:type_name -> Member.Role
|
|
4, // 39: GroupChange.Actions.AddPendingMemberAction.added:type_name -> PendingMember
|
|
5, // 40: GroupChange.Actions.AddRequestingMemberAction.added:type_name -> RequestingMember
|
|
0, // 41: GroupChange.Actions.PromoteRequestingMemberAction.role:type_name -> Member.Role
|
|
6, // 42: GroupChange.Actions.AddBannedMemberAction.added:type_name -> BannedMember
|
|
1, // 43: GroupChange.Actions.ModifyAttributesAccessControlAction.attributesAccess:type_name -> AccessControl.AccessRequired
|
|
1, // 44: GroupChange.Actions.ModifyMembersAccessControlAction.membersAccess:type_name -> AccessControl.AccessRequired
|
|
1, // 45: GroupChange.Actions.ModifyAddFromInviteLinkAccessControlAction.addFromInviteLinkAccess:type_name -> AccessControl.AccessRequired
|
|
9, // 46: GroupChanges.GroupChangeState.groupChange:type_name -> GroupChange
|
|
8, // 47: GroupChanges.GroupChangeState.groupState:type_name -> Group
|
|
48, // [48:48] is the sub-list for method output_type
|
|
48, // [48:48] is the sub-list for method input_type
|
|
48, // [48:48] is the sub-list for extension type_name
|
|
48, // [48:48] is the sub-list for extension extendee
|
|
0, // [0:48] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_Groups_proto_init() }
|
|
func file_Groups_proto_init() {
|
|
if File_Groups_proto != nil {
|
|
return
|
|
}
|
|
file_Groups_proto_msgTypes[11].OneofWrappers = []any{
|
|
(*GroupAttributeBlob_Title)(nil),
|
|
(*GroupAttributeBlob_Avatar)(nil),
|
|
(*GroupAttributeBlob_DisappearingMessagesDuration)(nil),
|
|
(*GroupAttributeBlob_Description)(nil),
|
|
}
|
|
file_Groups_proto_msgTypes[12].OneofWrappers = []any{
|
|
(*GroupInviteLink_V1Contents)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_Groups_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 40,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_Groups_proto_goTypes,
|
|
DependencyIndexes: file_Groups_proto_depIdxs,
|
|
EnumInfos: file_Groups_proto_enumTypes,
|
|
MessageInfos: file_Groups_proto_msgTypes,
|
|
}.Build()
|
|
File_Groups_proto = out.File
|
|
file_Groups_proto_rawDesc = nil
|
|
file_Groups_proto_goTypes = nil
|
|
file_Groups_proto_depIdxs = nil
|
|
}
|