Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - func RegisterMessagingAPIServiceServer(s grpc.ServiceRegistrar, srv MessagingAPIServiceServer)
 - type AddUserContactsRequest
 - func (*AddUserContactsRequest) Descriptor() ([]byte, []int)deprecated
 - func (x *AddUserContactsRequest) GetUserContactsInput() []*UserContactsInput
 - func (*AddUserContactsRequest) ProtoMessage()
 - func (x *AddUserContactsRequest) ProtoReflect() protoreflect.Message
 - func (x *AddUserContactsRequest) Reset()
 - func (x *AddUserContactsRequest) String() string
 
- type AddUserContactsResponse
 - type ContactPhoneNumber
 - func (*ContactPhoneNumber) Descriptor() ([]byte, []int)deprecated
 - func (x *ContactPhoneNumber) GetLabel() string
 - func (x *ContactPhoneNumber) GetNumber() string
 - func (*ContactPhoneNumber) ProtoMessage()
 - func (x *ContactPhoneNumber) ProtoReflect() protoreflect.Message
 - func (x *ContactPhoneNumber) Reset()
 - func (x *ContactPhoneNumber) String() string
 
- type DeleteContactsRequest
 - type DeleteContactsResponse
 - type EmailTypeSignInVerificationCode
 - func (*EmailTypeSignInVerificationCode) Descriptor() ([]byte, []int)deprecated
 - func (x *EmailTypeSignInVerificationCode) GetRecipientEmail() string
 - func (x *EmailTypeSignInVerificationCode) GetVerificationCode() string
 - func (*EmailTypeSignInVerificationCode) ProtoMessage()
 - func (x *EmailTypeSignInVerificationCode) ProtoReflect() protoreflect.Message
 - func (x *EmailTypeSignInVerificationCode) Reset()
 - func (x *EmailTypeSignInVerificationCode) String() string
 
- type GetContactByIdRequest
 - func (*GetContactByIdRequest) Descriptor() ([]byte, []int)deprecated
 - func (x *GetContactByIdRequest) GetContactId() string
 - func (*GetContactByIdRequest) ProtoMessage()
 - func (x *GetContactByIdRequest) ProtoReflect() protoreflect.Message
 - func (x *GetContactByIdRequest) Reset()
 - func (x *GetContactByIdRequest) String() string
 
- type GetContactByIdResponse
 - func (*GetContactByIdResponse) Descriptor() ([]byte, []int)deprecated
 - func (x *GetContactByIdResponse) GetContact() *UserContact
 - func (*GetContactByIdResponse) ProtoMessage()
 - func (x *GetContactByIdResponse) ProtoReflect() protoreflect.Message
 - func (x *GetContactByIdResponse) Reset()
 - func (x *GetContactByIdResponse) String() string
 
- type GetUserContactsRequest
 - func (*GetUserContactsRequest) Descriptor() ([]byte, []int)deprecated
 - func (x *GetUserContactsRequest) GetCursor() *PageCursor
 - func (x *GetUserContactsRequest) GetSearchQuery() string
 - func (*GetUserContactsRequest) ProtoMessage()
 - func (x *GetUserContactsRequest) ProtoReflect() protoreflect.Message
 - func (x *GetUserContactsRequest) Reset()
 - func (x *GetUserContactsRequest) String() string
 
- type GetUserContactsResponse
 - func (*GetUserContactsResponse) Descriptor() ([]byte, []int)deprecated
 - func (x *GetUserContactsResponse) GetContacts() []*UserContact
 - func (x *GetUserContactsResponse) GetInfo() *PageInfo
 - func (*GetUserContactsResponse) ProtoMessage()
 - func (x *GetUserContactsResponse) ProtoReflect() protoreflect.Message
 - func (x *GetUserContactsResponse) Reset()
 - func (x *GetUserContactsResponse) String() string
 
- type MessagingAPIServiceClient
 - type MessagingAPIServiceServer
 - type NotifyAllRequest
 - func (*NotifyAllRequest) Descriptor() ([]byte, []int)deprecated
 - func (x *NotifyAllRequest) GetEntityId() string
 - func (x *NotifyAllRequest) GetNotifyType() NotifyType
 - func (*NotifyAllRequest) ProtoMessage()
 - func (x *NotifyAllRequest) ProtoReflect() protoreflect.Message
 - func (x *NotifyAllRequest) Reset()
 - func (x *NotifyAllRequest) String() string
 
- type NotifyAllResponse
 - type NotifyContactRequest
 - func (*NotifyContactRequest) Descriptor() ([]byte, []int)deprecated
 - func (x *NotifyContactRequest) GetEntityId() string
 - func (x *NotifyContactRequest) GetNotifyType() NotifyType
 - func (x *NotifyContactRequest) GetUserId() string
 - func (x *NotifyContactRequest) GetUserType() UserType
 - func (*NotifyContactRequest) ProtoMessage()
 - func (x *NotifyContactRequest) ProtoReflect() protoreflect.Message
 - func (x *NotifyContactRequest) Reset()
 - func (x *NotifyContactRequest) String() string
 
- type NotifyContactResponse
 - type NotifyType
 - type PageCursor
 - func (*PageCursor) Descriptor() ([]byte, []int)deprecated
 - func (x *PageCursor) GetDir() PageDir
 - func (x *PageCursor) GetLastId() string
 - func (x *PageCursor) GetLimit() uint32
 - func (*PageCursor) ProtoMessage()
 - func (x *PageCursor) ProtoReflect() protoreflect.Message
 - func (x *PageCursor) Reset()
 - func (x *PageCursor) String() string
 
- type PageDir
 - type PageInfo
 - func (*PageInfo) Descriptor() ([]byte, []int)deprecated
 - func (x *PageInfo) GetFirstId() string
 - func (x *PageInfo) GetHasNext() bool
 - func (x *PageInfo) GetHasPrev() bool
 - func (x *PageInfo) GetLastId() string
 - func (x *PageInfo) GetLength() uint32
 - func (*PageInfo) ProtoMessage()
 - func (x *PageInfo) ProtoReflect() protoreflect.Message
 - func (x *PageInfo) Reset()
 - func (x *PageInfo) String() string
 
- type SMSTypeSignInVerificationCode
 - func (*SMSTypeSignInVerificationCode) Descriptor() ([]byte, []int)deprecated
 - func (x *SMSTypeSignInVerificationCode) GetRecipientPhoneNumber() string
 - func (x *SMSTypeSignInVerificationCode) GetVerificationCode() string
 - func (*SMSTypeSignInVerificationCode) ProtoMessage()
 - func (x *SMSTypeSignInVerificationCode) ProtoReflect() protoreflect.Message
 - func (x *SMSTypeSignInVerificationCode) Reset()
 - func (x *SMSTypeSignInVerificationCode) String() string
 
- type SendEmailRequest
 - func (*SendEmailRequest) Descriptor() ([]byte, []int)deprecated
 - func (m *SendEmailRequest) GetEmailType() isSendEmailRequest_EmailType
 - func (x *SendEmailRequest) GetEmailTypeSignInVerificationCode() *EmailTypeSignInVerificationCode
 - func (*SendEmailRequest) ProtoMessage()
 - func (x *SendEmailRequest) ProtoReflect() protoreflect.Message
 - func (x *SendEmailRequest) Reset()
 - func (x *SendEmailRequest) String() string
 
- type SendEmailRequest_EmailTypeSignInVerificationCode
 - type SendEmailResponse
 - type SendSMSRequest
 - func (*SendSMSRequest) Descriptor() ([]byte, []int)deprecated
 - func (m *SendSMSRequest) GetSmsType() isSendSMSRequest_SmsType
 - func (x *SendSMSRequest) GetSmsTypeSignInVerificationCode() *SMSTypeSignInVerificationCode
 - func (*SendSMSRequest) ProtoMessage()
 - func (x *SendSMSRequest) ProtoReflect() protoreflect.Message
 - func (x *SendSMSRequest) Reset()
 - func (x *SendSMSRequest) String() string
 
- type SendSMSRequest_SmsTypeSignInVerificationCode
 - type SendSMSResponse
 - type UnimplementedMessagingAPIServiceServer
 - func (UnimplementedMessagingAPIServiceServer) AddUserContacts(context.Context, *AddUserContactsRequest) (*AddUserContactsResponse, error)
 - func (UnimplementedMessagingAPIServiceServer) DeleteContacts(context.Context, *DeleteContactsRequest) (*DeleteContactsResponse, error)
 - func (UnimplementedMessagingAPIServiceServer) GetContactById(context.Context, *GetContactByIdRequest) (*GetContactByIdResponse, error)
 - func (UnimplementedMessagingAPIServiceServer) GetUserContacts(context.Context, *GetUserContactsRequest) (*GetUserContactsResponse, error)
 - func (UnimplementedMessagingAPIServiceServer) NotifyAll(context.Context, *NotifyAllRequest) (*NotifyAllResponse, error)
 - func (UnimplementedMessagingAPIServiceServer) NotifyContact(context.Context, *NotifyContactRequest) (*NotifyContactResponse, error)
 - func (UnimplementedMessagingAPIServiceServer) SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error)
 - func (UnimplementedMessagingAPIServiceServer) SendSMS(context.Context, *SendSMSRequest) (*SendSMSResponse, error)
 
- type UnsafeMessagingAPIServiceServer
 - type UserContact
 - func (*UserContact) Descriptor() ([]byte, []int)deprecated
 - func (x *UserContact) GetId() string
 - func (x *UserContact) GetName() string
 - func (x *UserContact) GetPhone() *ContactPhoneNumber
 - func (*UserContact) ProtoMessage()
 - func (x *UserContact) ProtoReflect() protoreflect.Message
 - func (x *UserContact) Reset()
 - func (x *UserContact) String() string
 
- type UserContactsInput
 - func (*UserContactsInput) Descriptor() ([]byte, []int)deprecated
 - func (x *UserContactsInput) GetFamilyName() string
 - func (x *UserContactsInput) GetFullName() string
 - func (x *UserContactsInput) GetHasAvatar() bool
 - func (x *UserContactsInput) GetHasJobTitle() bool
 - func (x *UserContactsInput) GetPhoneNumber() []*ContactPhoneNumber
 - func (*UserContactsInput) ProtoMessage()
 - func (x *UserContactsInput) ProtoReflect() protoreflect.Message
 - func (x *UserContactsInput) Reset()
 - func (x *UserContactsInput) String() string
 
- type UserType
 
Constants ¶
This section is empty.
Variables ¶
var ( NotifyType_name = map[int32]string{ 0: "NOTIFY_TYPE_UNKNOWN_UNSPECIFIED", 1: "NOTIFY_TYPE_INVITE_CIRCLE", 2: "NOTIFY_TYPE_SHARE_POST", 3: "NOTIFY_TYPE_INVITE_FRIEND", 4: "NOTIFY_TYPE_ADD_FRIEND", 5: "NOTIFY_TYPE_INVITE_CHAT", 6: "NOTIFY_TYPE_TAG_POST", 7: "NOTIFY_TYPE_TAG_POLL_POST", } NotifyType_value = map[string]int32{ "NOTIFY_TYPE_UNKNOWN_UNSPECIFIED": 0, "NOTIFY_TYPE_INVITE_CIRCLE": 1, "NOTIFY_TYPE_SHARE_POST": 2, "NOTIFY_TYPE_INVITE_FRIEND": 3, "NOTIFY_TYPE_ADD_FRIEND": 4, "NOTIFY_TYPE_INVITE_CHAT": 5, "NOTIFY_TYPE_TAG_POST": 6, "NOTIFY_TYPE_TAG_POLL_POST": 7, } )
Enum value maps for NotifyType.
var ( PageDir_name = map[int32]string{ 0: "PAGE_DIR_ASC", 1: "PAGE_DIR_DESC", } PageDir_value = map[string]int32{ "PAGE_DIR_ASC": 0, "PAGE_DIR_DESC": 1, } )
Enum value maps for PageDir.
var ( UserType_name = map[int32]string{ 0: "USER_TYPE_UNKNOWN", 1: "USER_TYPE_PICNIC", 2: "USER_TYPE_CONTACT", } UserType_value = map[string]int32{ "USER_TYPE_UNKNOWN": 0, "USER_TYPE_PICNIC": 1, "USER_TYPE_CONTACT": 2, } )
Enum value maps for UserType.
var File_messaging_api_messaging_v1_messaging_proto protoreflect.FileDescriptor
    var MessagingAPIService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "messaging.v1.MessagingAPIService", HandlerType: (*MessagingAPIServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendSMS", Handler: _MessagingAPIService_SendSMS_Handler, }, { MethodName: "SendEmail", Handler: _MessagingAPIService_SendEmail_Handler, }, { MethodName: "AddUserContacts", Handler: _MessagingAPIService_AddUserContacts_Handler, }, { MethodName: "GetUserContacts", Handler: _MessagingAPIService_GetUserContacts_Handler, }, { MethodName: "NotifyContact", Handler: _MessagingAPIService_NotifyContact_Handler, }, { MethodName: "NotifyAll", Handler: _MessagingAPIService_NotifyAll_Handler, }, { MethodName: "DeleteContacts", Handler: _MessagingAPIService_DeleteContacts_Handler, }, { MethodName: "GetContactById", Handler: _MessagingAPIService_GetContactById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "messaging-api/messaging/v1/messaging.proto", }
MessagingAPIService_ServiceDesc is the grpc.ServiceDesc for MessagingAPIService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMessagingAPIServiceServer ¶
func RegisterMessagingAPIServiceServer(s grpc.ServiceRegistrar, srv MessagingAPIServiceServer)
Types ¶
type AddUserContactsRequest ¶
type AddUserContactsRequest struct {
	UserContactsInput []*UserContactsInput `protobuf:"bytes,1,rep,name=user_contacts_input,json=userContactsInput,proto3" json:"user_contacts_input,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*AddUserContactsRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AddUserContactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserContactsRequest.ProtoReflect.Descriptor instead.
func (*AddUserContactsRequest) GetUserContactsInput ¶
func (x *AddUserContactsRequest) GetUserContactsInput() []*UserContactsInput
func (*AddUserContactsRequest) ProtoMessage ¶
func (*AddUserContactsRequest) ProtoMessage()
func (*AddUserContactsRequest) ProtoReflect ¶
func (x *AddUserContactsRequest) ProtoReflect() protoreflect.Message
func (*AddUserContactsRequest) Reset ¶
func (x *AddUserContactsRequest) Reset()
func (*AddUserContactsRequest) String ¶
func (x *AddUserContactsRequest) String() string
type AddUserContactsResponse ¶
type AddUserContactsResponse struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*AddUserContactsResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AddUserContactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddUserContactsResponse.ProtoReflect.Descriptor instead.
func (*AddUserContactsResponse) ProtoMessage ¶
func (*AddUserContactsResponse) ProtoMessage()
func (*AddUserContactsResponse) ProtoReflect ¶
func (x *AddUserContactsResponse) ProtoReflect() protoreflect.Message
func (*AddUserContactsResponse) Reset ¶
func (x *AddUserContactsResponse) Reset()
func (*AddUserContactsResponse) String ¶
func (x *AddUserContactsResponse) String() string
type ContactPhoneNumber ¶
type ContactPhoneNumber struct {
	Label  string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Number string `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ContactPhoneNumber) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ContactPhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use ContactPhoneNumber.ProtoReflect.Descriptor instead.
func (*ContactPhoneNumber) GetLabel ¶
func (x *ContactPhoneNumber) GetLabel() string
func (*ContactPhoneNumber) GetNumber ¶
func (x *ContactPhoneNumber) GetNumber() string
func (*ContactPhoneNumber) ProtoMessage ¶
func (*ContactPhoneNumber) ProtoMessage()
func (*ContactPhoneNumber) ProtoReflect ¶
func (x *ContactPhoneNumber) ProtoReflect() protoreflect.Message
func (*ContactPhoneNumber) Reset ¶
func (x *ContactPhoneNumber) Reset()
func (*ContactPhoneNumber) String ¶
func (x *ContactPhoneNumber) String() string
type DeleteContactsRequest ¶
type DeleteContactsRequest struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*DeleteContactsRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*DeleteContactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteContactsRequest.ProtoReflect.Descriptor instead.
func (*DeleteContactsRequest) ProtoMessage ¶
func (*DeleteContactsRequest) ProtoMessage()
func (*DeleteContactsRequest) ProtoReflect ¶
func (x *DeleteContactsRequest) ProtoReflect() protoreflect.Message
func (*DeleteContactsRequest) Reset ¶
func (x *DeleteContactsRequest) Reset()
func (*DeleteContactsRequest) String ¶
func (x *DeleteContactsRequest) String() string
type DeleteContactsResponse ¶
type DeleteContactsResponse struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*DeleteContactsResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*DeleteContactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteContactsResponse.ProtoReflect.Descriptor instead.
func (*DeleteContactsResponse) ProtoMessage ¶
func (*DeleteContactsResponse) ProtoMessage()
func (*DeleteContactsResponse) ProtoReflect ¶
func (x *DeleteContactsResponse) ProtoReflect() protoreflect.Message
func (*DeleteContactsResponse) Reset ¶
func (x *DeleteContactsResponse) Reset()
func (*DeleteContactsResponse) String ¶
func (x *DeleteContactsResponse) String() string
type EmailTypeSignInVerificationCode ¶
type EmailTypeSignInVerificationCode struct {
	RecipientEmail   string `protobuf:"bytes,1,opt,name=recipient_email,json=recipientEmail,proto3" json:"recipient_email,omitempty"`
	VerificationCode string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*EmailTypeSignInVerificationCode) Descriptor
            deprecated
            
          
  
    
  
      
      func (*EmailTypeSignInVerificationCode) Descriptor() ([]byte, []int)
Deprecated: Use EmailTypeSignInVerificationCode.ProtoReflect.Descriptor instead.
func (*EmailTypeSignInVerificationCode) GetRecipientEmail ¶
func (x *EmailTypeSignInVerificationCode) GetRecipientEmail() string
func (*EmailTypeSignInVerificationCode) GetVerificationCode ¶
func (x *EmailTypeSignInVerificationCode) GetVerificationCode() string
func (*EmailTypeSignInVerificationCode) ProtoMessage ¶
func (*EmailTypeSignInVerificationCode) ProtoMessage()
func (*EmailTypeSignInVerificationCode) ProtoReflect ¶
func (x *EmailTypeSignInVerificationCode) ProtoReflect() protoreflect.Message
func (*EmailTypeSignInVerificationCode) Reset ¶
func (x *EmailTypeSignInVerificationCode) Reset()
func (*EmailTypeSignInVerificationCode) String ¶
func (x *EmailTypeSignInVerificationCode) String() string
type GetContactByIdRequest ¶
type GetContactByIdRequest struct {
	ContactId string `protobuf:"bytes,1,opt,name=contact_id,json=contactId,proto3" json:"contact_id,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*GetContactByIdRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*GetContactByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContactByIdRequest.ProtoReflect.Descriptor instead.
func (*GetContactByIdRequest) GetContactId ¶
func (x *GetContactByIdRequest) GetContactId() string
func (*GetContactByIdRequest) ProtoMessage ¶
func (*GetContactByIdRequest) ProtoMessage()
func (*GetContactByIdRequest) ProtoReflect ¶
func (x *GetContactByIdRequest) ProtoReflect() protoreflect.Message
func (*GetContactByIdRequest) Reset ¶
func (x *GetContactByIdRequest) Reset()
func (*GetContactByIdRequest) String ¶
func (x *GetContactByIdRequest) String() string
type GetContactByIdResponse ¶
type GetContactByIdResponse struct {
	Contact *UserContact `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*GetContactByIdResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*GetContactByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetContactByIdResponse.ProtoReflect.Descriptor instead.
func (*GetContactByIdResponse) GetContact ¶
func (x *GetContactByIdResponse) GetContact() *UserContact
func (*GetContactByIdResponse) ProtoMessage ¶
func (*GetContactByIdResponse) ProtoMessage()
func (*GetContactByIdResponse) ProtoReflect ¶
func (x *GetContactByIdResponse) ProtoReflect() protoreflect.Message
func (*GetContactByIdResponse) Reset ¶
func (x *GetContactByIdResponse) Reset()
func (*GetContactByIdResponse) String ¶
func (x *GetContactByIdResponse) String() string
type GetUserContactsRequest ¶
type GetUserContactsRequest struct {
	SearchQuery *string     `protobuf:"bytes,1,opt,name=search_query,json=searchQuery,proto3,oneof" json:"search_query,omitempty"`
	Cursor      *PageCursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*GetUserContactsRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*GetUserContactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserContactsRequest.ProtoReflect.Descriptor instead.
func (*GetUserContactsRequest) GetCursor ¶
func (x *GetUserContactsRequest) GetCursor() *PageCursor
func (*GetUserContactsRequest) GetSearchQuery ¶
func (x *GetUserContactsRequest) GetSearchQuery() string
func (*GetUserContactsRequest) ProtoMessage ¶
func (*GetUserContactsRequest) ProtoMessage()
func (*GetUserContactsRequest) ProtoReflect ¶
func (x *GetUserContactsRequest) ProtoReflect() protoreflect.Message
func (*GetUserContactsRequest) Reset ¶
func (x *GetUserContactsRequest) Reset()
func (*GetUserContactsRequest) String ¶
func (x *GetUserContactsRequest) String() string
type GetUserContactsResponse ¶
type GetUserContactsResponse struct {
	Contacts []*UserContact `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"`
	Info     *PageInfo      `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*GetUserContactsResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*GetUserContactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserContactsResponse.ProtoReflect.Descriptor instead.
func (*GetUserContactsResponse) GetContacts ¶
func (x *GetUserContactsResponse) GetContacts() []*UserContact
func (*GetUserContactsResponse) GetInfo ¶
func (x *GetUserContactsResponse) GetInfo() *PageInfo
func (*GetUserContactsResponse) ProtoMessage ¶
func (*GetUserContactsResponse) ProtoMessage()
func (*GetUserContactsResponse) ProtoReflect ¶
func (x *GetUserContactsResponse) ProtoReflect() protoreflect.Message
func (*GetUserContactsResponse) Reset ¶
func (x *GetUserContactsResponse) Reset()
func (*GetUserContactsResponse) String ¶
func (x *GetUserContactsResponse) String() string
type MessagingAPIServiceClient ¶
type MessagingAPIServiceClient interface {
	SendSMS(ctx context.Context, in *SendSMSRequest, opts ...grpc.CallOption) (*SendSMSResponse, error)
	SendEmail(ctx context.Context, in *SendEmailRequest, opts ...grpc.CallOption) (*SendEmailResponse, error)
	AddUserContacts(ctx context.Context, in *AddUserContactsRequest, opts ...grpc.CallOption) (*AddUserContactsResponse, error)
	GetUserContacts(ctx context.Context, in *GetUserContactsRequest, opts ...grpc.CallOption) (*GetUserContactsResponse, error)
	NotifyContact(ctx context.Context, in *NotifyContactRequest, opts ...grpc.CallOption) (*NotifyContactResponse, error)
	NotifyAll(ctx context.Context, in *NotifyAllRequest, opts ...grpc.CallOption) (*NotifyAllResponse, error)
	DeleteContacts(ctx context.Context, in *DeleteContactsRequest, opts ...grpc.CallOption) (*DeleteContactsResponse, error)
	GetContactById(ctx context.Context, in *GetContactByIdRequest, opts ...grpc.CallOption) (*GetContactByIdResponse, error)
}
    MessagingAPIServiceClient is the client API for MessagingAPIService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMessagingAPIServiceClient ¶
func NewMessagingAPIServiceClient(cc grpc.ClientConnInterface) MessagingAPIServiceClient
type MessagingAPIServiceServer ¶
type MessagingAPIServiceServer interface {
	SendSMS(context.Context, *SendSMSRequest) (*SendSMSResponse, error)
	SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error)
	AddUserContacts(context.Context, *AddUserContactsRequest) (*AddUserContactsResponse, error)
	GetUserContacts(context.Context, *GetUserContactsRequest) (*GetUserContactsResponse, error)
	NotifyContact(context.Context, *NotifyContactRequest) (*NotifyContactResponse, error)
	NotifyAll(context.Context, *NotifyAllRequest) (*NotifyAllResponse, error)
	DeleteContacts(context.Context, *DeleteContactsRequest) (*DeleteContactsResponse, error)
	GetContactById(context.Context, *GetContactByIdRequest) (*GetContactByIdResponse, error)
	// contains filtered or unexported methods
}
    MessagingAPIServiceServer is the server API for MessagingAPIService service. All implementations must embed UnimplementedMessagingAPIServiceServer for forward compatibility
type NotifyAllRequest ¶
type NotifyAllRequest struct {
	EntityId   *string    `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3,oneof" json:"entity_id,omitempty"`
	NotifyType NotifyType `protobuf:"varint,3,opt,name=notify_type,json=notifyType,proto3,enum=messaging.v1.NotifyType" json:"notify_type,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*NotifyAllRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*NotifyAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotifyAllRequest.ProtoReflect.Descriptor instead.
func (*NotifyAllRequest) GetEntityId ¶
func (x *NotifyAllRequest) GetEntityId() string
func (*NotifyAllRequest) GetNotifyType ¶
func (x *NotifyAllRequest) GetNotifyType() NotifyType
func (*NotifyAllRequest) ProtoMessage ¶
func (*NotifyAllRequest) ProtoMessage()
func (*NotifyAllRequest) ProtoReflect ¶
func (x *NotifyAllRequest) ProtoReflect() protoreflect.Message
func (*NotifyAllRequest) Reset ¶
func (x *NotifyAllRequest) Reset()
func (*NotifyAllRequest) String ¶
func (x *NotifyAllRequest) String() string
type NotifyAllResponse ¶
type NotifyAllResponse struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*NotifyAllResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*NotifyAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotifyAllResponse.ProtoReflect.Descriptor instead.
func (*NotifyAllResponse) ProtoMessage ¶
func (*NotifyAllResponse) ProtoMessage()
func (*NotifyAllResponse) ProtoReflect ¶
func (x *NotifyAllResponse) ProtoReflect() protoreflect.Message
func (*NotifyAllResponse) Reset ¶
func (x *NotifyAllResponse) Reset()
func (*NotifyAllResponse) String ¶
func (x *NotifyAllResponse) String() string
type NotifyContactRequest ¶
type NotifyContactRequest struct {
	UserId     string     `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	EntityId   *string    `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3,oneof" json:"entity_id,omitempty"`
	NotifyType NotifyType `protobuf:"varint,3,opt,name=notify_type,json=notifyType,proto3,enum=messaging.v1.NotifyType" json:"notify_type,omitempty"`
	UserType   UserType   `protobuf:"varint,4,opt,name=user_type,json=userType,proto3,enum=messaging.v1.UserType" json:"user_type,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*NotifyContactRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*NotifyContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotifyContactRequest.ProtoReflect.Descriptor instead.
func (*NotifyContactRequest) GetEntityId ¶
func (x *NotifyContactRequest) GetEntityId() string
func (*NotifyContactRequest) GetNotifyType ¶
func (x *NotifyContactRequest) GetNotifyType() NotifyType
func (*NotifyContactRequest) GetUserId ¶
func (x *NotifyContactRequest) GetUserId() string
func (*NotifyContactRequest) GetUserType ¶
func (x *NotifyContactRequest) GetUserType() UserType
func (*NotifyContactRequest) ProtoMessage ¶
func (*NotifyContactRequest) ProtoMessage()
func (*NotifyContactRequest) ProtoReflect ¶
func (x *NotifyContactRequest) ProtoReflect() protoreflect.Message
func (*NotifyContactRequest) Reset ¶
func (x *NotifyContactRequest) Reset()
func (*NotifyContactRequest) String ¶
func (x *NotifyContactRequest) String() string
type NotifyContactResponse ¶
type NotifyContactResponse struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*NotifyContactResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*NotifyContactResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotifyContactResponse.ProtoReflect.Descriptor instead.
func (*NotifyContactResponse) ProtoMessage ¶
func (*NotifyContactResponse) ProtoMessage()
func (*NotifyContactResponse) ProtoReflect ¶
func (x *NotifyContactResponse) ProtoReflect() protoreflect.Message
func (*NotifyContactResponse) Reset ¶
func (x *NotifyContactResponse) Reset()
func (*NotifyContactResponse) String ¶
func (x *NotifyContactResponse) String() string
type NotifyType ¶
type NotifyType int32
const ( NotifyType_NOTIFY_TYPE_UNKNOWN_UNSPECIFIED NotifyType = 0 NotifyType_NOTIFY_TYPE_INVITE_CIRCLE NotifyType = 1 NotifyType_NOTIFY_TYPE_SHARE_POST NotifyType = 2 NotifyType_NOTIFY_TYPE_INVITE_FRIEND NotifyType = 3 NotifyType_NOTIFY_TYPE_ADD_FRIEND NotifyType = 4 NotifyType_NOTIFY_TYPE_INVITE_CHAT NotifyType = 5 NotifyType_NOTIFY_TYPE_TAG_POST NotifyType = 6 NotifyType_NOTIFY_TYPE_TAG_POLL_POST NotifyType = 7 )
func (NotifyType) Descriptor ¶
func (NotifyType) Descriptor() protoreflect.EnumDescriptor
func (NotifyType) Enum ¶
func (x NotifyType) Enum() *NotifyType
        
          
            func (NotifyType) EnumDescriptor
            deprecated
            
          
  
    
  
      
      func (NotifyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotifyType.Descriptor instead.
func (NotifyType) Number ¶
func (x NotifyType) Number() protoreflect.EnumNumber
func (NotifyType) String ¶
func (x NotifyType) String() string
func (NotifyType) Type ¶
func (NotifyType) Type() protoreflect.EnumType
type PageCursor ¶
type PageCursor struct {
	LastId string  `protobuf:"bytes,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"`
	Limit  uint32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Dir    PageDir `protobuf:"varint,3,opt,name=dir,proto3,enum=messaging.v1.PageDir" json:"dir,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PageCursor) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PageCursor) Descriptor() ([]byte, []int)
Deprecated: Use PageCursor.ProtoReflect.Descriptor instead.
func (*PageCursor) GetDir ¶
func (x *PageCursor) GetDir() PageDir
func (*PageCursor) GetLastId ¶
func (x *PageCursor) GetLastId() string
func (*PageCursor) GetLimit ¶
func (x *PageCursor) GetLimit() uint32
func (*PageCursor) ProtoMessage ¶
func (*PageCursor) ProtoMessage()
func (*PageCursor) ProtoReflect ¶
func (x *PageCursor) ProtoReflect() protoreflect.Message
func (*PageCursor) Reset ¶
func (x *PageCursor) Reset()
func (*PageCursor) String ¶
func (x *PageCursor) String() string
type PageDir ¶
type PageDir int32
buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
func (PageDir) Descriptor ¶
func (PageDir) Descriptor() protoreflect.EnumDescriptor
        
          
            func (PageDir) EnumDescriptor
            deprecated
            
          
  
    
  
      
      
    func (PageDir) Number ¶
func (x PageDir) Number() protoreflect.EnumNumber
func (PageDir) Type ¶
func (PageDir) Type() protoreflect.EnumType
type PageInfo ¶
type PageInfo struct {
	FirstId *string `protobuf:"bytes,1,opt,name=first_id,json=firstId,proto3,oneof" json:"first_id,omitempty"`
	LastId  *string `protobuf:"bytes,2,opt,name=last_id,json=lastId,proto3,oneof" json:"last_id,omitempty"`
	HasPrev bool    `protobuf:"varint,3,opt,name=has_prev,json=hasPrev,proto3" json:"has_prev,omitempty"`
	HasNext bool    `protobuf:"varint,4,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"`
	Length  uint32  `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PageInfo) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*PageInfo) GetFirstId ¶
func (*PageInfo) GetHasNext ¶
func (*PageInfo) GetHasPrev ¶
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
type SMSTypeSignInVerificationCode ¶
type SMSTypeSignInVerificationCode struct {
	RecipientPhoneNumber string `protobuf:"bytes,1,opt,name=recipient_phone_number,json=recipientPhoneNumber,proto3" json:"recipient_phone_number,omitempty"`
	VerificationCode     string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*SMSTypeSignInVerificationCode) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SMSTypeSignInVerificationCode) Descriptor() ([]byte, []int)
Deprecated: Use SMSTypeSignInVerificationCode.ProtoReflect.Descriptor instead.
func (*SMSTypeSignInVerificationCode) GetRecipientPhoneNumber ¶
func (x *SMSTypeSignInVerificationCode) GetRecipientPhoneNumber() string
func (*SMSTypeSignInVerificationCode) GetVerificationCode ¶
func (x *SMSTypeSignInVerificationCode) GetVerificationCode() string
func (*SMSTypeSignInVerificationCode) ProtoMessage ¶
func (*SMSTypeSignInVerificationCode) ProtoMessage()
func (*SMSTypeSignInVerificationCode) ProtoReflect ¶
func (x *SMSTypeSignInVerificationCode) ProtoReflect() protoreflect.Message
func (*SMSTypeSignInVerificationCode) Reset ¶
func (x *SMSTypeSignInVerificationCode) Reset()
func (*SMSTypeSignInVerificationCode) String ¶
func (x *SMSTypeSignInVerificationCode) String() string
type SendEmailRequest ¶
type SendEmailRequest struct {
	// Types that are assignable to EmailType:
	//
	//	*SendEmailRequest_EmailTypeSignInVerificationCode
	EmailType isSendEmailRequest_EmailType `protobuf_oneof:"email_type"`
	// contains filtered or unexported fields
}
    
        
          
            func (*SendEmailRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SendEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendEmailRequest.ProtoReflect.Descriptor instead.
func (*SendEmailRequest) GetEmailType ¶
func (m *SendEmailRequest) GetEmailType() isSendEmailRequest_EmailType
func (*SendEmailRequest) GetEmailTypeSignInVerificationCode ¶
func (x *SendEmailRequest) GetEmailTypeSignInVerificationCode() *EmailTypeSignInVerificationCode
func (*SendEmailRequest) ProtoMessage ¶
func (*SendEmailRequest) ProtoMessage()
func (*SendEmailRequest) ProtoReflect ¶
func (x *SendEmailRequest) ProtoReflect() protoreflect.Message
func (*SendEmailRequest) Reset ¶
func (x *SendEmailRequest) Reset()
func (*SendEmailRequest) String ¶
func (x *SendEmailRequest) String() string
type SendEmailRequest_EmailTypeSignInVerificationCode ¶
type SendEmailRequest_EmailTypeSignInVerificationCode struct {
	EmailTypeSignInVerificationCode *EmailTypeSignInVerificationCode `protobuf:"bytes,1,opt,name=email_type_sign_in_verification_code,json=emailTypeSignInVerificationCode,proto3,oneof"`
}
    type SendEmailResponse ¶
type SendEmailResponse struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*SendEmailResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SendEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendEmailResponse.ProtoReflect.Descriptor instead.
func (*SendEmailResponse) ProtoMessage ¶
func (*SendEmailResponse) ProtoMessage()
func (*SendEmailResponse) ProtoReflect ¶
func (x *SendEmailResponse) ProtoReflect() protoreflect.Message
func (*SendEmailResponse) Reset ¶
func (x *SendEmailResponse) Reset()
func (*SendEmailResponse) String ¶
func (x *SendEmailResponse) String() string
type SendSMSRequest ¶
type SendSMSRequest struct {
	// Types that are assignable to SmsType:
	//
	//	*SendSMSRequest_SmsTypeSignInVerificationCode
	SmsType isSendSMSRequest_SmsType `protobuf_oneof:"sms_type"`
	// contains filtered or unexported fields
}
    
        
          
            func (*SendSMSRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SendSMSRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendSMSRequest.ProtoReflect.Descriptor instead.
func (*SendSMSRequest) GetSmsType ¶
func (m *SendSMSRequest) GetSmsType() isSendSMSRequest_SmsType
func (*SendSMSRequest) GetSmsTypeSignInVerificationCode ¶
func (x *SendSMSRequest) GetSmsTypeSignInVerificationCode() *SMSTypeSignInVerificationCode
func (*SendSMSRequest) ProtoMessage ¶
func (*SendSMSRequest) ProtoMessage()
func (*SendSMSRequest) ProtoReflect ¶
func (x *SendSMSRequest) ProtoReflect() protoreflect.Message
func (*SendSMSRequest) Reset ¶
func (x *SendSMSRequest) Reset()
func (*SendSMSRequest) String ¶
func (x *SendSMSRequest) String() string
type SendSMSRequest_SmsTypeSignInVerificationCode ¶
type SendSMSRequest_SmsTypeSignInVerificationCode struct {
	SmsTypeSignInVerificationCode *SMSTypeSignInVerificationCode `protobuf:"bytes,1,opt,name=sms_type_sign_in_verification_code,json=smsTypeSignInVerificationCode,proto3,oneof"`
}
    type SendSMSResponse ¶
type SendSMSResponse struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*SendSMSResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SendSMSResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendSMSResponse.ProtoReflect.Descriptor instead.
func (*SendSMSResponse) ProtoMessage ¶
func (*SendSMSResponse) ProtoMessage()
func (*SendSMSResponse) ProtoReflect ¶
func (x *SendSMSResponse) ProtoReflect() protoreflect.Message
func (*SendSMSResponse) Reset ¶
func (x *SendSMSResponse) Reset()
func (*SendSMSResponse) String ¶
func (x *SendSMSResponse) String() string
type UnimplementedMessagingAPIServiceServer ¶
type UnimplementedMessagingAPIServiceServer struct {
}
    UnimplementedMessagingAPIServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMessagingAPIServiceServer) AddUserContacts ¶
func (UnimplementedMessagingAPIServiceServer) AddUserContacts(context.Context, *AddUserContactsRequest) (*AddUserContactsResponse, error)
func (UnimplementedMessagingAPIServiceServer) DeleteContacts ¶
func (UnimplementedMessagingAPIServiceServer) DeleteContacts(context.Context, *DeleteContactsRequest) (*DeleteContactsResponse, error)
func (UnimplementedMessagingAPIServiceServer) GetContactById ¶
func (UnimplementedMessagingAPIServiceServer) GetContactById(context.Context, *GetContactByIdRequest) (*GetContactByIdResponse, error)
func (UnimplementedMessagingAPIServiceServer) GetUserContacts ¶
func (UnimplementedMessagingAPIServiceServer) GetUserContacts(context.Context, *GetUserContactsRequest) (*GetUserContactsResponse, error)
func (UnimplementedMessagingAPIServiceServer) NotifyAll ¶
func (UnimplementedMessagingAPIServiceServer) NotifyAll(context.Context, *NotifyAllRequest) (*NotifyAllResponse, error)
func (UnimplementedMessagingAPIServiceServer) NotifyContact ¶
func (UnimplementedMessagingAPIServiceServer) NotifyContact(context.Context, *NotifyContactRequest) (*NotifyContactResponse, error)
func (UnimplementedMessagingAPIServiceServer) SendEmail ¶
func (UnimplementedMessagingAPIServiceServer) SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error)
func (UnimplementedMessagingAPIServiceServer) SendSMS ¶
func (UnimplementedMessagingAPIServiceServer) SendSMS(context.Context, *SendSMSRequest) (*SendSMSResponse, error)
type UnsafeMessagingAPIServiceServer ¶
type UnsafeMessagingAPIServiceServer interface {
	// contains filtered or unexported methods
}
    UnsafeMessagingAPIServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessagingAPIServiceServer will result in compilation errors.
type UserContact ¶
type UserContact struct {
	Id    string              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name  string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Phone *ContactPhoneNumber `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*UserContact) Descriptor
            deprecated
            
          
  
    
  
      
      func (*UserContact) Descriptor() ([]byte, []int)
Deprecated: Use UserContact.ProtoReflect.Descriptor instead.
func (*UserContact) GetId ¶
func (x *UserContact) GetId() string
func (*UserContact) GetName ¶
func (x *UserContact) GetName() string
func (*UserContact) GetPhone ¶
func (x *UserContact) GetPhone() *ContactPhoneNumber
func (*UserContact) ProtoMessage ¶
func (*UserContact) ProtoMessage()
func (*UserContact) ProtoReflect ¶
func (x *UserContact) ProtoReflect() protoreflect.Message
func (*UserContact) Reset ¶
func (x *UserContact) Reset()
func (*UserContact) String ¶
func (x *UserContact) String() string
type UserContactsInput ¶
type UserContactsInput struct {
	FullName    string                `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	FamilyName  string                `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
	HasAvatar   bool                  `protobuf:"varint,3,opt,name=has_avatar,json=hasAvatar,proto3" json:"has_avatar,omitempty"`
	HasJobTitle bool                  `protobuf:"varint,4,opt,name=has_job_title,json=hasJobTitle,proto3" json:"has_job_title,omitempty"`
	PhoneNumber []*ContactPhoneNumber `protobuf:"bytes,5,rep,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*UserContactsInput) Descriptor
            deprecated
            
          
  
    
  
      
      func (*UserContactsInput) Descriptor() ([]byte, []int)
Deprecated: Use UserContactsInput.ProtoReflect.Descriptor instead.
func (*UserContactsInput) GetFamilyName ¶
func (x *UserContactsInput) GetFamilyName() string
func (*UserContactsInput) GetFullName ¶
func (x *UserContactsInput) GetFullName() string
func (*UserContactsInput) GetHasAvatar ¶
func (x *UserContactsInput) GetHasAvatar() bool
func (*UserContactsInput) GetHasJobTitle ¶
func (x *UserContactsInput) GetHasJobTitle() bool
func (*UserContactsInput) GetPhoneNumber ¶
func (x *UserContactsInput) GetPhoneNumber() []*ContactPhoneNumber
func (*UserContactsInput) ProtoMessage ¶
func (*UserContactsInput) ProtoMessage()
func (*UserContactsInput) ProtoReflect ¶
func (x *UserContactsInput) ProtoReflect() protoreflect.Message
func (*UserContactsInput) Reset ¶
func (x *UserContactsInput) Reset()
func (*UserContactsInput) String ¶
func (x *UserContactsInput) String() string
type UserType ¶
type UserType int32
buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
func (UserType) Descriptor ¶
func (UserType) Descriptor() protoreflect.EnumDescriptor
        
          
            func (UserType) EnumDescriptor
            deprecated
            
          
  
    
  
      
      
    func (UserType) Number ¶
func (x UserType) Number() protoreflect.EnumNumber
func (UserType) Type ¶
func (UserType) Type() protoreflect.EnumType