bertymessenger

package
v2.178.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: Apache-2.0, MIT Imports: 49 Imported by: 1

README

Berty go/pkg/bertymessenger

go.dev reference

Please, read the main README.md file first.

Get the code

go get -u berty.tech/berty/v2/go/pkg/bertymessenger

Documentation

Overview

Package bertymessenger is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package bertymessenger contains the top-level API that uses the Berty Protocol to implement the Berty Messenger specific logic.

Index

Constants

View Source
const (
	StateActive lifecycle.State = iota
	StateInactive
)

Variables

View Source
var AppMessage_Type_name = map[int32]string{
	0: "Undefined",
	1: "TypeUserMessage",
	2: "TypeUserReaction",
	3: "TypeGroupInvitation",
	4: "TypeSetGroupName",
	5: "TypeSetUserName",
	6: "TypeAcknowledge",
	7: "TypeReplyOptions",
}
View Source
var AppMessage_Type_value = map[string]int32{
	"Undefined":           0,
	"TypeUserMessage":     1,
	"TypeUserReaction":    2,
	"TypeGroupInvitation": 3,
	"TypeSetGroupName":    4,
	"TypeSetUserName":     5,
	"TypeAcknowledge":     6,
	"TypeReplyOptions":    7,
}
View Source
var Contact_State_name = map[int32]string{
	0: "Undefined",
	1: "IncomingRequest",
	2: "OutgoingRequestEnqueued",
	3: "OutgoingRequestSent",
	4: "Accepted",
}
View Source
var Contact_State_value = map[string]int32{
	"Undefined":               0,
	"IncomingRequest":         1,
	"OutgoingRequestEnqueued": 2,
	"OutgoingRequestSent":     3,
	"Accepted":                4,
}
View Source
var Conversation_Type_name = map[int32]string{
	0: "Undefined",
	1: "AccountType",
	2: "ContactType",
	3: "MultiMemberType",
}
View Source
var Conversation_Type_value = map[string]int32{
	"Undefined":       0,
	"AccountType":     1,
	"ContactType":     2,
	"MultiMemberType": 3,
}
View Source
var ParseDeepLink_Kind_name = map[int32]string{
	0: "UnknownKind",
	1: "BertyID",
	2: "BertyGroup",
}
View Source
var ParseDeepLink_Kind_value = map[string]int32{
	"UnknownKind": 0,
	"BertyID":     1,
	"BertyGroup":  2,
}
View Source
var StreamEvent_Notified_Type_name = map[int32]string{
	0: "Unknown",
	1: "TypeBasic",
	2: "TypeMessageReceived",
}
View Source
var StreamEvent_Notified_Type_value = map[string]int32{
	"Unknown":             0,
	"TypeBasic":           1,
	"TypeMessageReceived": 2,
}
View Source
var StreamEvent_Type_name = map[int32]string{
	0:  "Undefined",
	1:  "TypeListEnded",
	2:  "TypeConversationUpdated",
	3:  "TypeConversationDeleted",
	4:  "TypeInteractionUpdated",
	5:  "TypeInteractionDeleted",
	6:  "TypeContactUpdated",
	7:  "TypeAccountUpdated",
	8:  "TypeMemberUpdated",
	9:  "TypeDeviceUpdated",
	10: "TypeNotified",
}
View Source
var StreamEvent_Type_value = map[string]int32{
	"Undefined":               0,
	"TypeListEnded":           1,
	"TypeConversationUpdated": 2,
	"TypeConversationDeleted": 3,
	"TypeInteractionUpdated":  4,
	"TypeInteractionDeleted":  5,
	"TypeContactUpdated":      6,
	"TypeAccountUpdated":      7,
	"TypeMemberUpdated":       8,
	"TypeDeviceUpdated":       9,
	"TypeNotified":            10,
}

Functions

func NormalizeDeepLinkURL added in v2.85.0

func NormalizeDeepLinkURL(input string) (url.Values, string, error)

func RegisterMessengerServiceHandler added in v2.100.0

func RegisterMessengerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMessengerServiceHandler registers the http handlers for service MessengerService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMessengerServiceHandlerClient added in v2.100.0

func RegisterMessengerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MessengerServiceClient) error

RegisterMessengerServiceHandlerClient registers the http handlers for service MessengerService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MessengerServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MessengerServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MessengerServiceClient" to call the correct interceptors.

func RegisterMessengerServiceHandlerFromEndpoint added in v2.100.0

func RegisterMessengerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMessengerServiceHandlerFromEndpoint is same as RegisterMessengerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMessengerServiceHandlerServer added in v2.100.0

func RegisterMessengerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MessengerServiceServer) error

RegisterMessengerServiceHandlerServer registers the http handlers for service MessengerService to "mux". UnaryRPC :call MessengerServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterMessengerServiceServer

func RegisterMessengerServiceServer(s *grpc.Server, srv MessengerServiceServer)

func ReplayLogsToDB added in v2.128.1

func ReplayLogsToDB(ctx context.Context, client bertyprotocol.ProtocolServiceClient, db *gorm.DB) error

func ShareableBertyGroupURL added in v2.85.0

func ShareableBertyGroupURL(g *bertytypes.Group, groupName string) (string, string, error)

Types

type Account added in v2.120.0

type Account struct {
	PublicKey                       string          `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	DisplayName                     string          `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Link                            string          `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
	ServiceTokens                   []*ServiceToken `` /* 128-byte string literal not displayed */
	ReplicateNewGroupsAutomatically bool            `` /* 179-byte string literal not displayed */
}

func (*Account) Descriptor added in v2.120.0

func (*Account) Descriptor() ([]byte, []int)

func (*Account) GetDisplayName added in v2.120.0

func (m *Account) GetDisplayName() string
func (m *Account) GetLink() string

func (*Account) GetPublicKey added in v2.120.0

func (m *Account) GetPublicKey() string

func (*Account) GetReplicateNewGroupsAutomatically added in v2.171.0

func (m *Account) GetReplicateNewGroupsAutomatically() bool

func (*Account) GetServiceTokens added in v2.154.0

func (m *Account) GetServiceTokens() []*ServiceToken

func (*Account) ProtoMessage added in v2.120.0

func (*Account) ProtoMessage()

func (*Account) Reset added in v2.120.0

func (m *Account) Reset()

func (*Account) String added in v2.120.0

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown added in v2.120.0

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal added in v2.120.0

func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Account) XXX_Merge added in v2.120.0

func (m *Account) XXX_Merge(src proto.Message)

func (*Account) XXX_Size added in v2.120.0

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal added in v2.120.0

func (m *Account) XXX_Unmarshal(b []byte) error

type AccountGet added in v2.120.0

type AccountGet struct {
}

func (*AccountGet) Descriptor added in v2.120.0

func (*AccountGet) Descriptor() ([]byte, []int)

func (*AccountGet) ProtoMessage added in v2.120.0

func (*AccountGet) ProtoMessage()

func (*AccountGet) Reset added in v2.120.0

func (m *AccountGet) Reset()

func (*AccountGet) String added in v2.120.0

func (m *AccountGet) String() string

func (*AccountGet) XXX_DiscardUnknown added in v2.120.0

func (m *AccountGet) XXX_DiscardUnknown()

func (*AccountGet) XXX_Marshal added in v2.120.0

func (m *AccountGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountGet) XXX_Merge added in v2.120.0

func (m *AccountGet) XXX_Merge(src proto.Message)

func (*AccountGet) XXX_Size added in v2.120.0

func (m *AccountGet) XXX_Size() int

func (*AccountGet) XXX_Unmarshal added in v2.120.0

func (m *AccountGet) XXX_Unmarshal(b []byte) error

type AccountGet_Reply added in v2.120.0

type AccountGet_Reply struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

func (*AccountGet_Reply) Descriptor added in v2.120.0

func (*AccountGet_Reply) Descriptor() ([]byte, []int)

func (*AccountGet_Reply) GetAccount added in v2.120.0

func (m *AccountGet_Reply) GetAccount() *Account

func (*AccountGet_Reply) ProtoMessage added in v2.120.0

func (*AccountGet_Reply) ProtoMessage()

func (*AccountGet_Reply) Reset added in v2.120.0

func (m *AccountGet_Reply) Reset()

func (*AccountGet_Reply) String added in v2.120.0

func (m *AccountGet_Reply) String() string

func (*AccountGet_Reply) XXX_DiscardUnknown added in v2.120.0

func (m *AccountGet_Reply) XXX_DiscardUnknown()

func (*AccountGet_Reply) XXX_Marshal added in v2.120.0

func (m *AccountGet_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountGet_Reply) XXX_Merge added in v2.120.0

func (m *AccountGet_Reply) XXX_Merge(src proto.Message)

func (*AccountGet_Reply) XXX_Size added in v2.120.0

func (m *AccountGet_Reply) XXX_Size() int

func (*AccountGet_Reply) XXX_Unmarshal added in v2.120.0

func (m *AccountGet_Reply) XXX_Unmarshal(b []byte) error

type AccountGet_Request added in v2.120.0

type AccountGet_Request struct {
}

func (*AccountGet_Request) Descriptor added in v2.120.0

func (*AccountGet_Request) Descriptor() ([]byte, []int)

func (*AccountGet_Request) ProtoMessage added in v2.120.0

func (*AccountGet_Request) ProtoMessage()

func (*AccountGet_Request) Reset added in v2.120.0

func (m *AccountGet_Request) Reset()

func (*AccountGet_Request) String added in v2.120.0

func (m *AccountGet_Request) String() string

func (*AccountGet_Request) XXX_DiscardUnknown added in v2.120.0

func (m *AccountGet_Request) XXX_DiscardUnknown()

func (*AccountGet_Request) XXX_Marshal added in v2.120.0

func (m *AccountGet_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountGet_Request) XXX_Merge added in v2.120.0

func (m *AccountGet_Request) XXX_Merge(src proto.Message)

func (*AccountGet_Request) XXX_Size added in v2.120.0

func (m *AccountGet_Request) XXX_Size() int

func (*AccountGet_Request) XXX_Unmarshal added in v2.120.0

func (m *AccountGet_Request) XXX_Unmarshal(b []byte) error

type AccountUpdate added in v2.122.0

type AccountUpdate struct {
}

func (*AccountUpdate) Descriptor added in v2.122.0

func (*AccountUpdate) Descriptor() ([]byte, []int)

func (*AccountUpdate) ProtoMessage added in v2.122.0

func (*AccountUpdate) ProtoMessage()

func (*AccountUpdate) Reset added in v2.122.0

func (m *AccountUpdate) Reset()

func (*AccountUpdate) String added in v2.122.0

func (m *AccountUpdate) String() string

func (*AccountUpdate) XXX_DiscardUnknown added in v2.122.0

func (m *AccountUpdate) XXX_DiscardUnknown()

func (*AccountUpdate) XXX_Marshal added in v2.122.0

func (m *AccountUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountUpdate) XXX_Merge added in v2.122.0

func (m *AccountUpdate) XXX_Merge(src proto.Message)

func (*AccountUpdate) XXX_Size added in v2.122.0

func (m *AccountUpdate) XXX_Size() int

func (*AccountUpdate) XXX_Unmarshal added in v2.122.0

func (m *AccountUpdate) XXX_Unmarshal(b []byte) error

type AccountUpdate_Reply added in v2.122.0

type AccountUpdate_Reply struct {
}

func (*AccountUpdate_Reply) Descriptor added in v2.122.0

func (*AccountUpdate_Reply) Descriptor() ([]byte, []int)

func (*AccountUpdate_Reply) ProtoMessage added in v2.122.0

func (*AccountUpdate_Reply) ProtoMessage()

func (*AccountUpdate_Reply) Reset added in v2.122.0

func (m *AccountUpdate_Reply) Reset()

func (*AccountUpdate_Reply) String added in v2.122.0

func (m *AccountUpdate_Reply) String() string

func (*AccountUpdate_Reply) XXX_DiscardUnknown added in v2.122.0

func (m *AccountUpdate_Reply) XXX_DiscardUnknown()

func (*AccountUpdate_Reply) XXX_Marshal added in v2.122.0

func (m *AccountUpdate_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountUpdate_Reply) XXX_Merge added in v2.122.0

func (m *AccountUpdate_Reply) XXX_Merge(src proto.Message)

func (*AccountUpdate_Reply) XXX_Size added in v2.122.0

func (m *AccountUpdate_Reply) XXX_Size() int

func (*AccountUpdate_Reply) XXX_Unmarshal added in v2.122.0

func (m *AccountUpdate_Reply) XXX_Unmarshal(b []byte) error

type AccountUpdate_Request added in v2.122.0

type AccountUpdate_Request struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*AccountUpdate_Request) Descriptor added in v2.122.0

func (*AccountUpdate_Request) Descriptor() ([]byte, []int)

func (*AccountUpdate_Request) GetDisplayName added in v2.122.0

func (m *AccountUpdate_Request) GetDisplayName() string

func (*AccountUpdate_Request) ProtoMessage added in v2.122.0

func (*AccountUpdate_Request) ProtoMessage()

func (*AccountUpdate_Request) Reset added in v2.122.0

func (m *AccountUpdate_Request) Reset()

func (*AccountUpdate_Request) String added in v2.122.0

func (m *AccountUpdate_Request) String() string

func (*AccountUpdate_Request) XXX_DiscardUnknown added in v2.122.0

func (m *AccountUpdate_Request) XXX_DiscardUnknown()

func (*AccountUpdate_Request) XXX_Marshal added in v2.122.0

func (m *AccountUpdate_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountUpdate_Request) XXX_Merge added in v2.122.0

func (m *AccountUpdate_Request) XXX_Merge(src proto.Message)

func (*AccountUpdate_Request) XXX_Size added in v2.122.0

func (m *AccountUpdate_Request) XXX_Size() int

func (*AccountUpdate_Request) XXX_Unmarshal added in v2.122.0

func (m *AccountUpdate_Request) XXX_Unmarshal(b []byte) error

type AppMessage added in v2.120.0

type AppMessage struct {
	Type     AppMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.AppMessage_Type" json:"type,omitempty"`
	Payload  []byte          `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	SentDate int64           `protobuf:"varint,3,opt,name=sent_date,json=sentDate,proto3" json:"sentDate"`
}

func UnmarshalAppMessage added in v2.120.0

func UnmarshalAppMessage(payload []byte) (proto.Message, AppMessage, error)

func (*AppMessage) Descriptor added in v2.120.0

func (*AppMessage) Descriptor() ([]byte, []int)

func (*AppMessage) GetPayload added in v2.120.0

func (m *AppMessage) GetPayload() []byte

func (*AppMessage) GetSentDate added in v2.128.1

func (m *AppMessage) GetSentDate() int64

func (*AppMessage) GetType added in v2.120.0

func (m *AppMessage) GetType() AppMessage_Type

func (*AppMessage) ProtoMessage added in v2.120.0

func (*AppMessage) ProtoMessage()

func (*AppMessage) Reset added in v2.120.0

func (m *AppMessage) Reset()

func (*AppMessage) String added in v2.120.0

func (m *AppMessage) String() string

func (AppMessage) UnmarshalPayload added in v2.122.0

func (am AppMessage) UnmarshalPayload() (proto.Message, error)

UnmarshalPayload tries to parse an AppMessage payload in the corresponding type. Since this function returns a proto.Message interface, you still need to cast the returned value, but this function allows you to make it safely.

func (*AppMessage) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage) XXX_DiscardUnknown()

func (*AppMessage) XXX_Marshal added in v2.120.0

func (m *AppMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage) XXX_Merge added in v2.120.0

func (m *AppMessage) XXX_Merge(src proto.Message)

func (*AppMessage) XXX_Size added in v2.120.0

func (m *AppMessage) XXX_Size() int

func (*AppMessage) XXX_Unmarshal added in v2.120.0

func (m *AppMessage) XXX_Unmarshal(b []byte) error

type AppMessage_Acknowledge added in v2.120.0

type AppMessage_Acknowledge struct {
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
}

func (*AppMessage_Acknowledge) Descriptor added in v2.120.0

func (*AppMessage_Acknowledge) Descriptor() ([]byte, []int)

func (*AppMessage_Acknowledge) GetTarget added in v2.120.0

func (m *AppMessage_Acknowledge) GetTarget() string

func (*AppMessage_Acknowledge) ProtoMessage added in v2.120.0

func (*AppMessage_Acknowledge) ProtoMessage()

func (*AppMessage_Acknowledge) Reset added in v2.120.0

func (m *AppMessage_Acknowledge) Reset()

func (*AppMessage_Acknowledge) String added in v2.120.0

func (m *AppMessage_Acknowledge) String() string

func (*AppMessage_Acknowledge) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_DiscardUnknown()

func (*AppMessage_Acknowledge) XXX_Marshal added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_Acknowledge) XXX_Merge added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_Merge(src proto.Message)

func (*AppMessage_Acknowledge) XXX_Size added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_Size() int

func (*AppMessage_Acknowledge) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_Unmarshal(b []byte) error

type AppMessage_GroupInvitation added in v2.120.0

type AppMessage_GroupInvitation struct {
	Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"`
}

func (*AppMessage_GroupInvitation) Descriptor added in v2.120.0

func (*AppMessage_GroupInvitation) Descriptor() ([]byte, []int)
func (m *AppMessage_GroupInvitation) GetLink() string

func (*AppMessage_GroupInvitation) ProtoMessage added in v2.120.0

func (*AppMessage_GroupInvitation) ProtoMessage()

func (*AppMessage_GroupInvitation) Reset added in v2.120.0

func (m *AppMessage_GroupInvitation) Reset()

func (*AppMessage_GroupInvitation) String added in v2.120.0

func (m *AppMessage_GroupInvitation) String() string

func (*AppMessage_GroupInvitation) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_DiscardUnknown()

func (*AppMessage_GroupInvitation) XXX_Marshal added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_GroupInvitation) XXX_Merge added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_Merge(src proto.Message)

func (*AppMessage_GroupInvitation) XXX_Size added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_Size() int

func (*AppMessage_GroupInvitation) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_Unmarshal(b []byte) error

type AppMessage_ReplyOptions added in v2.166.0

type AppMessage_ReplyOptions struct {
	Options []*ReplyOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
}

func (*AppMessage_ReplyOptions) Descriptor added in v2.166.0

func (*AppMessage_ReplyOptions) Descriptor() ([]byte, []int)

func (*AppMessage_ReplyOptions) GetOptions added in v2.166.0

func (m *AppMessage_ReplyOptions) GetOptions() []*ReplyOption

func (*AppMessage_ReplyOptions) ProtoMessage added in v2.166.0

func (*AppMessage_ReplyOptions) ProtoMessage()

func (*AppMessage_ReplyOptions) Reset added in v2.166.0

func (m *AppMessage_ReplyOptions) Reset()

func (*AppMessage_ReplyOptions) String added in v2.166.0

func (m *AppMessage_ReplyOptions) String() string

func (*AppMessage_ReplyOptions) XXX_DiscardUnknown added in v2.166.0

func (m *AppMessage_ReplyOptions) XXX_DiscardUnknown()

func (*AppMessage_ReplyOptions) XXX_Marshal added in v2.166.0

func (m *AppMessage_ReplyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_ReplyOptions) XXX_Merge added in v2.166.0

func (m *AppMessage_ReplyOptions) XXX_Merge(src proto.Message)

func (*AppMessage_ReplyOptions) XXX_Size added in v2.166.0

func (m *AppMessage_ReplyOptions) XXX_Size() int

func (*AppMessage_ReplyOptions) XXX_Unmarshal added in v2.166.0

func (m *AppMessage_ReplyOptions) XXX_Unmarshal(b []byte) error

type AppMessage_SetGroupName added in v2.120.0

type AppMessage_SetGroupName struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

func (*AppMessage_SetGroupName) Descriptor added in v2.120.0

func (*AppMessage_SetGroupName) Descriptor() ([]byte, []int)

func (*AppMessage_SetGroupName) GetName added in v2.120.0

func (m *AppMessage_SetGroupName) GetName() string

func (*AppMessage_SetGroupName) ProtoMessage added in v2.120.0

func (*AppMessage_SetGroupName) ProtoMessage()

func (*AppMessage_SetGroupName) Reset added in v2.120.0

func (m *AppMessage_SetGroupName) Reset()

func (*AppMessage_SetGroupName) String added in v2.120.0

func (m *AppMessage_SetGroupName) String() string

func (*AppMessage_SetGroupName) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_DiscardUnknown()

func (*AppMessage_SetGroupName) XXX_Marshal added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_SetGroupName) XXX_Merge added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_Merge(src proto.Message)

func (*AppMessage_SetGroupName) XXX_Size added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_Size() int

func (*AppMessage_SetGroupName) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_Unmarshal(b []byte) error

type AppMessage_SetUserName added in v2.120.0

type AppMessage_SetUserName struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

func (*AppMessage_SetUserName) Descriptor added in v2.120.0

func (*AppMessage_SetUserName) Descriptor() ([]byte, []int)

func (*AppMessage_SetUserName) GetName added in v2.120.0

func (m *AppMessage_SetUserName) GetName() string

func (*AppMessage_SetUserName) ProtoMessage added in v2.120.0

func (*AppMessage_SetUserName) ProtoMessage()

func (*AppMessage_SetUserName) Reset added in v2.120.0

func (m *AppMessage_SetUserName) Reset()

func (*AppMessage_SetUserName) String added in v2.120.0

func (m *AppMessage_SetUserName) String() string

func (*AppMessage_SetUserName) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_SetUserName) XXX_DiscardUnknown()

func (*AppMessage_SetUserName) XXX_Marshal added in v2.120.0

func (m *AppMessage_SetUserName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_SetUserName) XXX_Merge added in v2.120.0

func (m *AppMessage_SetUserName) XXX_Merge(src proto.Message)

func (*AppMessage_SetUserName) XXX_Size added in v2.120.0

func (m *AppMessage_SetUserName) XXX_Size() int

func (*AppMessage_SetUserName) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_SetUserName) XXX_Unmarshal(b []byte) error

type AppMessage_Type added in v2.120.0

type AppMessage_Type int32
const (
	AppMessage_Undefined           AppMessage_Type = 0
	AppMessage_TypeUserMessage     AppMessage_Type = 1
	AppMessage_TypeUserReaction    AppMessage_Type = 2
	AppMessage_TypeGroupInvitation AppMessage_Type = 3
	AppMessage_TypeSetGroupName    AppMessage_Type = 4
	AppMessage_TypeSetUserName     AppMessage_Type = 5
	AppMessage_TypeAcknowledge     AppMessage_Type = 6
	AppMessage_TypeReplyOptions    AppMessage_Type = 7
)

func (AppMessage_Type) EnumDescriptor added in v2.120.0

func (AppMessage_Type) EnumDescriptor() ([]byte, []int)

func (*AppMessage_Type) MarshalJSON added in v2.120.0

func (x *AppMessage_Type) MarshalJSON() ([]byte, error)

func (AppMessage_Type) MarshalPayload added in v2.120.0

func (x AppMessage_Type) MarshalPayload(sentDate int64, payload proto.Message) ([]byte, error)

func (AppMessage_Type) String added in v2.120.0

func (x AppMessage_Type) String() string

func (*AppMessage_Type) UnmarshalJSON added in v2.120.0

func (x *AppMessage_Type) UnmarshalJSON(bytes []byte) error

type AppMessage_UserMessage added in v2.120.0

type AppMessage_UserMessage struct {
	Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
}

func (*AppMessage_UserMessage) Descriptor added in v2.120.0

func (*AppMessage_UserMessage) Descriptor() ([]byte, []int)

func (*AppMessage_UserMessage) GetBody added in v2.120.0

func (m *AppMessage_UserMessage) GetBody() string

func (*AppMessage_UserMessage) ProtoMessage added in v2.120.0

func (*AppMessage_UserMessage) ProtoMessage()

func (*AppMessage_UserMessage) Reset added in v2.120.0

func (m *AppMessage_UserMessage) Reset()

func (*AppMessage_UserMessage) String added in v2.120.0

func (m *AppMessage_UserMessage) String() string

func (*AppMessage_UserMessage) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_UserMessage) XXX_DiscardUnknown()

func (*AppMessage_UserMessage) XXX_Marshal added in v2.120.0

func (m *AppMessage_UserMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_UserMessage) XXX_Merge added in v2.120.0

func (m *AppMessage_UserMessage) XXX_Merge(src proto.Message)

func (*AppMessage_UserMessage) XXX_Size added in v2.120.0

func (m *AppMessage_UserMessage) XXX_Size() int

func (*AppMessage_UserMessage) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_UserMessage) XXX_Unmarshal(b []byte) error

type AppMessage_UserReaction added in v2.120.0

type AppMessage_UserReaction struct {
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	Emoji  string `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"`
}

func (*AppMessage_UserReaction) Descriptor added in v2.120.0

func (*AppMessage_UserReaction) Descriptor() ([]byte, []int)

func (*AppMessage_UserReaction) GetEmoji added in v2.120.0

func (m *AppMessage_UserReaction) GetEmoji() string

func (*AppMessage_UserReaction) GetTarget added in v2.123.0

func (m *AppMessage_UserReaction) GetTarget() string

func (*AppMessage_UserReaction) ProtoMessage added in v2.120.0

func (*AppMessage_UserReaction) ProtoMessage()

func (*AppMessage_UserReaction) Reset added in v2.120.0

func (m *AppMessage_UserReaction) Reset()

func (*AppMessage_UserReaction) String added in v2.120.0

func (m *AppMessage_UserReaction) String() string

func (*AppMessage_UserReaction) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_UserReaction) XXX_DiscardUnknown()

func (*AppMessage_UserReaction) XXX_Marshal added in v2.120.0

func (m *AppMessage_UserReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_UserReaction) XXX_Merge added in v2.120.0

func (m *AppMessage_UserReaction) XXX_Merge(src proto.Message)

func (*AppMessage_UserReaction) XXX_Size added in v2.120.0

func (m *AppMessage_UserReaction) XXX_Size() int

func (*AppMessage_UserReaction) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_UserReaction) XXX_Unmarshal(b []byte) error

type BannerQuote added in v2.161.0

type BannerQuote struct {
}

func (*BannerQuote) Descriptor added in v2.161.0

func (*BannerQuote) Descriptor() ([]byte, []int)

func (*BannerQuote) ProtoMessage added in v2.161.0

func (*BannerQuote) ProtoMessage()

func (*BannerQuote) Reset added in v2.161.0

func (m *BannerQuote) Reset()

func (*BannerQuote) String added in v2.161.0

func (m *BannerQuote) String() string

func (*BannerQuote) XXX_DiscardUnknown added in v2.161.0

func (m *BannerQuote) XXX_DiscardUnknown()

func (*BannerQuote) XXX_Marshal added in v2.161.0

func (m *BannerQuote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BannerQuote) XXX_Merge added in v2.161.0

func (m *BannerQuote) XXX_Merge(src proto.Message)

func (*BannerQuote) XXX_Size added in v2.161.0

func (m *BannerQuote) XXX_Size() int

func (*BannerQuote) XXX_Unmarshal added in v2.161.0

func (m *BannerQuote) XXX_Unmarshal(b []byte) error

type BannerQuote_Reply added in v2.161.0

type BannerQuote_Reply struct {
	Quote  string `protobuf:"bytes,1,opt,name=quote,proto3" json:"quote,omitempty"`
	Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`
}

func (*BannerQuote_Reply) Descriptor added in v2.161.0

func (*BannerQuote_Reply) Descriptor() ([]byte, []int)

func (*BannerQuote_Reply) GetAuthor added in v2.161.0

func (m *BannerQuote_Reply) GetAuthor() string

func (*BannerQuote_Reply) GetQuote added in v2.161.0

func (m *BannerQuote_Reply) GetQuote() string

func (*BannerQuote_Reply) ProtoMessage added in v2.161.0

func (*BannerQuote_Reply) ProtoMessage()

func (*BannerQuote_Reply) Reset added in v2.161.0

func (m *BannerQuote_Reply) Reset()

func (*BannerQuote_Reply) String added in v2.161.0

func (m *BannerQuote_Reply) String() string

func (*BannerQuote_Reply) XXX_DiscardUnknown added in v2.161.0

func (m *BannerQuote_Reply) XXX_DiscardUnknown()

func (*BannerQuote_Reply) XXX_Marshal added in v2.161.0

func (m *BannerQuote_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BannerQuote_Reply) XXX_Merge added in v2.161.0

func (m *BannerQuote_Reply) XXX_Merge(src proto.Message)

func (*BannerQuote_Reply) XXX_Size added in v2.161.0

func (m *BannerQuote_Reply) XXX_Size() int

func (*BannerQuote_Reply) XXX_Unmarshal added in v2.161.0

func (m *BannerQuote_Reply) XXX_Unmarshal(b []byte) error

type BannerQuote_Request added in v2.161.0

type BannerQuote_Request struct {
	Random bool `protobuf:"varint,1,opt,name=random,proto3" json:"random,omitempty"`
}

func (*BannerQuote_Request) Descriptor added in v2.161.0

func (*BannerQuote_Request) Descriptor() ([]byte, []int)

func (*BannerQuote_Request) GetRandom added in v2.161.0

func (m *BannerQuote_Request) GetRandom() bool

func (*BannerQuote_Request) ProtoMessage added in v2.161.0

func (*BannerQuote_Request) ProtoMessage()

func (*BannerQuote_Request) Reset added in v2.161.0

func (m *BannerQuote_Request) Reset()

func (*BannerQuote_Request) String added in v2.161.0

func (m *BannerQuote_Request) String() string

func (*BannerQuote_Request) XXX_DiscardUnknown added in v2.161.0

func (m *BannerQuote_Request) XXX_DiscardUnknown()

func (*BannerQuote_Request) XXX_Marshal added in v2.161.0

func (m *BannerQuote_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BannerQuote_Request) XXX_Merge added in v2.161.0

func (m *BannerQuote_Request) XXX_Merge(src proto.Message)

func (*BannerQuote_Request) XXX_Size added in v2.161.0

func (m *BannerQuote_Request) XXX_Size() int

func (*BannerQuote_Request) XXX_Unmarshal added in v2.161.0

func (m *BannerQuote_Request) XXX_Unmarshal(b []byte) error

type BertyGroup added in v2.85.0

type BertyGroup struct {
	Group       *bertytypes.Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	DisplayName string            `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*BertyGroup) Descriptor added in v2.85.0

func (*BertyGroup) Descriptor() ([]byte, []int)

func (*BertyGroup) GetDisplayName added in v2.85.0

func (m *BertyGroup) GetDisplayName() string

func (*BertyGroup) GetGroup added in v2.85.0

func (m *BertyGroup) GetGroup() *bertytypes.Group

func (*BertyGroup) ProtoMessage added in v2.85.0

func (*BertyGroup) ProtoMessage()

func (*BertyGroup) Reset added in v2.85.0

func (m *BertyGroup) Reset()

func (*BertyGroup) String added in v2.85.0

func (m *BertyGroup) String() string

func (*BertyGroup) XXX_DiscardUnknown added in v2.85.0

func (m *BertyGroup) XXX_DiscardUnknown()

func (*BertyGroup) XXX_Marshal added in v2.85.0

func (m *BertyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BertyGroup) XXX_Merge added in v2.85.0

func (m *BertyGroup) XXX_Merge(src proto.Message)

func (*BertyGroup) XXX_Size added in v2.85.0

func (m *BertyGroup) XXX_Size() int

func (*BertyGroup) XXX_Unmarshal added in v2.85.0

func (m *BertyGroup) XXX_Unmarshal(b []byte) error

type BertyID added in v2.66.0

type BertyID struct {
	PublicRendezvousSeed []byte `protobuf:"bytes,1,opt,name=public_rendezvous_seed,json=publicRendezvousSeed,proto3" json:"public_rendezvous_seed,omitempty"`
	AccountPK            []byte `protobuf:"bytes,2,opt,name=account_pk,json=accountPk,proto3" json:"account_pk,omitempty"`
	DisplayName          string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*BertyID) Descriptor added in v2.66.0

func (*BertyID) Descriptor() ([]byte, []int)

func (*BertyID) GetAccountPK added in v2.66.0

func (m *BertyID) GetAccountPK() []byte

func (*BertyID) GetDisplayName added in v2.66.0

func (m *BertyID) GetDisplayName() string

func (*BertyID) GetPublicRendezvousSeed added in v2.66.0

func (m *BertyID) GetPublicRendezvousSeed() []byte

func (*BertyID) ProtoMessage added in v2.66.0

func (*BertyID) ProtoMessage()

func (*BertyID) Reset added in v2.66.0

func (m *BertyID) Reset()

func (*BertyID) String added in v2.66.0

func (m *BertyID) String() string

func (*BertyID) XXX_DiscardUnknown added in v2.66.0

func (m *BertyID) XXX_DiscardUnknown()

func (*BertyID) XXX_Marshal added in v2.66.0

func (m *BertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BertyID) XXX_Merge added in v2.66.0

func (m *BertyID) XXX_Merge(src proto.Message)

func (*BertyID) XXX_Size added in v2.66.0

func (m *BertyID) XXX_Size() int

func (*BertyID) XXX_Unmarshal added in v2.66.0

func (m *BertyID) XXX_Unmarshal(b []byte) error

type Contact added in v2.120.0

type Contact struct {
	PublicKey             string        `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	ConversationPublicKey string        `` /* 126-byte string literal not displayed */
	Conversation          *Conversation `protobuf:"bytes,3,opt,name=conversation,proto3" json:"conversation,omitempty"`
	State                 Contact_State `protobuf:"varint,4,opt,name=state,proto3,enum=berty.messenger.v1.Contact_State" json:"state,omitempty"`
	DisplayName           string        `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	CreatedDate           int64         `protobuf:"varint,7,opt,name=created_date,json=createdDate,proto3" json:"created_date,omitempty"`
	// specific to outgoing requests
	SentDate int64     `protobuf:"varint,8,opt,name=sent_date,json=sentDate,proto3" json:"sent_date,omitempty"`
	Devices  []*Device `protobuf:"bytes,6,rep,name=devices,proto3" json:"devices,omitempty" gorm:"foreignKey:MemberPublicKey"`
}

func (*Contact) Descriptor added in v2.120.0

func (*Contact) Descriptor() ([]byte, []int)

func (*Contact) GetConversation added in v2.122.0

func (m *Contact) GetConversation() *Conversation

func (*Contact) GetConversationPublicKey added in v2.122.0

func (m *Contact) GetConversationPublicKey() string

func (*Contact) GetCreatedDate added in v2.132.1

func (m *Contact) GetCreatedDate() int64

func (*Contact) GetDevices added in v2.126.6

func (m *Contact) GetDevices() []*Device

func (*Contact) GetDisplayName added in v2.120.0

func (m *Contact) GetDisplayName() string

func (*Contact) GetPublicKey added in v2.120.0

func (m *Contact) GetPublicKey() string

func (*Contact) GetSentDate added in v2.132.1

func (m *Contact) GetSentDate() int64

func (*Contact) GetState added in v2.120.0

func (m *Contact) GetState() Contact_State

func (*Contact) MarshalJSON added in v2.126.3

func (contact *Contact) MarshalJSON() ([]byte, error)

func (*Contact) ProtoMessage added in v2.120.0

func (*Contact) ProtoMessage()

func (*Contact) Reset added in v2.120.0

func (m *Contact) Reset()

func (*Contact) String added in v2.120.0

func (m *Contact) String() string

func (*Contact) XXX_DiscardUnknown added in v2.120.0

func (m *Contact) XXX_DiscardUnknown()

func (*Contact) XXX_Marshal added in v2.120.0

func (m *Contact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Contact) XXX_Merge added in v2.120.0

func (m *Contact) XXX_Merge(src proto.Message)

func (*Contact) XXX_Size added in v2.120.0

func (m *Contact) XXX_Size() int

func (*Contact) XXX_Unmarshal added in v2.120.0

func (m *Contact) XXX_Unmarshal(b []byte) error

type ContactAccept added in v2.122.0

type ContactAccept struct {
}

func (*ContactAccept) Descriptor added in v2.122.0

func (*ContactAccept) Descriptor() ([]byte, []int)

func (*ContactAccept) ProtoMessage added in v2.122.0

func (*ContactAccept) ProtoMessage()

func (*ContactAccept) Reset added in v2.122.0

func (m *ContactAccept) Reset()

func (*ContactAccept) String added in v2.122.0

func (m *ContactAccept) String() string

func (*ContactAccept) XXX_DiscardUnknown added in v2.122.0

func (m *ContactAccept) XXX_DiscardUnknown()

func (*ContactAccept) XXX_Marshal added in v2.122.0

func (m *ContactAccept) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactAccept) XXX_Merge added in v2.122.0

func (m *ContactAccept) XXX_Merge(src proto.Message)

func (*ContactAccept) XXX_Size added in v2.122.0

func (m *ContactAccept) XXX_Size() int

func (*ContactAccept) XXX_Unmarshal added in v2.122.0

func (m *ContactAccept) XXX_Unmarshal(b []byte) error

type ContactAccept_Reply added in v2.122.0

type ContactAccept_Reply struct {
}

func (*ContactAccept_Reply) Descriptor added in v2.122.0

func (*ContactAccept_Reply) Descriptor() ([]byte, []int)

func (*ContactAccept_Reply) ProtoMessage added in v2.122.0

func (*ContactAccept_Reply) ProtoMessage()

func (*ContactAccept_Reply) Reset added in v2.122.0

func (m *ContactAccept_Reply) Reset()

func (*ContactAccept_Reply) String added in v2.122.0

func (m *ContactAccept_Reply) String() string

func (*ContactAccept_Reply) XXX_DiscardUnknown added in v2.122.0

func (m *ContactAccept_Reply) XXX_DiscardUnknown()

func (*ContactAccept_Reply) XXX_Marshal added in v2.122.0

func (m *ContactAccept_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactAccept_Reply) XXX_Merge added in v2.122.0

func (m *ContactAccept_Reply) XXX_Merge(src proto.Message)

func (*ContactAccept_Reply) XXX_Size added in v2.122.0

func (m *ContactAccept_Reply) XXX_Size() int

func (*ContactAccept_Reply) XXX_Unmarshal added in v2.122.0

func (m *ContactAccept_Reply) XXX_Unmarshal(b []byte) error

type ContactAccept_Request added in v2.122.0

type ContactAccept_Request struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (*ContactAccept_Request) Descriptor added in v2.122.0

func (*ContactAccept_Request) Descriptor() ([]byte, []int)

func (*ContactAccept_Request) GetPublicKey added in v2.122.0

func (m *ContactAccept_Request) GetPublicKey() string

func (*ContactAccept_Request) ProtoMessage added in v2.122.0

func (*ContactAccept_Request) ProtoMessage()

func (*ContactAccept_Request) Reset added in v2.122.0

func (m *ContactAccept_Request) Reset()

func (*ContactAccept_Request) String added in v2.122.0

func (m *ContactAccept_Request) String() string

func (*ContactAccept_Request) XXX_DiscardUnknown added in v2.122.0

func (m *ContactAccept_Request) XXX_DiscardUnknown()

func (*ContactAccept_Request) XXX_Marshal added in v2.122.0

func (m *ContactAccept_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactAccept_Request) XXX_Merge added in v2.122.0

func (m *ContactAccept_Request) XXX_Merge(src proto.Message)

func (*ContactAccept_Request) XXX_Size added in v2.122.0

func (m *ContactAccept_Request) XXX_Size() int

func (*ContactAccept_Request) XXX_Unmarshal added in v2.122.0

func (m *ContactAccept_Request) XXX_Unmarshal(b []byte) error

type ContactMetadata added in v2.120.0

type ContactMetadata struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*ContactMetadata) Descriptor added in v2.120.0

func (*ContactMetadata) Descriptor() ([]byte, []int)

func (*ContactMetadata) GetDisplayName added in v2.120.0

func (m *ContactMetadata) GetDisplayName() string

func (*ContactMetadata) ProtoMessage added in v2.120.0

func (*ContactMetadata) ProtoMessage()

func (*ContactMetadata) Reset added in v2.120.0

func (m *ContactMetadata) Reset()

func (*ContactMetadata) String added in v2.120.0

func (m *ContactMetadata) String() string

func (*ContactMetadata) XXX_DiscardUnknown added in v2.120.0

func (m *ContactMetadata) XXX_DiscardUnknown()

func (*ContactMetadata) XXX_Marshal added in v2.120.0

func (m *ContactMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactMetadata) XXX_Merge added in v2.120.0

func (m *ContactMetadata) XXX_Merge(src proto.Message)

func (*ContactMetadata) XXX_Size added in v2.120.0

func (m *ContactMetadata) XXX_Size() int

func (*ContactMetadata) XXX_Unmarshal added in v2.120.0

func (m *ContactMetadata) XXX_Unmarshal(b []byte) error

type ContactRequest added in v2.122.0

type ContactRequest struct {
}

func (*ContactRequest) Descriptor added in v2.122.0

func (*ContactRequest) Descriptor() ([]byte, []int)

func (*ContactRequest) ProtoMessage added in v2.122.0

func (*ContactRequest) ProtoMessage()

func (*ContactRequest) Reset added in v2.122.0

func (m *ContactRequest) Reset()

func (*ContactRequest) String added in v2.122.0

func (m *ContactRequest) String() string

func (*ContactRequest) XXX_DiscardUnknown added in v2.122.0

func (m *ContactRequest) XXX_DiscardUnknown()

func (*ContactRequest) XXX_Marshal added in v2.122.0

func (m *ContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactRequest) XXX_Merge added in v2.122.0

func (m *ContactRequest) XXX_Merge(src proto.Message)

func (*ContactRequest) XXX_Size added in v2.122.0

func (m *ContactRequest) XXX_Size() int

func (*ContactRequest) XXX_Unmarshal added in v2.122.0

func (m *ContactRequest) XXX_Unmarshal(b []byte) error

type ContactRequest_Reply added in v2.122.0

type ContactRequest_Reply struct {
}

func (*ContactRequest_Reply) Descriptor added in v2.122.0

func (*ContactRequest_Reply) Descriptor() ([]byte, []int)

func (*ContactRequest_Reply) ProtoMessage added in v2.122.0

func (*ContactRequest_Reply) ProtoMessage()

func (*ContactRequest_Reply) Reset added in v2.122.0

func (m *ContactRequest_Reply) Reset()

func (*ContactRequest_Reply) String added in v2.122.0

func (m *ContactRequest_Reply) String() string

func (*ContactRequest_Reply) XXX_DiscardUnknown added in v2.122.0

func (m *ContactRequest_Reply) XXX_DiscardUnknown()

func (*ContactRequest_Reply) XXX_Marshal added in v2.122.0

func (m *ContactRequest_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactRequest_Reply) XXX_Merge added in v2.122.0

func (m *ContactRequest_Reply) XXX_Merge(src proto.Message)

func (*ContactRequest_Reply) XXX_Size added in v2.122.0

func (m *ContactRequest_Reply) XXX_Size() int

func (*ContactRequest_Reply) XXX_Unmarshal added in v2.122.0

func (m *ContactRequest_Reply) XXX_Unmarshal(b []byte) error

type ContactRequest_Request added in v2.122.0

type ContactRequest_Request struct {
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
}

func (*ContactRequest_Request) Descriptor added in v2.122.0

func (*ContactRequest_Request) Descriptor() ([]byte, []int)
func (m *ContactRequest_Request) GetLink() string

func (*ContactRequest_Request) ProtoMessage added in v2.122.0

func (*ContactRequest_Request) ProtoMessage()

func (*ContactRequest_Request) Reset added in v2.122.0

func (m *ContactRequest_Request) Reset()

func (*ContactRequest_Request) String added in v2.122.0

func (m *ContactRequest_Request) String() string

func (*ContactRequest_Request) XXX_DiscardUnknown added in v2.122.0

func (m *ContactRequest_Request) XXX_DiscardUnknown()

func (*ContactRequest_Request) XXX_Marshal added in v2.122.0

func (m *ContactRequest_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactRequest_Request) XXX_Merge added in v2.122.0

func (m *ContactRequest_Request) XXX_Merge(src proto.Message)

func (*ContactRequest_Request) XXX_Size added in v2.122.0

func (m *ContactRequest_Request) XXX_Size() int

func (*ContactRequest_Request) XXX_Unmarshal added in v2.122.0

func (m *ContactRequest_Request) XXX_Unmarshal(b []byte) error

type Contact_State added in v2.120.0

type Contact_State int32
const (
	Contact_Undefined               Contact_State = 0
	Contact_IncomingRequest         Contact_State = 1
	Contact_OutgoingRequestEnqueued Contact_State = 2
	Contact_OutgoingRequestSent     Contact_State = 3
	Contact_Accepted                Contact_State = 4
)

func (Contact_State) EnumDescriptor added in v2.120.0

func (Contact_State) EnumDescriptor() ([]byte, []int)

func (Contact_State) String added in v2.120.0

func (x Contact_State) String() string

type Conversation added in v2.120.0

type Conversation struct {
	PublicKey   string            `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	Type        Conversation_Type `protobuf:"varint,2,opt,name=type,proto3,enum=berty.messenger.v1.Conversation_Type" json:"type,omitempty"`
	IsOpen      bool              `protobuf:"varint,3,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"`
	DisplayName string            `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Link        string            `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"`
	UnreadCount int32             `protobuf:"varint,6,opt,name=unread_count,json=unreadCount,proto3" json:"unread_count,omitempty"`
	// last_update is used to sort conversations, it should be updated for each "visible" event
	LastUpdate int64 `protobuf:"varint,7,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	// specific to ContactType conversations
	ContactPublicKey string `protobuf:"bytes,8,opt,name=contact_public_key,json=contactPublicKey,proto3" json:"contact_public_key,omitempty"`
	// specific to ContactType conversations
	Contact *Contact `protobuf:"bytes,9,opt,name=contact,proto3" json:"contact,omitempty"`
	// specific to MultiMemberType conversations
	Members                []*Member                      `protobuf:"bytes,10,rep,name=members,proto3" json:"members,omitempty"`
	AccountMemberPublicKey string                         `` /* 132-byte string literal not displayed */
	LocalDevicePublicKey   string                         `` /* 126-byte string literal not displayed */
	CreatedDate            int64                          `protobuf:"varint,13,opt,name=created_date,json=createdDate,proto3" json:"created_date,omitempty"`
	ReplyOptionsCID        string                         `` /* 141-byte string literal not displayed */
	ReplyOptions           *Interaction                   `protobuf:"bytes,15,opt,name=reply_options,json=replyOptions,proto3" json:"reply_options,omitempty"`
	ReplicationInfo        []*ConversationReplicationInfo `` /* 147-byte string literal not displayed */
}

func (*Conversation) Descriptor added in v2.120.0

func (*Conversation) Descriptor() ([]byte, []int)

func (*Conversation) GetAccountMemberPublicKey added in v2.130.2

func (m *Conversation) GetAccountMemberPublicKey() string

func (*Conversation) GetContact added in v2.126.6

func (m *Conversation) GetContact() *Contact

func (*Conversation) GetContactPublicKey added in v2.126.3

func (m *Conversation) GetContactPublicKey() string

func (*Conversation) GetCreatedDate added in v2.132.1

func (m *Conversation) GetCreatedDate() int64

func (*Conversation) GetDisplayName added in v2.120.0

func (m *Conversation) GetDisplayName() string

func (*Conversation) GetIsOpen added in v2.128.1

func (m *Conversation) GetIsOpen() bool

func (*Conversation) GetLastUpdate added in v2.128.1

func (m *Conversation) GetLastUpdate() int64
func (m *Conversation) GetLink() string

func (*Conversation) GetLocalDevicePublicKey added in v2.130.2

func (m *Conversation) GetLocalDevicePublicKey() string

func (*Conversation) GetMembers added in v2.126.6

func (m *Conversation) GetMembers() []*Member

func (*Conversation) GetPublicKey added in v2.120.0

func (m *Conversation) GetPublicKey() string

func (*Conversation) GetReplicationInfo added in v2.171.0

func (m *Conversation) GetReplicationInfo() []*ConversationReplicationInfo

func (*Conversation) GetReplyOptions added in v2.166.0

func (m *Conversation) GetReplyOptions() *Interaction

func (*Conversation) GetReplyOptionsCID added in v2.166.0

func (m *Conversation) GetReplyOptionsCID() string

func (*Conversation) GetType added in v2.126.3

func (m *Conversation) GetType() Conversation_Type

func (*Conversation) GetUnreadCount added in v2.126.3

func (m *Conversation) GetUnreadCount() int32

func (*Conversation) ProtoMessage added in v2.120.0

func (*Conversation) ProtoMessage()

func (*Conversation) Reset added in v2.120.0

func (m *Conversation) Reset()

func (*Conversation) String added in v2.120.0

func (m *Conversation) String() string

func (*Conversation) XXX_DiscardUnknown added in v2.120.0

func (m *Conversation) XXX_DiscardUnknown()

func (*Conversation) XXX_Marshal added in v2.120.0

func (m *Conversation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Conversation) XXX_Merge added in v2.120.0

func (m *Conversation) XXX_Merge(src proto.Message)

func (*Conversation) XXX_Size added in v2.120.0

func (m *Conversation) XXX_Size() int

func (*Conversation) XXX_Unmarshal added in v2.120.0

func (m *Conversation) XXX_Unmarshal(b []byte) error

type ConversationClose added in v2.128.1

type ConversationClose struct {
}

func (*ConversationClose) Descriptor added in v2.128.1

func (*ConversationClose) Descriptor() ([]byte, []int)

func (*ConversationClose) ProtoMessage added in v2.128.1

func (*ConversationClose) ProtoMessage()

func (*ConversationClose) Reset added in v2.128.1

func (m *ConversationClose) Reset()

func (*ConversationClose) String added in v2.128.1

func (m *ConversationClose) String() string

func (*ConversationClose) XXX_DiscardUnknown added in v2.128.1

func (m *ConversationClose) XXX_DiscardUnknown()

func (*ConversationClose) XXX_Marshal added in v2.128.1

func (m *ConversationClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationClose) XXX_Merge added in v2.128.1

func (m *ConversationClose) XXX_Merge(src proto.Message)

func (*ConversationClose) XXX_Size added in v2.128.1

func (m *ConversationClose) XXX_Size() int

func (*ConversationClose) XXX_Unmarshal added in v2.128.1

func (m *ConversationClose) XXX_Unmarshal(b []byte) error

type ConversationClose_Reply added in v2.128.1

type ConversationClose_Reply struct {
}

func (*ConversationClose_Reply) Descriptor added in v2.128.1

func (*ConversationClose_Reply) Descriptor() ([]byte, []int)

func (*ConversationClose_Reply) ProtoMessage added in v2.128.1

func (*ConversationClose_Reply) ProtoMessage()

func (*ConversationClose_Reply) Reset added in v2.128.1

func (m *ConversationClose_Reply) Reset()

func (*ConversationClose_Reply) String added in v2.128.1

func (m *ConversationClose_Reply) String() string

func (*ConversationClose_Reply) XXX_DiscardUnknown added in v2.128.1

func (m *ConversationClose_Reply) XXX_DiscardUnknown()

func (*ConversationClose_Reply) XXX_Marshal added in v2.128.1

func (m *ConversationClose_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationClose_Reply) XXX_Merge added in v2.128.1

func (m *ConversationClose_Reply) XXX_Merge(src proto.Message)

func (*ConversationClose_Reply) XXX_Size added in v2.128.1

func (m *ConversationClose_Reply) XXX_Size() int

func (*ConversationClose_Reply) XXX_Unmarshal added in v2.128.1

func (m *ConversationClose_Reply) XXX_Unmarshal(b []byte) error

type ConversationClose_Request added in v2.128.1

type ConversationClose_Request struct {
	GroupPK string `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
}

func (*ConversationClose_Request) Descriptor added in v2.128.1

func (*ConversationClose_Request) Descriptor() ([]byte, []int)

func (*ConversationClose_Request) GetGroupPK added in v2.128.1

func (m *ConversationClose_Request) GetGroupPK() string

func (*ConversationClose_Request) ProtoMessage added in v2.128.1

func (*ConversationClose_Request) ProtoMessage()

func (*ConversationClose_Request) Reset added in v2.128.1

func (m *ConversationClose_Request) Reset()

func (*ConversationClose_Request) String added in v2.128.1

func (m *ConversationClose_Request) String() string

func (*ConversationClose_Request) XXX_DiscardUnknown added in v2.128.1

func (m *ConversationClose_Request) XXX_DiscardUnknown()

func (*ConversationClose_Request) XXX_Marshal added in v2.128.1

func (m *ConversationClose_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationClose_Request) XXX_Merge added in v2.128.1

func (m *ConversationClose_Request) XXX_Merge(src proto.Message)

func (*ConversationClose_Request) XXX_Size added in v2.128.1

func (m *ConversationClose_Request) XXX_Size() int

func (*ConversationClose_Request) XXX_Unmarshal added in v2.128.1

func (m *ConversationClose_Request) XXX_Unmarshal(b []byte) error

type ConversationCreate added in v2.120.0

type ConversationCreate struct {
}

func (*ConversationCreate) Descriptor added in v2.120.0

func (*ConversationCreate) Descriptor() ([]byte, []int)

func (*ConversationCreate) ProtoMessage added in v2.120.0

func (*ConversationCreate) ProtoMessage()

func (*ConversationCreate) Reset added in v2.120.0

func (m *ConversationCreate) Reset()

func (*ConversationCreate) String added in v2.120.0

func (m *ConversationCreate) String() string

func (*ConversationCreate) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationCreate) XXX_DiscardUnknown()

func (*ConversationCreate) XXX_Marshal added in v2.120.0

func (m *ConversationCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationCreate) XXX_Merge added in v2.120.0

func (m *ConversationCreate) XXX_Merge(src proto.Message)

func (*ConversationCreate) XXX_Size added in v2.120.0

func (m *ConversationCreate) XXX_Size() int

func (*ConversationCreate) XXX_Unmarshal added in v2.120.0

func (m *ConversationCreate) XXX_Unmarshal(b []byte) error

type ConversationCreate_Reply added in v2.120.0

type ConversationCreate_Reply struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (*ConversationCreate_Reply) Descriptor added in v2.120.0

func (*ConversationCreate_Reply) Descriptor() ([]byte, []int)

func (*ConversationCreate_Reply) GetPublicKey added in v2.120.0

func (m *ConversationCreate_Reply) GetPublicKey() string

func (*ConversationCreate_Reply) ProtoMessage added in v2.120.0

func (*ConversationCreate_Reply) ProtoMessage()

func (*ConversationCreate_Reply) Reset added in v2.120.0

func (m *ConversationCreate_Reply) Reset()

func (*ConversationCreate_Reply) String added in v2.120.0

func (m *ConversationCreate_Reply) String() string

func (*ConversationCreate_Reply) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationCreate_Reply) XXX_DiscardUnknown()

func (*ConversationCreate_Reply) XXX_Marshal added in v2.120.0

func (m *ConversationCreate_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationCreate_Reply) XXX_Merge added in v2.120.0

func (m *ConversationCreate_Reply) XXX_Merge(src proto.Message)

func (*ConversationCreate_Reply) XXX_Size added in v2.120.0

func (m *ConversationCreate_Reply) XXX_Size() int

func (*ConversationCreate_Reply) XXX_Unmarshal added in v2.120.0

func (m *ConversationCreate_Reply) XXX_Unmarshal(b []byte) error

type ConversationCreate_Request added in v2.120.0

type ConversationCreate_Request struct {
	DisplayName      string   `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	ContactsToInvite []string `protobuf:"bytes,2,rep,name=contacts_to_invite,json=contactsToInvite,proto3" json:"contacts_to_invite,omitempty"`
}

func (*ConversationCreate_Request) Descriptor added in v2.120.0

func (*ConversationCreate_Request) Descriptor() ([]byte, []int)

func (*ConversationCreate_Request) GetContactsToInvite added in v2.122.0

func (m *ConversationCreate_Request) GetContactsToInvite() []string

func (*ConversationCreate_Request) GetDisplayName added in v2.120.0

func (m *ConversationCreate_Request) GetDisplayName() string

func (*ConversationCreate_Request) ProtoMessage added in v2.120.0

func (*ConversationCreate_Request) ProtoMessage()

func (*ConversationCreate_Request) Reset added in v2.120.0

func (m *ConversationCreate_Request) Reset()

func (*ConversationCreate_Request) String added in v2.120.0

func (m *ConversationCreate_Request) String() string

func (*ConversationCreate_Request) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationCreate_Request) XXX_DiscardUnknown()

func (*ConversationCreate_Request) XXX_Marshal added in v2.120.0

func (m *ConversationCreate_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationCreate_Request) XXX_Merge added in v2.120.0

func (m *ConversationCreate_Request) XXX_Merge(src proto.Message)

func (*ConversationCreate_Request) XXX_Size added in v2.120.0

func (m *ConversationCreate_Request) XXX_Size() int

func (*ConversationCreate_Request) XXX_Unmarshal added in v2.120.0

func (m *ConversationCreate_Request) XXX_Unmarshal(b []byte) error

type ConversationJoin added in v2.122.0

type ConversationJoin struct {
}

func (*ConversationJoin) Descriptor added in v2.122.0

func (*ConversationJoin) Descriptor() ([]byte, []int)

func (*ConversationJoin) ProtoMessage added in v2.122.0

func (*ConversationJoin) ProtoMessage()

func (*ConversationJoin) Reset added in v2.122.0

func (m *ConversationJoin) Reset()

func (*ConversationJoin) String added in v2.122.0

func (m *ConversationJoin) String() string

func (*ConversationJoin) XXX_DiscardUnknown added in v2.122.0

func (m *ConversationJoin) XXX_DiscardUnknown()

func (*ConversationJoin) XXX_Marshal added in v2.122.0

func (m *ConversationJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationJoin) XXX_Merge added in v2.122.0

func (m *ConversationJoin) XXX_Merge(src proto.Message)

func (*ConversationJoin) XXX_Size added in v2.122.0

func (m *ConversationJoin) XXX_Size() int

func (*ConversationJoin) XXX_Unmarshal added in v2.122.0

func (m *ConversationJoin) XXX_Unmarshal(b []byte) error

type ConversationJoin_Reply added in v2.122.0

type ConversationJoin_Reply struct {
}

func (*ConversationJoin_Reply) Descriptor added in v2.122.0

func (*ConversationJoin_Reply) Descriptor() ([]byte, []int)

func (*ConversationJoin_Reply) ProtoMessage added in v2.122.0

func (*ConversationJoin_Reply) ProtoMessage()

func (*ConversationJoin_Reply) Reset added in v2.122.0

func (m *ConversationJoin_Reply) Reset()

func (*ConversationJoin_Reply) String added in v2.122.0

func (m *ConversationJoin_Reply) String() string

func (*ConversationJoin_Reply) XXX_DiscardUnknown added in v2.122.0

func (m *ConversationJoin_Reply) XXX_DiscardUnknown()

func (*ConversationJoin_Reply) XXX_Marshal added in v2.122.0

func (m *ConversationJoin_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationJoin_Reply) XXX_Merge added in v2.122.0

func (m *ConversationJoin_Reply) XXX_Merge(src proto.Message)

func (*ConversationJoin_Reply) XXX_Size added in v2.122.0

func (m *ConversationJoin_Reply) XXX_Size() int

func (*ConversationJoin_Reply) XXX_Unmarshal added in v2.122.0

func (m *ConversationJoin_Reply) XXX_Unmarshal(b []byte) error

type ConversationJoin_Request added in v2.122.0

type ConversationJoin_Request struct {
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
}

func (*ConversationJoin_Request) Descriptor added in v2.122.0

func (*ConversationJoin_Request) Descriptor() ([]byte, []int)
func (m *ConversationJoin_Request) GetLink() string

func (*ConversationJoin_Request) ProtoMessage added in v2.122.0

func (*ConversationJoin_Request) ProtoMessage()

func (*ConversationJoin_Request) Reset added in v2.122.0

func (m *ConversationJoin_Request) Reset()

func (*ConversationJoin_Request) String added in v2.122.0

func (m *ConversationJoin_Request) String() string

func (*ConversationJoin_Request) XXX_DiscardUnknown added in v2.122.0

func (m *ConversationJoin_Request) XXX_DiscardUnknown()

func (*ConversationJoin_Request) XXX_Marshal added in v2.122.0

func (m *ConversationJoin_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationJoin_Request) XXX_Merge added in v2.122.0

func (m *ConversationJoin_Request) XXX_Merge(src proto.Message)

func (*ConversationJoin_Request) XXX_Size added in v2.122.0

func (m *ConversationJoin_Request) XXX_Size() int

func (*ConversationJoin_Request) XXX_Unmarshal added in v2.122.0

func (m *ConversationJoin_Request) XXX_Unmarshal(b []byte) error

type ConversationOpen added in v2.128.1

type ConversationOpen struct {
}

func (*ConversationOpen) Descriptor added in v2.128.1

func (*ConversationOpen) Descriptor() ([]byte, []int)

func (*ConversationOpen) ProtoMessage added in v2.128.1

func (*ConversationOpen) ProtoMessage()

func (*ConversationOpen) Reset added in v2.128.1

func (m *ConversationOpen) Reset()

func (*ConversationOpen) String added in v2.128.1

func (m *ConversationOpen) String() string

func (*ConversationOpen) XXX_DiscardUnknown added in v2.128.1

func (m *ConversationOpen) XXX_DiscardUnknown()

func (*ConversationOpen) XXX_Marshal added in v2.128.1

func (m *ConversationOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationOpen) XXX_Merge added in v2.128.1

func (m *ConversationOpen) XXX_Merge(src proto.Message)

func (*ConversationOpen) XXX_Size added in v2.128.1

func (m *ConversationOpen) XXX_Size() int

func (*ConversationOpen) XXX_Unmarshal added in v2.128.1

func (m *ConversationOpen) XXX_Unmarshal(b []byte) error

type ConversationOpen_Reply added in v2.128.1

type ConversationOpen_Reply struct {
}

func (*ConversationOpen_Reply) Descriptor added in v2.128.1

func (*ConversationOpen_Reply) Descriptor() ([]byte, []int)

func (*ConversationOpen_Reply) ProtoMessage added in v2.128.1

func (*ConversationOpen_Reply) ProtoMessage()

func (*ConversationOpen_Reply) Reset added in v2.128.1

func (m *ConversationOpen_Reply) Reset()

func (*ConversationOpen_Reply) String added in v2.128.1

func (m *ConversationOpen_Reply) String() string

func (*ConversationOpen_Reply) XXX_DiscardUnknown added in v2.128.1

func (m *ConversationOpen_Reply) XXX_DiscardUnknown()

func (*ConversationOpen_Reply) XXX_Marshal added in v2.128.1

func (m *ConversationOpen_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationOpen_Reply) XXX_Merge added in v2.128.1

func (m *ConversationOpen_Reply) XXX_Merge(src proto.Message)

func (*ConversationOpen_Reply) XXX_Size added in v2.128.1

func (m *ConversationOpen_Reply) XXX_Size() int

func (*ConversationOpen_Reply) XXX_Unmarshal added in v2.128.1

func (m *ConversationOpen_Reply) XXX_Unmarshal(b []byte) error

type ConversationOpen_Request added in v2.128.1

type ConversationOpen_Request struct {
	GroupPK string `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
}

func (*ConversationOpen_Request) Descriptor added in v2.128.1

func (*ConversationOpen_Request) Descriptor() ([]byte, []int)

func (*ConversationOpen_Request) GetGroupPK added in v2.128.1

func (m *ConversationOpen_Request) GetGroupPK() string

func (*ConversationOpen_Request) ProtoMessage added in v2.128.1

func (*ConversationOpen_Request) ProtoMessage()

func (*ConversationOpen_Request) Reset added in v2.128.1

func (m *ConversationOpen_Request) Reset()

func (*ConversationOpen_Request) String added in v2.128.1

func (m *ConversationOpen_Request) String() string

func (*ConversationOpen_Request) XXX_DiscardUnknown added in v2.128.1

func (m *ConversationOpen_Request) XXX_DiscardUnknown()

func (*ConversationOpen_Request) XXX_Marshal added in v2.128.1

func (m *ConversationOpen_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationOpen_Request) XXX_Merge added in v2.128.1

func (m *ConversationOpen_Request) XXX_Merge(src proto.Message)

func (*ConversationOpen_Request) XXX_Size added in v2.128.1

func (m *ConversationOpen_Request) XXX_Size() int

func (*ConversationOpen_Request) XXX_Unmarshal added in v2.128.1

func (m *ConversationOpen_Request) XXX_Unmarshal(b []byte) error

type ConversationReplicationInfo added in v2.171.0

type ConversationReplicationInfo struct {
	CID                   string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty" gorm:"primaryKey;column:cid"`
	ConversationPublicKey string `` /* 126-byte string literal not displayed */
	MemberPublicKey       string `protobuf:"bytes,3,opt,name=member_public_key,json=memberPublicKey,proto3" json:"member_public_key,omitempty"`
	AuthenticationURL     string `protobuf:"bytes,4,opt,name=authentication_url,json=authenticationUrl,proto3" json:"authentication_url,omitempty"`
	ReplicationServer     string `protobuf:"bytes,5,opt,name=replication_server,json=replicationServer,proto3" json:"replication_server,omitempty"`
}

func (*ConversationReplicationInfo) Descriptor added in v2.171.0

func (*ConversationReplicationInfo) Descriptor() ([]byte, []int)

func (*ConversationReplicationInfo) GetAuthenticationURL added in v2.171.0

func (m *ConversationReplicationInfo) GetAuthenticationURL() string

func (*ConversationReplicationInfo) GetCID added in v2.171.0

func (m *ConversationReplicationInfo) GetCID() string

func (*ConversationReplicationInfo) GetConversationPublicKey added in v2.171.0

func (m *ConversationReplicationInfo) GetConversationPublicKey() string

func (*ConversationReplicationInfo) GetMemberPublicKey added in v2.171.0

func (m *ConversationReplicationInfo) GetMemberPublicKey() string

func (*ConversationReplicationInfo) GetReplicationServer added in v2.171.0

func (m *ConversationReplicationInfo) GetReplicationServer() string

func (*ConversationReplicationInfo) ProtoMessage added in v2.171.0

func (*ConversationReplicationInfo) ProtoMessage()

func (*ConversationReplicationInfo) Reset added in v2.171.0

func (m *ConversationReplicationInfo) Reset()

func (*ConversationReplicationInfo) String added in v2.171.0

func (m *ConversationReplicationInfo) String() string

func (*ConversationReplicationInfo) XXX_DiscardUnknown added in v2.171.0

func (m *ConversationReplicationInfo) XXX_DiscardUnknown()

func (*ConversationReplicationInfo) XXX_Marshal added in v2.171.0

func (m *ConversationReplicationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationReplicationInfo) XXX_Merge added in v2.171.0

func (m *ConversationReplicationInfo) XXX_Merge(src proto.Message)

func (*ConversationReplicationInfo) XXX_Size added in v2.171.0

func (m *ConversationReplicationInfo) XXX_Size() int

func (*ConversationReplicationInfo) XXX_Unmarshal added in v2.171.0

func (m *ConversationReplicationInfo) XXX_Unmarshal(b []byte) error

type ConversationStream added in v2.120.0

type ConversationStream struct {
}

func (*ConversationStream) Descriptor added in v2.120.0

func (*ConversationStream) Descriptor() ([]byte, []int)

func (*ConversationStream) ProtoMessage added in v2.120.0

func (*ConversationStream) ProtoMessage()

func (*ConversationStream) Reset added in v2.120.0

func (m *ConversationStream) Reset()

func (*ConversationStream) String added in v2.120.0

func (m *ConversationStream) String() string

func (*ConversationStream) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationStream) XXX_DiscardUnknown()

func (*ConversationStream) XXX_Marshal added in v2.120.0

func (m *ConversationStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationStream) XXX_Merge added in v2.120.0

func (m *ConversationStream) XXX_Merge(src proto.Message)

func (*ConversationStream) XXX_Size added in v2.120.0

func (m *ConversationStream) XXX_Size() int

func (*ConversationStream) XXX_Unmarshal added in v2.120.0

func (m *ConversationStream) XXX_Unmarshal(b []byte) error

type ConversationStream_Reply added in v2.120.0

type ConversationStream_Reply struct {
	Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
}

func (*ConversationStream_Reply) Descriptor added in v2.120.0

func (*ConversationStream_Reply) Descriptor() ([]byte, []int)

func (*ConversationStream_Reply) GetConversation added in v2.120.0

func (m *ConversationStream_Reply) GetConversation() *Conversation

func (*ConversationStream_Reply) ProtoMessage added in v2.120.0

func (*ConversationStream_Reply) ProtoMessage()

func (*ConversationStream_Reply) Reset added in v2.120.0

func (m *ConversationStream_Reply) Reset()

func (*ConversationStream_Reply) String added in v2.120.0

func (m *ConversationStream_Reply) String() string

func (*ConversationStream_Reply) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationStream_Reply) XXX_DiscardUnknown()

func (*ConversationStream_Reply) XXX_Marshal added in v2.120.0

func (m *ConversationStream_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationStream_Reply) XXX_Merge added in v2.120.0

func (m *ConversationStream_Reply) XXX_Merge(src proto.Message)

func (*ConversationStream_Reply) XXX_Size added in v2.120.0

func (m *ConversationStream_Reply) XXX_Size() int

func (*ConversationStream_Reply) XXX_Unmarshal added in v2.120.0

func (m *ConversationStream_Reply) XXX_Unmarshal(b []byte) error

type ConversationStream_Request added in v2.120.0

type ConversationStream_Request struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Page  uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
}

func (*ConversationStream_Request) Descriptor added in v2.120.0

func (*ConversationStream_Request) Descriptor() ([]byte, []int)

func (*ConversationStream_Request) GetCount added in v2.120.0

func (m *ConversationStream_Request) GetCount() uint64

func (*ConversationStream_Request) GetPage added in v2.120.0

func (m *ConversationStream_Request) GetPage() uint64

func (*ConversationStream_Request) ProtoMessage added in v2.120.0

func (*ConversationStream_Request) ProtoMessage()

func (*ConversationStream_Request) Reset added in v2.120.0

func (m *ConversationStream_Request) Reset()

func (*ConversationStream_Request) String added in v2.120.0

func (m *ConversationStream_Request) String() string

func (*ConversationStream_Request) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationStream_Request) XXX_DiscardUnknown()

func (*ConversationStream_Request) XXX_Marshal added in v2.120.0

func (m *ConversationStream_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationStream_Request) XXX_Merge added in v2.120.0

func (m *ConversationStream_Request) XXX_Merge(src proto.Message)

func (*ConversationStream_Request) XXX_Size added in v2.120.0

func (m *ConversationStream_Request) XXX_Size() int

func (*ConversationStream_Request) XXX_Unmarshal added in v2.120.0

func (m *ConversationStream_Request) XXX_Unmarshal(b []byte) error

type Conversation_Type added in v2.126.3

type Conversation_Type int32
const (
	Conversation_Undefined       Conversation_Type = 0
	Conversation_AccountType     Conversation_Type = 1
	Conversation_ContactType     Conversation_Type = 2
	Conversation_MultiMemberType Conversation_Type = 3
)

func (Conversation_Type) EnumDescriptor added in v2.126.3

func (Conversation_Type) EnumDescriptor() ([]byte, []int)

func (Conversation_Type) String added in v2.126.3

func (x Conversation_Type) String() string

type DevShareInstanceBertyID

type DevShareInstanceBertyID struct {
}

func (*DevShareInstanceBertyID) Descriptor

func (*DevShareInstanceBertyID) Descriptor() ([]byte, []int)

func (*DevShareInstanceBertyID) ProtoMessage

func (*DevShareInstanceBertyID) ProtoMessage()

func (*DevShareInstanceBertyID) Reset

func (m *DevShareInstanceBertyID) Reset()

func (*DevShareInstanceBertyID) String

func (m *DevShareInstanceBertyID) String() string

func (*DevShareInstanceBertyID) XXX_DiscardUnknown

func (m *DevShareInstanceBertyID) XXX_DiscardUnknown()

func (*DevShareInstanceBertyID) XXX_Marshal

func (m *DevShareInstanceBertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevShareInstanceBertyID) XXX_Merge

func (m *DevShareInstanceBertyID) XXX_Merge(src proto.Message)

func (*DevShareInstanceBertyID) XXX_Size

func (m *DevShareInstanceBertyID) XXX_Size() int

func (*DevShareInstanceBertyID) XXX_Unmarshal

func (m *DevShareInstanceBertyID) XXX_Unmarshal(b []byte) error

type DevShareInstanceBertyID_Reply

type DevShareInstanceBertyID_Reply struct {
}

func (*DevShareInstanceBertyID_Reply) Descriptor

func (*DevShareInstanceBertyID_Reply) Descriptor() ([]byte, []int)

func (*DevShareInstanceBertyID_Reply) ProtoMessage

func (*DevShareInstanceBertyID_Reply) ProtoMessage()

func (*DevShareInstanceBertyID_Reply) Reset

func (m *DevShareInstanceBertyID_Reply) Reset()

func (*DevShareInstanceBertyID_Reply) String

func (*DevShareInstanceBertyID_Reply) XXX_DiscardUnknown

func (m *DevShareInstanceBertyID_Reply) XXX_DiscardUnknown()

func (*DevShareInstanceBertyID_Reply) XXX_Marshal

func (m *DevShareInstanceBertyID_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevShareInstanceBertyID_Reply) XXX_Merge

func (m *DevShareInstanceBertyID_Reply) XXX_Merge(src proto.Message)

func (*DevShareInstanceBertyID_Reply) XXX_Size

func (m *DevShareInstanceBertyID_Reply) XXX_Size() int

func (*DevShareInstanceBertyID_Reply) XXX_Unmarshal

func (m *DevShareInstanceBertyID_Reply) XXX_Unmarshal(b []byte) error

type DevShareInstanceBertyID_Request

type DevShareInstanceBertyID_Request struct {
	// reset will regenerate a new link
	Reset_      bool   `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*DevShareInstanceBertyID_Request) Descriptor

func (*DevShareInstanceBertyID_Request) Descriptor() ([]byte, []int)

func (*DevShareInstanceBertyID_Request) GetDisplayName

func (m *DevShareInstanceBertyID_Request) GetDisplayName() string

func (*DevShareInstanceBertyID_Request) GetReset_

func (m *DevShareInstanceBertyID_Request) GetReset_() bool

func (*DevShareInstanceBertyID_Request) ProtoMessage

func (*DevShareInstanceBertyID_Request) ProtoMessage()

func (*DevShareInstanceBertyID_Request) Reset

func (*DevShareInstanceBertyID_Request) String

func (*DevShareInstanceBertyID_Request) XXX_DiscardUnknown

func (m *DevShareInstanceBertyID_Request) XXX_DiscardUnknown()

func (*DevShareInstanceBertyID_Request) XXX_Marshal

func (m *DevShareInstanceBertyID_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevShareInstanceBertyID_Request) XXX_Merge

func (m *DevShareInstanceBertyID_Request) XXX_Merge(src proto.Message)

func (*DevShareInstanceBertyID_Request) XXX_Size

func (m *DevShareInstanceBertyID_Request) XXX_Size() int

func (*DevShareInstanceBertyID_Request) XXX_Unmarshal

func (m *DevShareInstanceBertyID_Request) XXX_Unmarshal(b []byte) error

type Device added in v2.120.0

type Device struct {
	PublicKey       string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	MemberPublicKey string `protobuf:"bytes,2,opt,name=member_public_key,json=memberPublicKey,proto3" json:"member_public_key,omitempty" gorm:"index"`
}

func (*Device) Descriptor added in v2.120.0

func (*Device) Descriptor() ([]byte, []int)

func (*Device) GetMemberPublicKey added in v2.163.0

func (m *Device) GetMemberPublicKey() string

func (*Device) GetPublicKey added in v2.120.0

func (m *Device) GetPublicKey() string

func (*Device) ProtoMessage added in v2.120.0

func (*Device) ProtoMessage()

func (*Device) Reset added in v2.120.0

func (m *Device) Reset()

func (*Device) String added in v2.120.0

func (m *Device) String() string

func (*Device) XXX_DiscardUnknown added in v2.120.0

func (m *Device) XXX_DiscardUnknown()

func (*Device) XXX_Marshal added in v2.120.0

func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Device) XXX_Merge added in v2.120.0

func (m *Device) XXX_Merge(src proto.Message)

func (*Device) XXX_Size added in v2.120.0

func (m *Device) XXX_Size() int

func (*Device) XXX_Unmarshal added in v2.120.0

func (m *Device) XXX_Unmarshal(b []byte) error

type Dispatcher added in v2.120.0

type Dispatcher struct {
	// contains filtered or unexported fields
}

func NewDispatcher added in v2.120.0

func NewDispatcher() *Dispatcher

func (*Dispatcher) Notify added in v2.143.0

func (d *Dispatcher) Notify(typ StreamEvent_Notified_Type, title, body string, msg proto.Message) error

func (*Dispatcher) Register added in v2.120.0

func (d *Dispatcher) Register(n Notifiee) func()

func (*Dispatcher) StreamEvent added in v2.120.0

func (d *Dispatcher) StreamEvent(typ StreamEvent_Type, msg proto.Message, isNew bool) error

func (*Dispatcher) Unregister added in v2.120.0

func (d *Dispatcher) Unregister(n Notifiee)

func (*Dispatcher) UnregisterAll added in v2.143.0

func (d *Dispatcher) UnregisterAll()

type EchoTest added in v2.121.0

type EchoTest struct {
}

func (*EchoTest) Descriptor added in v2.121.0

func (*EchoTest) Descriptor() ([]byte, []int)

func (*EchoTest) ProtoMessage added in v2.121.0

func (*EchoTest) ProtoMessage()

func (*EchoTest) Reset added in v2.121.0

func (m *EchoTest) Reset()

func (*EchoTest) String added in v2.121.0

func (m *EchoTest) String() string

func (*EchoTest) XXX_DiscardUnknown added in v2.121.0

func (m *EchoTest) XXX_DiscardUnknown()

func (*EchoTest) XXX_Marshal added in v2.121.0

func (m *EchoTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoTest) XXX_Merge added in v2.121.0

func (m *EchoTest) XXX_Merge(src proto.Message)

func (*EchoTest) XXX_Size added in v2.121.0

func (m *EchoTest) XXX_Size() int

func (*EchoTest) XXX_Unmarshal added in v2.121.0

func (m *EchoTest) XXX_Unmarshal(b []byte) error

type EchoTest_Reply added in v2.121.0

type EchoTest_Reply struct {
	Echo string `protobuf:"bytes,1,opt,name=echo,proto3" json:"echo,omitempty"`
}

func (*EchoTest_Reply) Descriptor added in v2.121.0

func (*EchoTest_Reply) Descriptor() ([]byte, []int)

func (*EchoTest_Reply) GetEcho added in v2.121.0

func (m *EchoTest_Reply) GetEcho() string

func (*EchoTest_Reply) ProtoMessage added in v2.121.0

func (*EchoTest_Reply) ProtoMessage()

func (*EchoTest_Reply) Reset added in v2.121.0

func (m *EchoTest_Reply) Reset()

func (*EchoTest_Reply) String added in v2.121.0

func (m *EchoTest_Reply) String() string

func (*EchoTest_Reply) XXX_DiscardUnknown added in v2.121.0

func (m *EchoTest_Reply) XXX_DiscardUnknown()

func (*EchoTest_Reply) XXX_Marshal added in v2.121.0

func (m *EchoTest_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoTest_Reply) XXX_Merge added in v2.121.0

func (m *EchoTest_Reply) XXX_Merge(src proto.Message)

func (*EchoTest_Reply) XXX_Size added in v2.121.0

func (m *EchoTest_Reply) XXX_Size() int

func (*EchoTest_Reply) XXX_Unmarshal added in v2.121.0

func (m *EchoTest_Reply) XXX_Unmarshal(b []byte) error

type EchoTest_Request added in v2.121.0

type EchoTest_Request struct {
	Delay uint64 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
	Echo  string `protobuf:"bytes,2,opt,name=echo,proto3" json:"echo,omitempty"`
}

func (*EchoTest_Request) Descriptor added in v2.121.0

func (*EchoTest_Request) Descriptor() ([]byte, []int)

func (*EchoTest_Request) GetDelay added in v2.121.0

func (m *EchoTest_Request) GetDelay() uint64

func (*EchoTest_Request) GetEcho added in v2.121.0

func (m *EchoTest_Request) GetEcho() string

func (*EchoTest_Request) ProtoMessage added in v2.121.0

func (*EchoTest_Request) ProtoMessage()

func (*EchoTest_Request) Reset added in v2.121.0

func (m *EchoTest_Request) Reset()

func (*EchoTest_Request) String added in v2.121.0

func (m *EchoTest_Request) String() string

func (*EchoTest_Request) XXX_DiscardUnknown added in v2.121.0

func (m *EchoTest_Request) XXX_DiscardUnknown()

func (*EchoTest_Request) XXX_Marshal added in v2.121.0

func (m *EchoTest_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EchoTest_Request) XXX_Merge added in v2.121.0

func (m *EchoTest_Request) XXX_Merge(src proto.Message)

func (*EchoTest_Request) XXX_Size added in v2.121.0

func (m *EchoTest_Request) XXX_Size() int

func (*EchoTest_Request) XXX_Unmarshal added in v2.121.0

func (m *EchoTest_Request) XXX_Unmarshal(b []byte) error

type EventStream added in v2.120.0

type EventStream struct {
}

func (*EventStream) Descriptor added in v2.120.0

func (*EventStream) Descriptor() ([]byte, []int)

func (*EventStream) ProtoMessage added in v2.120.0

func (*EventStream) ProtoMessage()

func (*EventStream) Reset added in v2.120.0

func (m *EventStream) Reset()

func (*EventStream) String added in v2.120.0

func (m *EventStream) String() string

func (*EventStream) XXX_DiscardUnknown added in v2.120.0

func (m *EventStream) XXX_DiscardUnknown()

func (*EventStream) XXX_Marshal added in v2.120.0

func (m *EventStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStream) XXX_Merge added in v2.120.0

func (m *EventStream) XXX_Merge(src proto.Message)

func (*EventStream) XXX_Size added in v2.120.0

func (m *EventStream) XXX_Size() int

func (*EventStream) XXX_Unmarshal added in v2.120.0

func (m *EventStream) XXX_Unmarshal(b []byte) error

type EventStream_Reply added in v2.120.0

type EventStream_Reply struct {
	Event *StreamEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
}

func (*EventStream_Reply) Descriptor added in v2.120.0

func (*EventStream_Reply) Descriptor() ([]byte, []int)

func (*EventStream_Reply) GetEvent added in v2.120.0

func (m *EventStream_Reply) GetEvent() *StreamEvent

func (*EventStream_Reply) ProtoMessage added in v2.120.0

func (*EventStream_Reply) ProtoMessage()

func (*EventStream_Reply) Reset added in v2.120.0

func (m *EventStream_Reply) Reset()

func (*EventStream_Reply) String added in v2.120.0

func (m *EventStream_Reply) String() string

func (*EventStream_Reply) XXX_DiscardUnknown added in v2.120.0

func (m *EventStream_Reply) XXX_DiscardUnknown()

func (*EventStream_Reply) XXX_Marshal added in v2.120.0

func (m *EventStream_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStream_Reply) XXX_Merge added in v2.120.0

func (m *EventStream_Reply) XXX_Merge(src proto.Message)

func (*EventStream_Reply) XXX_Size added in v2.120.0

func (m *EventStream_Reply) XXX_Size() int

func (*EventStream_Reply) XXX_Unmarshal added in v2.120.0

func (m *EventStream_Reply) XXX_Unmarshal(b []byte) error

type EventStream_Request added in v2.120.0

type EventStream_Request struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Page  uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
}

func (*EventStream_Request) Descriptor added in v2.120.0

func (*EventStream_Request) Descriptor() ([]byte, []int)

func (*EventStream_Request) GetCount added in v2.120.0

func (m *EventStream_Request) GetCount() uint64

func (*EventStream_Request) GetPage added in v2.120.0

func (m *EventStream_Request) GetPage() uint64

func (*EventStream_Request) ProtoMessage added in v2.120.0

func (*EventStream_Request) ProtoMessage()

func (*EventStream_Request) Reset added in v2.120.0

func (m *EventStream_Request) Reset()

func (*EventStream_Request) String added in v2.120.0

func (m *EventStream_Request) String() string

func (*EventStream_Request) XXX_DiscardUnknown added in v2.120.0

func (m *EventStream_Request) XXX_DiscardUnknown()

func (*EventStream_Request) XXX_Marshal added in v2.120.0

func (m *EventStream_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStream_Request) XXX_Merge added in v2.120.0

func (m *EventStream_Request) XXX_Merge(src proto.Message)

func (*EventStream_Request) XXX_Size added in v2.120.0

func (m *EventStream_Request) XXX_Size() int

func (*EventStream_Request) XXX_Unmarshal added in v2.120.0

func (m *EventStream_Request) XXX_Unmarshal(b []byte) error

type GetUsername added in v2.165.0

type GetUsername struct {
}

func (*GetUsername) Descriptor added in v2.165.0

func (*GetUsername) Descriptor() ([]byte, []int)

func (*GetUsername) ProtoMessage added in v2.165.0

func (*GetUsername) ProtoMessage()

func (*GetUsername) Reset added in v2.165.0

func (m *GetUsername) Reset()

func (*GetUsername) String added in v2.165.0

func (m *GetUsername) String() string

func (*GetUsername) XXX_DiscardUnknown added in v2.165.0

func (m *GetUsername) XXX_DiscardUnknown()

func (*GetUsername) XXX_Marshal added in v2.165.0

func (m *GetUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUsername) XXX_Merge added in v2.165.0

func (m *GetUsername) XXX_Merge(src proto.Message)

func (*GetUsername) XXX_Size added in v2.165.0

func (m *GetUsername) XXX_Size() int

func (*GetUsername) XXX_Unmarshal added in v2.165.0

func (m *GetUsername) XXX_Unmarshal(b []byte) error

type GetUsername_Reply added in v2.165.0

type GetUsername_Reply struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
}

func (*GetUsername_Reply) Descriptor added in v2.165.0

func (*GetUsername_Reply) Descriptor() ([]byte, []int)

func (*GetUsername_Reply) GetUsername added in v2.165.0

func (m *GetUsername_Reply) GetUsername() string

func (*GetUsername_Reply) ProtoMessage added in v2.165.0

func (*GetUsername_Reply) ProtoMessage()

func (*GetUsername_Reply) Reset added in v2.165.0

func (m *GetUsername_Reply) Reset()

func (*GetUsername_Reply) String added in v2.165.0

func (m *GetUsername_Reply) String() string

func (*GetUsername_Reply) XXX_DiscardUnknown added in v2.165.0

func (m *GetUsername_Reply) XXX_DiscardUnknown()

func (*GetUsername_Reply) XXX_Marshal added in v2.165.0

func (m *GetUsername_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUsername_Reply) XXX_Merge added in v2.165.0

func (m *GetUsername_Reply) XXX_Merge(src proto.Message)

func (*GetUsername_Reply) XXX_Size added in v2.165.0

func (m *GetUsername_Reply) XXX_Size() int

func (*GetUsername_Reply) XXX_Unmarshal added in v2.165.0

func (m *GetUsername_Reply) XXX_Unmarshal(b []byte) error

type GetUsername_Request added in v2.165.0

type GetUsername_Request struct {
}

func (*GetUsername_Request) Descriptor added in v2.165.0

func (*GetUsername_Request) Descriptor() ([]byte, []int)

func (*GetUsername_Request) ProtoMessage added in v2.165.0

func (*GetUsername_Request) ProtoMessage()

func (*GetUsername_Request) Reset added in v2.165.0

func (m *GetUsername_Request) Reset()

func (*GetUsername_Request) String added in v2.165.0

func (m *GetUsername_Request) String() string

func (*GetUsername_Request) XXX_DiscardUnknown added in v2.165.0

func (m *GetUsername_Request) XXX_DiscardUnknown()

func (*GetUsername_Request) XXX_Marshal added in v2.165.0

func (m *GetUsername_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetUsername_Request) XXX_Merge added in v2.165.0

func (m *GetUsername_Request) XXX_Merge(src proto.Message)

func (*GetUsername_Request) XXX_Size added in v2.165.0

func (m *GetUsername_Request) XXX_Size() int

func (*GetUsername_Request) XXX_Unmarshal added in v2.165.0

func (m *GetUsername_Request) XXX_Unmarshal(b []byte) error

type InstanceShareableBertyID

type InstanceShareableBertyID struct {
}

func (*InstanceShareableBertyID) Descriptor

func (*InstanceShareableBertyID) Descriptor() ([]byte, []int)

func (*InstanceShareableBertyID) ProtoMessage

func (*InstanceShareableBertyID) ProtoMessage()

func (*InstanceShareableBertyID) Reset

func (m *InstanceShareableBertyID) Reset()

func (*InstanceShareableBertyID) String

func (m *InstanceShareableBertyID) String() string

func (*InstanceShareableBertyID) XXX_DiscardUnknown

func (m *InstanceShareableBertyID) XXX_DiscardUnknown()

func (*InstanceShareableBertyID) XXX_Marshal

func (m *InstanceShareableBertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceShareableBertyID) XXX_Merge

func (m *InstanceShareableBertyID) XXX_Merge(src proto.Message)

func (*InstanceShareableBertyID) XXX_Size

func (m *InstanceShareableBertyID) XXX_Size() int

func (*InstanceShareableBertyID) XXX_Unmarshal

func (m *InstanceShareableBertyID) XXX_Unmarshal(b []byte) error

type InstanceShareableBertyID_Reply

type InstanceShareableBertyID_Reply struct {
	BertyID        *BertyID `protobuf:"bytes,1,opt,name=berty_id,json=bertyId,proto3" json:"berty_id,omitempty"`
	BertyIDPayload string   `protobuf:"bytes,2,opt,name=berty_id_payload,json=bertyIdPayload,proto3" json:"berty_id_payload,omitempty"`
	DeepLink       string   `protobuf:"bytes,3,opt,name=deep_link,json=deepLink,proto3" json:"deep_link,omitempty"`
	HTMLURL        string   `protobuf:"bytes,4,opt,name=html_url,json=htmlUrl,proto3" json:"html_url,omitempty"`
}

func (*InstanceShareableBertyID_Reply) Descriptor

func (*InstanceShareableBertyID_Reply) Descriptor() ([]byte, []int)

func (*InstanceShareableBertyID_Reply) GetBertyID

func (m *InstanceShareableBertyID_Reply) GetBertyID() *BertyID

func (*InstanceShareableBertyID_Reply) GetBertyIDPayload added in v2.66.0

func (m *InstanceShareableBertyID_Reply) GetBertyIDPayload() string
func (m *InstanceShareableBertyID_Reply) GetDeepLink() string

func (*InstanceShareableBertyID_Reply) GetHTMLURL

func (m *InstanceShareableBertyID_Reply) GetHTMLURL() string

func (*InstanceShareableBertyID_Reply) ProtoMessage

func (*InstanceShareableBertyID_Reply) ProtoMessage()

func (*InstanceShareableBertyID_Reply) Reset

func (m *InstanceShareableBertyID_Reply) Reset()

func (*InstanceShareableBertyID_Reply) String

func (*InstanceShareableBertyID_Reply) XXX_DiscardUnknown

func (m *InstanceShareableBertyID_Reply) XXX_DiscardUnknown()

func (*InstanceShareableBertyID_Reply) XXX_Marshal

func (m *InstanceShareableBertyID_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceShareableBertyID_Reply) XXX_Merge

func (m *InstanceShareableBertyID_Reply) XXX_Merge(src proto.Message)

func (*InstanceShareableBertyID_Reply) XXX_Size

func (m *InstanceShareableBertyID_Reply) XXX_Size() int

func (*InstanceShareableBertyID_Reply) XXX_Unmarshal

func (m *InstanceShareableBertyID_Reply) XXX_Unmarshal(b []byte) error

type InstanceShareableBertyID_Request

type InstanceShareableBertyID_Request struct {
	// reset will regenerate a new link
	Reset_      bool   `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*InstanceShareableBertyID_Request) Descriptor

func (*InstanceShareableBertyID_Request) Descriptor() ([]byte, []int)

func (*InstanceShareableBertyID_Request) GetDisplayName

func (m *InstanceShareableBertyID_Request) GetDisplayName() string

func (*InstanceShareableBertyID_Request) GetReset_

func (m *InstanceShareableBertyID_Request) GetReset_() bool

func (*InstanceShareableBertyID_Request) ProtoMessage

func (*InstanceShareableBertyID_Request) ProtoMessage()

func (*InstanceShareableBertyID_Request) Reset

func (*InstanceShareableBertyID_Request) String

func (*InstanceShareableBertyID_Request) XXX_DiscardUnknown

func (m *InstanceShareableBertyID_Request) XXX_DiscardUnknown()

func (*InstanceShareableBertyID_Request) XXX_Marshal

func (m *InstanceShareableBertyID_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceShareableBertyID_Request) XXX_Merge

func (*InstanceShareableBertyID_Request) XXX_Size

func (m *InstanceShareableBertyID_Request) XXX_Size() int

func (*InstanceShareableBertyID_Request) XXX_Unmarshal

func (m *InstanceShareableBertyID_Request) XXX_Unmarshal(b []byte) error

type Interact added in v2.122.0

type Interact struct {
}

func (*Interact) Descriptor added in v2.122.0

func (*Interact) Descriptor() ([]byte, []int)

func (*Interact) ProtoMessage added in v2.122.0

func (*Interact) ProtoMessage()

func (*Interact) Reset added in v2.122.0

func (m *Interact) Reset()

func (*Interact) String added in v2.122.0

func (m *Interact) String() string

func (*Interact) XXX_DiscardUnknown added in v2.122.0

func (m *Interact) XXX_DiscardUnknown()

func (*Interact) XXX_Marshal added in v2.122.0

func (m *Interact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interact) XXX_Merge added in v2.122.0

func (m *Interact) XXX_Merge(src proto.Message)

func (*Interact) XXX_Size added in v2.122.0

func (m *Interact) XXX_Size() int

func (*Interact) XXX_Unmarshal added in v2.122.0

func (m *Interact) XXX_Unmarshal(b []byte) error

type Interact_Reply added in v2.122.0

type Interact_Reply struct {
}

func (*Interact_Reply) Descriptor added in v2.122.0

func (*Interact_Reply) Descriptor() ([]byte, []int)

func (*Interact_Reply) ProtoMessage added in v2.122.0

func (*Interact_Reply) ProtoMessage()

func (*Interact_Reply) Reset added in v2.122.0

func (m *Interact_Reply) Reset()

func (*Interact_Reply) String added in v2.122.0

func (m *Interact_Reply) String() string

func (*Interact_Reply) XXX_DiscardUnknown added in v2.122.0

func (m *Interact_Reply) XXX_DiscardUnknown()

func (*Interact_Reply) XXX_Marshal added in v2.122.0

func (m *Interact_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interact_Reply) XXX_Merge added in v2.122.0

func (m *Interact_Reply) XXX_Merge(src proto.Message)

func (*Interact_Reply) XXX_Size added in v2.122.0

func (m *Interact_Reply) XXX_Size() int

func (*Interact_Reply) XXX_Unmarshal added in v2.122.0

func (m *Interact_Reply) XXX_Unmarshal(b []byte) error

type Interact_Request added in v2.122.0

type Interact_Request struct {
	Type                  AppMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.AppMessage_Type" json:"type,omitempty"`
	Payload               []byte          `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	ConversationPublicKey string          `` /* 126-byte string literal not displayed */
}

func (*Interact_Request) Descriptor added in v2.122.0

func (*Interact_Request) Descriptor() ([]byte, []int)

func (*Interact_Request) GetConversationPublicKey added in v2.122.0

func (m *Interact_Request) GetConversationPublicKey() string

func (*Interact_Request) GetPayload added in v2.122.0

func (m *Interact_Request) GetPayload() []byte

func (*Interact_Request) GetType added in v2.122.0

func (m *Interact_Request) GetType() AppMessage_Type

func (*Interact_Request) ProtoMessage added in v2.122.0

func (*Interact_Request) ProtoMessage()

func (*Interact_Request) Reset added in v2.122.0

func (m *Interact_Request) Reset()

func (*Interact_Request) String added in v2.122.0

func (m *Interact_Request) String() string

func (*Interact_Request) XXX_DiscardUnknown added in v2.122.0

func (m *Interact_Request) XXX_DiscardUnknown()

func (*Interact_Request) XXX_Marshal added in v2.122.0

func (m *Interact_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interact_Request) XXX_Merge added in v2.122.0

func (m *Interact_Request) XXX_Merge(src proto.Message)

func (*Interact_Request) XXX_Size added in v2.122.0

func (m *Interact_Request) XXX_Size() int

func (*Interact_Request) XXX_Unmarshal added in v2.122.0

func (m *Interact_Request) XXX_Unmarshal(b []byte) error

type Interaction added in v2.122.0

type Interaction struct {
	CID                   string          `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty" gorm:"primaryKey;column:cid"`
	Type                  AppMessage_Type `protobuf:"varint,2,opt,name=type,proto3,enum=berty.messenger.v1.AppMessage_Type" json:"type,omitempty" gorm:"index"`
	MemberPublicKey       string          `protobuf:"bytes,7,opt,name=member_public_key,json=memberPublicKey,proto3" json:"member_public_key,omitempty"`
	DevicePublicKey       string          `protobuf:"bytes,12,opt,name=device_public_key,json=devicePublicKey,proto3" json:"device_public_key,omitempty"`
	Member                *Member         `protobuf:"bytes,8,opt,name=member,proto3" json:"member,omitempty"`
	ConversationPublicKey string          `` /* 139-byte string literal not displayed */
	Conversation          *Conversation   `protobuf:"bytes,4,opt,name=conversation,proto3" json:"conversation,omitempty"`
	Payload               []byte          `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	IsMe                  bool            `protobuf:"varint,6,opt,name=is_me,json=isMe,proto3" json:"is_me,omitempty"`
	SentDate              int64           `protobuf:"varint,9,opt,name=sent_date,json=sentDate,proto3" json:"sent_date,omitempty"`
	Acknowledged          bool            `protobuf:"varint,10,opt,name=acknowledged,proto3" json:"acknowledged,omitempty"`
	TargetCID             string          `protobuf:"bytes,13,opt,name=target_cid,json=targetCid,proto3" json:"target_cid,omitempty" gorm:"index;column:target_cid"`
}

func (*Interaction) Descriptor added in v2.122.0

func (*Interaction) Descriptor() ([]byte, []int)

func (*Interaction) GetAcknowledged added in v2.130.2

func (m *Interaction) GetAcknowledged() bool

func (*Interaction) GetCID added in v2.126.1

func (m *Interaction) GetCID() string

func (*Interaction) GetConversation added in v2.122.0

func (m *Interaction) GetConversation() *Conversation

func (*Interaction) GetConversationPublicKey added in v2.122.0

func (m *Interaction) GetConversationPublicKey() string

func (*Interaction) GetDevicePublicKey added in v2.130.2

func (m *Interaction) GetDevicePublicKey() string

func (*Interaction) GetIsMe added in v2.122.0

func (m *Interaction) GetIsMe() bool

func (*Interaction) GetMember added in v2.126.6

func (m *Interaction) GetMember() *Member

func (*Interaction) GetMemberPublicKey added in v2.126.6

func (m *Interaction) GetMemberPublicKey() string

func (*Interaction) GetPayload added in v2.122.0

func (m *Interaction) GetPayload() []byte

func (*Interaction) GetSentDate added in v2.128.1

func (m *Interaction) GetSentDate() int64

func (*Interaction) GetTargetCID added in v2.163.0

func (m *Interaction) GetTargetCID() string

func (*Interaction) GetType added in v2.122.0

func (m *Interaction) GetType() AppMessage_Type

func (*Interaction) MarshalJSON added in v2.126.3

func (interaction *Interaction) MarshalJSON() ([]byte, error)

func (*Interaction) ProtoMessage added in v2.122.0

func (*Interaction) ProtoMessage()

func (*Interaction) Reset added in v2.122.0

func (m *Interaction) Reset()

func (*Interaction) String added in v2.122.0

func (m *Interaction) String() string

func (*Interaction) UnmarshalPayload added in v2.126.1

func (interaction *Interaction) UnmarshalPayload() (proto.Message, error)

func (*Interaction) XXX_DiscardUnknown added in v2.122.0

func (m *Interaction) XXX_DiscardUnknown()

func (*Interaction) XXX_Marshal added in v2.122.0

func (m *Interaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interaction) XXX_Merge added in v2.122.0

func (m *Interaction) XXX_Merge(src proto.Message)

func (*Interaction) XXX_Size added in v2.122.0

func (m *Interaction) XXX_Size() int

func (*Interaction) XXX_Unmarshal added in v2.122.0

func (m *Interaction) XXX_Unmarshal(b []byte) error

type Member added in v2.120.0

type Member struct {
	PublicKey             string        `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primaryKey"`
	DisplayName           string        `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	ConversationPublicKey string        `` /* 144-byte string literal not displayed */
	Conversation          *Conversation `protobuf:"bytes,4,opt,name=conversation,proto3" json:"conversation,omitempty"`
	Devices               []*Device     `protobuf:"bytes,5,rep,name=devices,proto3" json:"devices,omitempty"`
}

func (*Member) Descriptor added in v2.120.0

func (*Member) Descriptor() ([]byte, []int)

func (*Member) GetConversation added in v2.126.6

func (m *Member) GetConversation() *Conversation

func (*Member) GetConversationPublicKey added in v2.126.6

func (m *Member) GetConversationPublicKey() string

func (*Member) GetDevices added in v2.126.6

func (m *Member) GetDevices() []*Device

func (*Member) GetDisplayName added in v2.120.0

func (m *Member) GetDisplayName() string

func (*Member) GetPublicKey added in v2.120.0

func (m *Member) GetPublicKey() string

func (*Member) ProtoMessage added in v2.120.0

func (*Member) ProtoMessage()

func (*Member) Reset added in v2.120.0

func (m *Member) Reset()

func (*Member) String added in v2.120.0

func (m *Member) String() string

func (*Member) XXX_DiscardUnknown added in v2.120.0

func (m *Member) XXX_DiscardUnknown()

func (*Member) XXX_Marshal added in v2.120.0

func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Member) XXX_Merge added in v2.120.0

func (m *Member) XXX_Merge(src proto.Message)

func (*Member) XXX_Size added in v2.120.0

func (m *Member) XXX_Size() int

func (*Member) XXX_Unmarshal added in v2.120.0

func (m *Member) XXX_Unmarshal(b []byte) error

type MessengerServiceClient

type MessengerServiceClient interface {
	// InstanceShareableBertyID returns a Berty ID that can be shared as a string, QR code or deep link.
	InstanceShareableBertyID(ctx context.Context, in *InstanceShareableBertyID_Request, opts ...grpc.CallOption) (*InstanceShareableBertyID_Reply, error)
	// ShareableBertyGroup returns a Berty Group that can be shared as a string, QR code or deep link.
	ShareableBertyGroup(ctx context.Context, in *ShareableBertyGroup_Request, opts ...grpc.CallOption) (*ShareableBertyGroup_Reply, error)
	// DevShareInstanceBertyID shares your Berty ID on a dev channel.
	// TODO: remove for public.
	DevShareInstanceBertyID(ctx context.Context, in *DevShareInstanceBertyID_Request, opts ...grpc.CallOption) (*DevShareInstanceBertyID_Reply, error)
	// ParseDeepLink parses a link in the form of berty://xxx or https://berty.tech/id# and returns a structure
	// that can be used to display information.
	// This action is read-only.
	ParseDeepLink(ctx context.Context, in *ParseDeepLink_Request, opts ...grpc.CallOption) (*ParseDeepLink_Reply, error)
	// SendContactRequest takes the payload received from ParseDeepLink and send a contact request using the Berty Protocol.
	SendContactRequest(ctx context.Context, in *SendContactRequest_Request, opts ...grpc.CallOption) (*SendContactRequest_Reply, error)
	// SendMessage sends a message to a group.
	SendMessage(ctx context.Context, in *SendMessage_Request, opts ...grpc.CallOption) (*SendMessage_Reply, error)
	// SendReplyOptions sends a list of prefilled response options to a group.
	SendReplyOptions(ctx context.Context, in *SendReplyOptions_Request, opts ...grpc.CallOption) (*SendReplyOptions_Reply, error)
	// SendAck sends an acknowledge payload for given message id.
	SendAck(ctx context.Context, in *SendAck_Request, opts ...grpc.CallOption) (*SendAck_Reply, error)
	// SystemInfo returns runtime information.
	SystemInfo(ctx context.Context, in *SystemInfo_Request, opts ...grpc.CallOption) (*SystemInfo_Reply, error)
	// Use to test stream.
	EchoTest(ctx context.Context, in *EchoTest_Request, opts ...grpc.CallOption) (MessengerService_EchoTestClient, error)
	ConversationStream(ctx context.Context, in *ConversationStream_Request, opts ...grpc.CallOption) (MessengerService_ConversationStreamClient, error)
	EventStream(ctx context.Context, in *EventStream_Request, opts ...grpc.CallOption) (MessengerService_EventStreamClient, error)
	ConversationCreate(ctx context.Context, in *ConversationCreate_Request, opts ...grpc.CallOption) (*ConversationCreate_Reply, error)
	ConversationJoin(ctx context.Context, in *ConversationJoin_Request, opts ...grpc.CallOption) (*ConversationJoin_Reply, error)
	AccountGet(ctx context.Context, in *AccountGet_Request, opts ...grpc.CallOption) (*AccountGet_Reply, error)
	AccountUpdate(ctx context.Context, in *AccountUpdate_Request, opts ...grpc.CallOption) (*AccountUpdate_Reply, error)
	ContactRequest(ctx context.Context, in *ContactRequest_Request, opts ...grpc.CallOption) (*ContactRequest_Reply, error)
	ContactAccept(ctx context.Context, in *ContactAccept_Request, opts ...grpc.CallOption) (*ContactAccept_Reply, error)
	Interact(ctx context.Context, in *Interact_Request, opts ...grpc.CallOption) (*Interact_Reply, error)
	ConversationOpen(ctx context.Context, in *ConversationOpen_Request, opts ...grpc.CallOption) (*ConversationOpen_Reply, error)
	ConversationClose(ctx context.Context, in *ConversationClose_Request, opts ...grpc.CallOption) (*ConversationClose_Reply, error)
	// AuthServiceInitFlow Initialize an authentication flow
	AuthServiceInitFlow(ctx context.Context, in *bertytypes.AuthServiceInitFlow_Request, opts ...grpc.CallOption) (*bertytypes.AuthServiceInitFlow_Reply, error)
	// AuthServiceCompleteFlow Completes an authentication flow
	AuthServiceCompleteFlow(ctx context.Context, in *bertytypes.AuthServiceCompleteFlow_Request, opts ...grpc.CallOption) (*bertytypes.AuthServiceCompleteFlow_Reply, error)
	// ServicesTokenList Retrieves the list of service server tokens
	ServicesTokenList(ctx context.Context, in *bertytypes.ServicesTokenList_Request, opts ...grpc.CallOption) (MessengerService_ServicesTokenListClient, error)
	// ReplicationServiceRegisterGroup Asks a replication service to distribute a group contents
	ReplicationServiceRegisterGroup(ctx context.Context, in *ReplicationServiceRegisterGroup_Request, opts ...grpc.CallOption) (*ReplicationServiceRegisterGroup_Reply, error)
	// ReplicationSetAutoEnable Sets whether new groups should be replicated automatically or not
	ReplicationSetAutoEnable(ctx context.Context, in *ReplicationSetAutoEnable_Request, opts ...grpc.CallOption) (*ReplicationSetAutoEnable_Reply, error)
	// BannerQuote returns the quote of the day.
	BannerQuote(ctx context.Context, in *BannerQuote_Request, opts ...grpc.CallOption) (*BannerQuote_Reply, error)
	// GetUsername returns the name of the device/user using Android/iOS/universal API
	GetUsername(ctx context.Context, in *GetUsername_Request, opts ...grpc.CallOption) (*GetUsername_Reply, error)
}

MessengerServiceClient is the client API for MessengerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMessengerServiceClient

func NewMessengerServiceClient(cc *grpc.ClientConn) MessengerServiceClient

func TestingInfra added in v2.172.0

func TestingInfra(ctx context.Context, t *testing.T, amount int, logger *zap.Logger) ([]MessengerServiceClient, func())

type MessengerServiceServer

type MessengerServiceServer interface {
	// InstanceShareableBertyID returns a Berty ID that can be shared as a string, QR code or deep link.
	InstanceShareableBertyID(context.Context, *InstanceShareableBertyID_Request) (*InstanceShareableBertyID_Reply, error)
	// ShareableBertyGroup returns a Berty Group that can be shared as a string, QR code or deep link.
	ShareableBertyGroup(context.Context, *ShareableBertyGroup_Request) (*ShareableBertyGroup_Reply, error)
	// DevShareInstanceBertyID shares your Berty ID on a dev channel.
	// TODO: remove for public.
	DevShareInstanceBertyID(context.Context, *DevShareInstanceBertyID_Request) (*DevShareInstanceBertyID_Reply, error)
	// ParseDeepLink parses a link in the form of berty://xxx or https://berty.tech/id# and returns a structure
	// that can be used to display information.
	// This action is read-only.
	ParseDeepLink(context.Context, *ParseDeepLink_Request) (*ParseDeepLink_Reply, error)
	// SendContactRequest takes the payload received from ParseDeepLink and send a contact request using the Berty Protocol.
	SendContactRequest(context.Context, *SendContactRequest_Request) (*SendContactRequest_Reply, error)
	// SendMessage sends a message to a group.
	SendMessage(context.Context, *SendMessage_Request) (*SendMessage_Reply, error)
	// SendReplyOptions sends a list of prefilled response options to a group.
	SendReplyOptions(context.Context, *SendReplyOptions_Request) (*SendReplyOptions_Reply, error)
	// SendAck sends an acknowledge payload for given message id.
	SendAck(context.Context, *SendAck_Request) (*SendAck_Reply, error)
	// SystemInfo returns runtime information.
	SystemInfo(context.Context, *SystemInfo_Request) (*SystemInfo_Reply, error)
	// Use to test stream.
	EchoTest(*EchoTest_Request, MessengerService_EchoTestServer) error
	ConversationStream(*ConversationStream_Request, MessengerService_ConversationStreamServer) error
	EventStream(*EventStream_Request, MessengerService_EventStreamServer) error
	ConversationCreate(context.Context, *ConversationCreate_Request) (*ConversationCreate_Reply, error)
	ConversationJoin(context.Context, *ConversationJoin_Request) (*ConversationJoin_Reply, error)
	AccountGet(context.Context, *AccountGet_Request) (*AccountGet_Reply, error)
	AccountUpdate(context.Context, *AccountUpdate_Request) (*AccountUpdate_Reply, error)
	ContactRequest(context.Context, *ContactRequest_Request) (*ContactRequest_Reply, error)
	ContactAccept(context.Context, *ContactAccept_Request) (*ContactAccept_Reply, error)
	Interact(context.Context, *Interact_Request) (*Interact_Reply, error)
	ConversationOpen(context.Context, *ConversationOpen_Request) (*ConversationOpen_Reply, error)
	ConversationClose(context.Context, *ConversationClose_Request) (*ConversationClose_Reply, error)
	// AuthServiceInitFlow Initialize an authentication flow
	AuthServiceInitFlow(context.Context, *bertytypes.AuthServiceInitFlow_Request) (*bertytypes.AuthServiceInitFlow_Reply, error)
	// AuthServiceCompleteFlow Completes an authentication flow
	AuthServiceCompleteFlow(context.Context, *bertytypes.AuthServiceCompleteFlow_Request) (*bertytypes.AuthServiceCompleteFlow_Reply, error)
	// ServicesTokenList Retrieves the list of service server tokens
	ServicesTokenList(*bertytypes.ServicesTokenList_Request, MessengerService_ServicesTokenListServer) error
	// ReplicationServiceRegisterGroup Asks a replication service to distribute a group contents
	ReplicationServiceRegisterGroup(context.Context, *ReplicationServiceRegisterGroup_Request) (*ReplicationServiceRegisterGroup_Reply, error)
	// ReplicationSetAutoEnable Sets whether new groups should be replicated automatically or not
	ReplicationSetAutoEnable(context.Context, *ReplicationSetAutoEnable_Request) (*ReplicationSetAutoEnable_Reply, error)
	// BannerQuote returns the quote of the day.
	BannerQuote(context.Context, *BannerQuote_Request) (*BannerQuote_Reply, error)
	// GetUsername returns the name of the device/user using Android/iOS/universal API
	GetUsername(context.Context, *GetUsername_Request) (*GetUsername_Reply, error)
}

MessengerServiceServer is the server API for MessengerService service.

func TestingService

func TestingService(ctx context.Context, t *testing.T, opts *TestingServiceOpts) (MessengerServiceServer, func())

type MessengerService_ConversationStreamClient added in v2.120.0

type MessengerService_ConversationStreamClient interface {
	Recv() (*ConversationStream_Reply, error)
	grpc.ClientStream
}

type MessengerService_ConversationStreamServer added in v2.120.0

type MessengerService_ConversationStreamServer interface {
	Send(*ConversationStream_Reply) error
	grpc.ServerStream
}

type MessengerService_EchoTestClient added in v2.121.0

type MessengerService_EchoTestClient interface {
	Recv() (*EchoTest_Reply, error)
	grpc.ClientStream
}

type MessengerService_EchoTestServer added in v2.121.0

type MessengerService_EchoTestServer interface {
	Send(*EchoTest_Reply) error
	grpc.ServerStream
}

type MessengerService_EventStreamClient added in v2.120.0

type MessengerService_EventStreamClient interface {
	Recv() (*EventStream_Reply, error)
	grpc.ClientStream
}

type MessengerService_EventStreamServer added in v2.120.0

type MessengerService_EventStreamServer interface {
	Send(*EventStream_Reply) error
	grpc.ServerStream
}

type MessengerService_ServicesTokenListClient added in v2.136.0

type MessengerService_ServicesTokenListClient interface {
	Recv() (*bertytypes.ServicesTokenList_Reply, error)
	grpc.ClientStream
}

type MessengerService_ServicesTokenListServer added in v2.136.0

type MessengerService_ServicesTokenListServer interface {
	Send(*bertytypes.ServicesTokenList_Reply) error
	grpc.ServerStream
}

type Notifiee added in v2.120.0

type Notifiee interface {
	StreamEvent(*StreamEvent) error
}

Notifiee system inspired from ipfs

type NotifieeBundle added in v2.120.0

type NotifieeBundle struct {
	StreamEventImpl func(c *StreamEvent) error
}

func (*NotifieeBundle) StreamEvent added in v2.120.0

func (nb *NotifieeBundle) StreamEvent(c *StreamEvent) error

type Opts

type Opts struct {
	Logger              *zap.Logger
	DB                  *gorm.DB
	NotificationManager notification.Manager
	LifeCycleManager    *lifecycle.Manager
}
type ParseDeepLink struct {
}

func (*ParseDeepLink) Descriptor added in v2.66.0

func (*ParseDeepLink) Descriptor() ([]byte, []int)

func (*ParseDeepLink) ProtoMessage added in v2.66.0

func (*ParseDeepLink) ProtoMessage()

func (*ParseDeepLink) Reset added in v2.66.0

func (m *ParseDeepLink) Reset()

func (*ParseDeepLink) String added in v2.66.0

func (m *ParseDeepLink) String() string

func (*ParseDeepLink) XXX_DiscardUnknown added in v2.66.0

func (m *ParseDeepLink) XXX_DiscardUnknown()

func (*ParseDeepLink) XXX_Marshal added in v2.66.0

func (m *ParseDeepLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParseDeepLink) XXX_Merge added in v2.66.0

func (m *ParseDeepLink) XXX_Merge(src proto.Message)

func (*ParseDeepLink) XXX_Size added in v2.66.0

func (m *ParseDeepLink) XXX_Size() int

func (*ParseDeepLink) XXX_Unmarshal added in v2.66.0

func (m *ParseDeepLink) XXX_Unmarshal(b []byte) error
type ParseDeepLink_Kind int32
const (
	ParseDeepLink_UnknownKind ParseDeepLink_Kind = 0
	ParseDeepLink_BertyID     ParseDeepLink_Kind = 1
	ParseDeepLink_BertyGroup  ParseDeepLink_Kind = 2
)
func (ParseDeepLink_Kind) EnumDescriptor() ([]byte, []int)
func (x ParseDeepLink_Kind) String() string
type ParseDeepLink_Reply struct {
	Kind       ParseDeepLink_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=berty.messenger.v1.ParseDeepLink_Kind" json:"kind,omitempty"`
	BertyID    *BertyID           `protobuf:"bytes,3,opt,name=berty_id,json=bertyId,proto3" json:"berty_id,omitempty"`
	BertyGroup *BertyGroup        `protobuf:"bytes,4,opt,name=berty_group,json=bertyGroup,proto3" json:"berty_group,omitempty"`
}

func ParseGroupInviteURLQuery added in v2.85.0

func ParseGroupInviteURLQuery(query url.Values) (*ParseDeepLink_Reply, error)
func (*ParseDeepLink_Reply) Descriptor() ([]byte, []int)
func (m *ParseDeepLink_Reply) GetBertyGroup() *BertyGroup
func (m *ParseDeepLink_Reply) GetBertyID() *BertyID
func (*ParseDeepLink_Reply) ProtoMessage()
func (m *ParseDeepLink_Reply) Reset()
func (m *ParseDeepLink_Reply) String() string
func (m *ParseDeepLink_Reply) XXX_DiscardUnknown()
func (m *ParseDeepLink_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ParseDeepLink_Reply) XXX_Merge(src proto.Message)
func (m *ParseDeepLink_Reply) XXX_Size() int
func (m *ParseDeepLink_Reply) XXX_Unmarshal(b []byte) error
type ParseDeepLink_Request struct {
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
}
func (*ParseDeepLink_Request) Descriptor() ([]byte, []int)
func (m *ParseDeepLink_Request) GetLink() string
func (*ParseDeepLink_Request) ProtoMessage()
func (m *ParseDeepLink_Request) Reset()
func (m *ParseDeepLink_Request) String() string
func (m *ParseDeepLink_Request) XXX_DiscardUnknown()
func (m *ParseDeepLink_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ParseDeepLink_Request) XXX_Merge(src proto.Message)
func (m *ParseDeepLink_Request) XXX_Size() int
func (m *ParseDeepLink_Request) XXX_Unmarshal(b []byte) error

type ReplicationServiceRegisterGroup added in v2.154.0

type ReplicationServiceRegisterGroup struct {
}

func (*ReplicationServiceRegisterGroup) Descriptor added in v2.154.0

func (*ReplicationServiceRegisterGroup) Descriptor() ([]byte, []int)

func (*ReplicationServiceRegisterGroup) ProtoMessage added in v2.154.0

func (*ReplicationServiceRegisterGroup) ProtoMessage()

func (*ReplicationServiceRegisterGroup) Reset added in v2.154.0

func (*ReplicationServiceRegisterGroup) String added in v2.154.0

func (*ReplicationServiceRegisterGroup) XXX_DiscardUnknown added in v2.154.0

func (m *ReplicationServiceRegisterGroup) XXX_DiscardUnknown()

func (*ReplicationServiceRegisterGroup) XXX_Marshal added in v2.154.0

func (m *ReplicationServiceRegisterGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationServiceRegisterGroup) XXX_Merge added in v2.154.0

func (m *ReplicationServiceRegisterGroup) XXX_Merge(src proto.Message)

func (*ReplicationServiceRegisterGroup) XXX_Size added in v2.154.0

func (m *ReplicationServiceRegisterGroup) XXX_Size() int

func (*ReplicationServiceRegisterGroup) XXX_Unmarshal added in v2.154.0

func (m *ReplicationServiceRegisterGroup) XXX_Unmarshal(b []byte) error

type ReplicationServiceRegisterGroup_Reply added in v2.154.0

type ReplicationServiceRegisterGroup_Reply struct {
}

func (*ReplicationServiceRegisterGroup_Reply) Descriptor added in v2.154.0

func (*ReplicationServiceRegisterGroup_Reply) Descriptor() ([]byte, []int)

func (*ReplicationServiceRegisterGroup_Reply) ProtoMessage added in v2.154.0

func (*ReplicationServiceRegisterGroup_Reply) ProtoMessage()

func (*ReplicationServiceRegisterGroup_Reply) Reset added in v2.154.0

func (*ReplicationServiceRegisterGroup_Reply) String added in v2.154.0

func (*ReplicationServiceRegisterGroup_Reply) XXX_DiscardUnknown added in v2.154.0

func (m *ReplicationServiceRegisterGroup_Reply) XXX_DiscardUnknown()

func (*ReplicationServiceRegisterGroup_Reply) XXX_Marshal added in v2.154.0

func (m *ReplicationServiceRegisterGroup_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationServiceRegisterGroup_Reply) XXX_Merge added in v2.154.0

func (*ReplicationServiceRegisterGroup_Reply) XXX_Size added in v2.154.0

func (*ReplicationServiceRegisterGroup_Reply) XXX_Unmarshal added in v2.154.0

func (m *ReplicationServiceRegisterGroup_Reply) XXX_Unmarshal(b []byte) error

type ReplicationServiceRegisterGroup_Request added in v2.154.0

type ReplicationServiceRegisterGroup_Request struct {
	TokenID               string `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"`
	ConversationPublicKey string `` /* 126-byte string literal not displayed */
}

func (*ReplicationServiceRegisterGroup_Request) Descriptor added in v2.154.0

func (*ReplicationServiceRegisterGroup_Request) Descriptor() ([]byte, []int)

func (*ReplicationServiceRegisterGroup_Request) GetConversationPublicKey added in v2.154.0

func (m *ReplicationServiceRegisterGroup_Request) GetConversationPublicKey() string

func (*ReplicationServiceRegisterGroup_Request) GetTokenID added in v2.154.0

func (*ReplicationServiceRegisterGroup_Request) ProtoMessage added in v2.154.0

func (*ReplicationServiceRegisterGroup_Request) Reset added in v2.154.0

func (*ReplicationServiceRegisterGroup_Request) String added in v2.154.0

func (*ReplicationServiceRegisterGroup_Request) XXX_DiscardUnknown added in v2.154.0

func (m *ReplicationServiceRegisterGroup_Request) XXX_DiscardUnknown()

func (*ReplicationServiceRegisterGroup_Request) XXX_Marshal added in v2.154.0

func (m *ReplicationServiceRegisterGroup_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationServiceRegisterGroup_Request) XXX_Merge added in v2.154.0

func (*ReplicationServiceRegisterGroup_Request) XXX_Size added in v2.154.0

func (*ReplicationServiceRegisterGroup_Request) XXX_Unmarshal added in v2.154.0

func (m *ReplicationServiceRegisterGroup_Request) XXX_Unmarshal(b []byte) error

type ReplicationSetAutoEnable added in v2.171.0

type ReplicationSetAutoEnable struct {
}

func (*ReplicationSetAutoEnable) Descriptor added in v2.171.0

func (*ReplicationSetAutoEnable) Descriptor() ([]byte, []int)

func (*ReplicationSetAutoEnable) ProtoMessage added in v2.171.0

func (*ReplicationSetAutoEnable) ProtoMessage()

func (*ReplicationSetAutoEnable) Reset added in v2.171.0

func (m *ReplicationSetAutoEnable) Reset()

func (*ReplicationSetAutoEnable) String added in v2.171.0

func (m *ReplicationSetAutoEnable) String() string

func (*ReplicationSetAutoEnable) XXX_DiscardUnknown added in v2.171.0

func (m *ReplicationSetAutoEnable) XXX_DiscardUnknown()

func (*ReplicationSetAutoEnable) XXX_Marshal added in v2.171.0

func (m *ReplicationSetAutoEnable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationSetAutoEnable) XXX_Merge added in v2.171.0

func (m *ReplicationSetAutoEnable) XXX_Merge(src proto.Message)

func (*ReplicationSetAutoEnable) XXX_Size added in v2.171.0

func (m *ReplicationSetAutoEnable) XXX_Size() int

func (*ReplicationSetAutoEnable) XXX_Unmarshal added in v2.171.0

func (m *ReplicationSetAutoEnable) XXX_Unmarshal(b []byte) error

type ReplicationSetAutoEnable_Reply added in v2.171.0

type ReplicationSetAutoEnable_Reply struct {
}

func (*ReplicationSetAutoEnable_Reply) Descriptor added in v2.171.0

func (*ReplicationSetAutoEnable_Reply) Descriptor() ([]byte, []int)

func (*ReplicationSetAutoEnable_Reply) ProtoMessage added in v2.171.0

func (*ReplicationSetAutoEnable_Reply) ProtoMessage()

func (*ReplicationSetAutoEnable_Reply) Reset added in v2.171.0

func (m *ReplicationSetAutoEnable_Reply) Reset()

func (*ReplicationSetAutoEnable_Reply) String added in v2.171.0

func (*ReplicationSetAutoEnable_Reply) XXX_DiscardUnknown added in v2.171.0

func (m *ReplicationSetAutoEnable_Reply) XXX_DiscardUnknown()

func (*ReplicationSetAutoEnable_Reply) XXX_Marshal added in v2.171.0

func (m *ReplicationSetAutoEnable_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationSetAutoEnable_Reply) XXX_Merge added in v2.171.0

func (m *ReplicationSetAutoEnable_Reply) XXX_Merge(src proto.Message)

func (*ReplicationSetAutoEnable_Reply) XXX_Size added in v2.171.0

func (m *ReplicationSetAutoEnable_Reply) XXX_Size() int

func (*ReplicationSetAutoEnable_Reply) XXX_Unmarshal added in v2.171.0

func (m *ReplicationSetAutoEnable_Reply) XXX_Unmarshal(b []byte) error

type ReplicationSetAutoEnable_Request added in v2.171.0

type ReplicationSetAutoEnable_Request struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

func (*ReplicationSetAutoEnable_Request) Descriptor added in v2.171.0

func (*ReplicationSetAutoEnable_Request) Descriptor() ([]byte, []int)

func (*ReplicationSetAutoEnable_Request) GetEnabled added in v2.171.0

func (m *ReplicationSetAutoEnable_Request) GetEnabled() bool

func (*ReplicationSetAutoEnable_Request) ProtoMessage added in v2.171.0

func (*ReplicationSetAutoEnable_Request) ProtoMessage()

func (*ReplicationSetAutoEnable_Request) Reset added in v2.171.0

func (*ReplicationSetAutoEnable_Request) String added in v2.171.0

func (*ReplicationSetAutoEnable_Request) XXX_DiscardUnknown added in v2.171.0

func (m *ReplicationSetAutoEnable_Request) XXX_DiscardUnknown()

func (*ReplicationSetAutoEnable_Request) XXX_Marshal added in v2.171.0

func (m *ReplicationSetAutoEnable_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicationSetAutoEnable_Request) XXX_Merge added in v2.171.0

func (*ReplicationSetAutoEnable_Request) XXX_Size added in v2.171.0

func (m *ReplicationSetAutoEnable_Request) XXX_Size() int

func (*ReplicationSetAutoEnable_Request) XXX_Unmarshal added in v2.171.0

func (m *ReplicationSetAutoEnable_Request) XXX_Unmarshal(b []byte) error

type ReplyOption added in v2.166.0

type ReplyOption struct {
	Display string `protobuf:"bytes,1,opt,name=display,proto3" json:"display,omitempty"`
	Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*ReplyOption) Descriptor added in v2.166.0

func (*ReplyOption) Descriptor() ([]byte, []int)

func (*ReplyOption) GetDisplay added in v2.166.0

func (m *ReplyOption) GetDisplay() string

func (*ReplyOption) GetPayload added in v2.166.0

func (m *ReplyOption) GetPayload() string

func (*ReplyOption) ProtoMessage added in v2.166.0

func (*ReplyOption) ProtoMessage()

func (*ReplyOption) Reset added in v2.166.0

func (m *ReplyOption) Reset()

func (*ReplyOption) String added in v2.166.0

func (m *ReplyOption) String() string

func (*ReplyOption) XXX_DiscardUnknown added in v2.166.0

func (m *ReplyOption) XXX_DiscardUnknown()

func (*ReplyOption) XXX_Marshal added in v2.166.0

func (m *ReplyOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyOption) XXX_Merge added in v2.166.0

func (m *ReplyOption) XXX_Merge(src proto.Message)

func (*ReplyOption) XXX_Size added in v2.166.0

func (m *ReplyOption) XXX_Size() int

func (*ReplyOption) XXX_Unmarshal added in v2.166.0

func (m *ReplyOption) XXX_Unmarshal(b []byte) error

type SendAck added in v2.85.0

type SendAck struct {
}

func (*SendAck) Descriptor added in v2.85.0

func (*SendAck) Descriptor() ([]byte, []int)

func (*SendAck) ProtoMessage added in v2.85.0

func (*SendAck) ProtoMessage()

func (*SendAck) Reset added in v2.85.0

func (m *SendAck) Reset()

func (*SendAck) String added in v2.85.0

func (m *SendAck) String() string

func (*SendAck) XXX_DiscardUnknown added in v2.85.0

func (m *SendAck) XXX_DiscardUnknown()

func (*SendAck) XXX_Marshal added in v2.85.0

func (m *SendAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendAck) XXX_Merge added in v2.85.0

func (m *SendAck) XXX_Merge(src proto.Message)

func (*SendAck) XXX_Size added in v2.85.0

func (m *SendAck) XXX_Size() int

func (*SendAck) XXX_Unmarshal added in v2.85.0

func (m *SendAck) XXX_Unmarshal(b []byte) error

type SendAck_Reply added in v2.85.0

type SendAck_Reply struct {
}

func (*SendAck_Reply) Descriptor added in v2.85.0

func (*SendAck_Reply) Descriptor() ([]byte, []int)

func (*SendAck_Reply) ProtoMessage added in v2.85.0

func (*SendAck_Reply) ProtoMessage()

func (*SendAck_Reply) Reset added in v2.85.0

func (m *SendAck_Reply) Reset()

func (*SendAck_Reply) String added in v2.85.0

func (m *SendAck_Reply) String() string

func (*SendAck_Reply) XXX_DiscardUnknown added in v2.85.0

func (m *SendAck_Reply) XXX_DiscardUnknown()

func (*SendAck_Reply) XXX_Marshal added in v2.85.0

func (m *SendAck_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendAck_Reply) XXX_Merge added in v2.85.0

func (m *SendAck_Reply) XXX_Merge(src proto.Message)

func (*SendAck_Reply) XXX_Size added in v2.85.0

func (m *SendAck_Reply) XXX_Size() int

func (*SendAck_Reply) XXX_Unmarshal added in v2.85.0

func (m *SendAck_Reply) XXX_Unmarshal(b []byte) error

type SendAck_Request added in v2.85.0

type SendAck_Request struct {
	GroupPK   []byte `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	MessageID []byte `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
}

func (*SendAck_Request) Descriptor added in v2.85.0

func (*SendAck_Request) Descriptor() ([]byte, []int)

func (*SendAck_Request) GetGroupPK added in v2.85.0

func (m *SendAck_Request) GetGroupPK() []byte

func (*SendAck_Request) GetMessageID added in v2.85.0

func (m *SendAck_Request) GetMessageID() []byte

func (*SendAck_Request) ProtoMessage added in v2.85.0

func (*SendAck_Request) ProtoMessage()

func (*SendAck_Request) Reset added in v2.85.0

func (m *SendAck_Request) Reset()

func (*SendAck_Request) String added in v2.85.0

func (m *SendAck_Request) String() string

func (*SendAck_Request) XXX_DiscardUnknown added in v2.85.0

func (m *SendAck_Request) XXX_DiscardUnknown()

func (*SendAck_Request) XXX_Marshal added in v2.85.0

func (m *SendAck_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendAck_Request) XXX_Merge added in v2.85.0

func (m *SendAck_Request) XXX_Merge(src proto.Message)

func (*SendAck_Request) XXX_Size added in v2.85.0

func (m *SendAck_Request) XXX_Size() int

func (*SendAck_Request) XXX_Unmarshal added in v2.85.0

func (m *SendAck_Request) XXX_Unmarshal(b []byte) error

type SendContactRequest added in v2.66.0

type SendContactRequest struct {
}

func (*SendContactRequest) Descriptor added in v2.66.0

func (*SendContactRequest) Descriptor() ([]byte, []int)

func (*SendContactRequest) ProtoMessage added in v2.66.0

func (*SendContactRequest) ProtoMessage()

func (*SendContactRequest) Reset added in v2.66.0

func (m *SendContactRequest) Reset()

func (*SendContactRequest) String added in v2.66.0

func (m *SendContactRequest) String() string

func (*SendContactRequest) XXX_DiscardUnknown added in v2.66.0

func (m *SendContactRequest) XXX_DiscardUnknown()

func (*SendContactRequest) XXX_Marshal added in v2.66.0

func (m *SendContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendContactRequest) XXX_Merge added in v2.66.0

func (m *SendContactRequest) XXX_Merge(src proto.Message)

func (*SendContactRequest) XXX_Size added in v2.66.0

func (m *SendContactRequest) XXX_Size() int

func (*SendContactRequest) XXX_Unmarshal added in v2.66.0

func (m *SendContactRequest) XXX_Unmarshal(b []byte) error

type SendContactRequest_Reply added in v2.66.0

type SendContactRequest_Reply struct {
}

func (*SendContactRequest_Reply) Descriptor added in v2.66.0

func (*SendContactRequest_Reply) Descriptor() ([]byte, []int)

func (*SendContactRequest_Reply) ProtoMessage added in v2.66.0

func (*SendContactRequest_Reply) ProtoMessage()

func (*SendContactRequest_Reply) Reset added in v2.66.0

func (m *SendContactRequest_Reply) Reset()

func (*SendContactRequest_Reply) String added in v2.66.0

func (m *SendContactRequest_Reply) String() string

func (*SendContactRequest_Reply) XXX_DiscardUnknown added in v2.66.0

func (m *SendContactRequest_Reply) XXX_DiscardUnknown()

func (*SendContactRequest_Reply) XXX_Marshal added in v2.66.0

func (m *SendContactRequest_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendContactRequest_Reply) XXX_Merge added in v2.66.0

func (m *SendContactRequest_Reply) XXX_Merge(src proto.Message)

func (*SendContactRequest_Reply) XXX_Size added in v2.66.0

func (m *SendContactRequest_Reply) XXX_Size() int

func (*SendContactRequest_Reply) XXX_Unmarshal added in v2.66.0

func (m *SendContactRequest_Reply) XXX_Unmarshal(b []byte) error

type SendContactRequest_Request added in v2.66.0

type SendContactRequest_Request struct {
	BertyID     *BertyID `protobuf:"bytes,1,opt,name=berty_id,json=bertyId,proto3" json:"berty_id,omitempty"`
	Metadata    []byte   `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	OwnMetadata []byte   `protobuf:"bytes,3,opt,name=own_metadata,json=ownMetadata,proto3" json:"own_metadata,omitempty"`
}

func (*SendContactRequest_Request) Descriptor added in v2.66.0

func (*SendContactRequest_Request) Descriptor() ([]byte, []int)

func (*SendContactRequest_Request) GetBertyID added in v2.66.0

func (m *SendContactRequest_Request) GetBertyID() *BertyID

func (*SendContactRequest_Request) GetMetadata added in v2.66.0

func (m *SendContactRequest_Request) GetMetadata() []byte

func (*SendContactRequest_Request) GetOwnMetadata added in v2.72.1

func (m *SendContactRequest_Request) GetOwnMetadata() []byte

func (*SendContactRequest_Request) ProtoMessage added in v2.66.0

func (*SendContactRequest_Request) ProtoMessage()

func (*SendContactRequest_Request) Reset added in v2.66.0

func (m *SendContactRequest_Request) Reset()

func (*SendContactRequest_Request) String added in v2.66.0

func (m *SendContactRequest_Request) String() string

func (*SendContactRequest_Request) XXX_DiscardUnknown added in v2.66.0

func (m *SendContactRequest_Request) XXX_DiscardUnknown()

func (*SendContactRequest_Request) XXX_Marshal added in v2.66.0

func (m *SendContactRequest_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendContactRequest_Request) XXX_Merge added in v2.66.0

func (m *SendContactRequest_Request) XXX_Merge(src proto.Message)

func (*SendContactRequest_Request) XXX_Size added in v2.66.0

func (m *SendContactRequest_Request) XXX_Size() int

func (*SendContactRequest_Request) XXX_Unmarshal added in v2.66.0

func (m *SendContactRequest_Request) XXX_Unmarshal(b []byte) error

type SendMessage added in v2.85.0

type SendMessage struct {
}

func (*SendMessage) Descriptor added in v2.85.0

func (*SendMessage) Descriptor() ([]byte, []int)

func (*SendMessage) ProtoMessage added in v2.85.0

func (*SendMessage) ProtoMessage()

func (*SendMessage) Reset added in v2.85.0

func (m *SendMessage) Reset()

func (*SendMessage) String added in v2.85.0

func (m *SendMessage) String() string

func (*SendMessage) XXX_DiscardUnknown added in v2.85.0

func (m *SendMessage) XXX_DiscardUnknown()

func (*SendMessage) XXX_Marshal added in v2.85.0

func (m *SendMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessage) XXX_Merge added in v2.85.0

func (m *SendMessage) XXX_Merge(src proto.Message)

func (*SendMessage) XXX_Size added in v2.85.0

func (m *SendMessage) XXX_Size() int

func (*SendMessage) XXX_Unmarshal added in v2.85.0

func (m *SendMessage) XXX_Unmarshal(b []byte) error

type SendMessage_Reply added in v2.85.0

type SendMessage_Reply struct {
}

func (*SendMessage_Reply) Descriptor added in v2.85.0

func (*SendMessage_Reply) Descriptor() ([]byte, []int)

func (*SendMessage_Reply) ProtoMessage added in v2.85.0

func (*SendMessage_Reply) ProtoMessage()

func (*SendMessage_Reply) Reset added in v2.85.0

func (m *SendMessage_Reply) Reset()

func (*SendMessage_Reply) String added in v2.85.0

func (m *SendMessage_Reply) String() string

func (*SendMessage_Reply) XXX_DiscardUnknown added in v2.85.0

func (m *SendMessage_Reply) XXX_DiscardUnknown()

func (*SendMessage_Reply) XXX_Marshal added in v2.85.0

func (m *SendMessage_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessage_Reply) XXX_Merge added in v2.85.0

func (m *SendMessage_Reply) XXX_Merge(src proto.Message)

func (*SendMessage_Reply) XXX_Size added in v2.85.0

func (m *SendMessage_Reply) XXX_Size() int

func (*SendMessage_Reply) XXX_Unmarshal added in v2.85.0

func (m *SendMessage_Reply) XXX_Unmarshal(b []byte) error

type SendMessage_Request added in v2.85.0

type SendMessage_Request struct {
	GroupPK []byte `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*SendMessage_Request) Descriptor added in v2.85.0

func (*SendMessage_Request) Descriptor() ([]byte, []int)

func (*SendMessage_Request) GetGroupPK added in v2.85.0

func (m *SendMessage_Request) GetGroupPK() []byte

func (*SendMessage_Request) GetMessage added in v2.85.0

func (m *SendMessage_Request) GetMessage() string

func (*SendMessage_Request) ProtoMessage added in v2.85.0

func (*SendMessage_Request) ProtoMessage()

func (*SendMessage_Request) Reset added in v2.85.0

func (m *SendMessage_Request) Reset()

func (*SendMessage_Request) String added in v2.85.0

func (m *SendMessage_Request) String() string

func (*SendMessage_Request) XXX_DiscardUnknown added in v2.85.0

func (m *SendMessage_Request) XXX_DiscardUnknown()

func (*SendMessage_Request) XXX_Marshal added in v2.85.0

func (m *SendMessage_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessage_Request) XXX_Merge added in v2.85.0

func (m *SendMessage_Request) XXX_Merge(src proto.Message)

func (*SendMessage_Request) XXX_Size added in v2.85.0

func (m *SendMessage_Request) XXX_Size() int

func (*SendMessage_Request) XXX_Unmarshal added in v2.85.0

func (m *SendMessage_Request) XXX_Unmarshal(b []byte) error

type SendReplyOptions added in v2.166.0

type SendReplyOptions struct {
}

func (*SendReplyOptions) Descriptor added in v2.166.0

func (*SendReplyOptions) Descriptor() ([]byte, []int)

func (*SendReplyOptions) ProtoMessage added in v2.166.0

func (*SendReplyOptions) ProtoMessage()

func (*SendReplyOptions) Reset added in v2.166.0

func (m *SendReplyOptions) Reset()

func (*SendReplyOptions) String added in v2.166.0

func (m *SendReplyOptions) String() string

func (*SendReplyOptions) XXX_DiscardUnknown added in v2.166.0

func (m *SendReplyOptions) XXX_DiscardUnknown()

func (*SendReplyOptions) XXX_Marshal added in v2.166.0

func (m *SendReplyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendReplyOptions) XXX_Merge added in v2.166.0

func (m *SendReplyOptions) XXX_Merge(src proto.Message)

func (*SendReplyOptions) XXX_Size added in v2.166.0

func (m *SendReplyOptions) XXX_Size() int

func (*SendReplyOptions) XXX_Unmarshal added in v2.166.0

func (m *SendReplyOptions) XXX_Unmarshal(b []byte) error

type SendReplyOptions_Reply added in v2.166.0

type SendReplyOptions_Reply struct {
}

func (*SendReplyOptions_Reply) Descriptor added in v2.166.0

func (*SendReplyOptions_Reply) Descriptor() ([]byte, []int)

func (*SendReplyOptions_Reply) ProtoMessage added in v2.166.0

func (*SendReplyOptions_Reply) ProtoMessage()

func (*SendReplyOptions_Reply) Reset added in v2.166.0

func (m *SendReplyOptions_Reply) Reset()

func (*SendReplyOptions_Reply) String added in v2.166.0

func (m *SendReplyOptions_Reply) String() string

func (*SendReplyOptions_Reply) XXX_DiscardUnknown added in v2.166.0

func (m *SendReplyOptions_Reply) XXX_DiscardUnknown()

func (*SendReplyOptions_Reply) XXX_Marshal added in v2.166.0

func (m *SendReplyOptions_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendReplyOptions_Reply) XXX_Merge added in v2.166.0

func (m *SendReplyOptions_Reply) XXX_Merge(src proto.Message)

func (*SendReplyOptions_Reply) XXX_Size added in v2.166.0

func (m *SendReplyOptions_Reply) XXX_Size() int

func (*SendReplyOptions_Reply) XXX_Unmarshal added in v2.166.0

func (m *SendReplyOptions_Reply) XXX_Unmarshal(b []byte) error

type SendReplyOptions_Request added in v2.166.0

type SendReplyOptions_Request struct {
	GroupPK []byte                   `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	Options *AppMessage_ReplyOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
}

func (*SendReplyOptions_Request) Descriptor added in v2.166.0

func (*SendReplyOptions_Request) Descriptor() ([]byte, []int)

func (*SendReplyOptions_Request) GetGroupPK added in v2.166.0

func (m *SendReplyOptions_Request) GetGroupPK() []byte

func (*SendReplyOptions_Request) GetOptions added in v2.166.0

func (*SendReplyOptions_Request) ProtoMessage added in v2.166.0

func (*SendReplyOptions_Request) ProtoMessage()

func (*SendReplyOptions_Request) Reset added in v2.166.0

func (m *SendReplyOptions_Request) Reset()

func (*SendReplyOptions_Request) String added in v2.166.0

func (m *SendReplyOptions_Request) String() string

func (*SendReplyOptions_Request) XXX_DiscardUnknown added in v2.166.0

func (m *SendReplyOptions_Request) XXX_DiscardUnknown()

func (*SendReplyOptions_Request) XXX_Marshal added in v2.166.0

func (m *SendReplyOptions_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendReplyOptions_Request) XXX_Merge added in v2.166.0

func (m *SendReplyOptions_Request) XXX_Merge(src proto.Message)

func (*SendReplyOptions_Request) XXX_Size added in v2.166.0

func (m *SendReplyOptions_Request) XXX_Size() int

func (*SendReplyOptions_Request) XXX_Unmarshal added in v2.166.0

func (m *SendReplyOptions_Request) XXX_Unmarshal(b []byte) error

type Service added in v2.120.0

type Service interface {
	MessengerServiceServer
	Close()
}

func New

type ServiceToken added in v2.154.0

type ServiceToken struct {
	AccountPK         string `protobuf:"bytes,1,opt,name=account_pk,json=accountPk,proto3" json:"account_pk,omitempty"`
	TokenID           string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty" gorm:"primaryKey"`
	ServiceType       string `protobuf:"bytes,3,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty" gorm:"primaryKey"`
	AuthenticationURL string `protobuf:"bytes,4,opt,name=authentication_url,json=authenticationUrl,proto3" json:"authentication_url,omitempty"`
	Expiration        int64  `protobuf:"varint,5,opt,name=expiration,proto3" json:"expiration,omitempty"`
}

func (*ServiceToken) Descriptor added in v2.154.0

func (*ServiceToken) Descriptor() ([]byte, []int)

func (*ServiceToken) GetAccountPK added in v2.154.0

func (m *ServiceToken) GetAccountPK() string

func (*ServiceToken) GetAuthenticationURL added in v2.154.0

func (m *ServiceToken) GetAuthenticationURL() string

func (*ServiceToken) GetExpiration added in v2.154.0

func (m *ServiceToken) GetExpiration() int64

func (*ServiceToken) GetServiceType added in v2.154.0

func (m *ServiceToken) GetServiceType() string

func (*ServiceToken) GetTokenID added in v2.154.0

func (m *ServiceToken) GetTokenID() string

func (*ServiceToken) ProtoMessage added in v2.154.0

func (*ServiceToken) ProtoMessage()

func (*ServiceToken) Reset added in v2.154.0

func (m *ServiceToken) Reset()

func (*ServiceToken) String added in v2.154.0

func (m *ServiceToken) String() string

func (*ServiceToken) XXX_DiscardUnknown added in v2.154.0

func (m *ServiceToken) XXX_DiscardUnknown()

func (*ServiceToken) XXX_Marshal added in v2.154.0

func (m *ServiceToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceToken) XXX_Merge added in v2.154.0

func (m *ServiceToken) XXX_Merge(src proto.Message)

func (*ServiceToken) XXX_Size added in v2.154.0

func (m *ServiceToken) XXX_Size() int

func (*ServiceToken) XXX_Unmarshal added in v2.154.0

func (m *ServiceToken) XXX_Unmarshal(b []byte) error

type ShareableBertyGroup added in v2.85.0

type ShareableBertyGroup struct {
}

func (*ShareableBertyGroup) Descriptor added in v2.85.0

func (*ShareableBertyGroup) Descriptor() ([]byte, []int)

func (*ShareableBertyGroup) ProtoMessage added in v2.85.0

func (*ShareableBertyGroup) ProtoMessage()

func (*ShareableBertyGroup) Reset added in v2.85.0

func (m *ShareableBertyGroup) Reset()

func (*ShareableBertyGroup) String added in v2.85.0

func (m *ShareableBertyGroup) String() string

func (*ShareableBertyGroup) XXX_DiscardUnknown added in v2.85.0

func (m *ShareableBertyGroup) XXX_DiscardUnknown()

func (*ShareableBertyGroup) XXX_Marshal added in v2.85.0

func (m *ShareableBertyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShareableBertyGroup) XXX_Merge added in v2.85.0

func (m *ShareableBertyGroup) XXX_Merge(src proto.Message)

func (*ShareableBertyGroup) XXX_Size added in v2.85.0

func (m *ShareableBertyGroup) XXX_Size() int

func (*ShareableBertyGroup) XXX_Unmarshal added in v2.85.0

func (m *ShareableBertyGroup) XXX_Unmarshal(b []byte) error

type ShareableBertyGroup_Reply added in v2.85.0

type ShareableBertyGroup_Reply struct {
	BertyGroup        *BertyGroup `protobuf:"bytes,1,opt,name=berty_group,json=bertyGroup,proto3" json:"berty_group,omitempty"`
	BertyGroupPayload string      `protobuf:"bytes,2,opt,name=berty_group_payload,json=bertyGroupPayload,proto3" json:"berty_group_payload,omitempty"`
	DeepLink          string      `protobuf:"bytes,3,opt,name=deep_link,json=deepLink,proto3" json:"deep_link,omitempty"`
	HTMLURL           string      `protobuf:"bytes,4,opt,name=html_url,json=htmlUrl,proto3" json:"html_url,omitempty"`
}

func (*ShareableBertyGroup_Reply) Descriptor added in v2.85.0

func (*ShareableBertyGroup_Reply) Descriptor() ([]byte, []int)

func (*ShareableBertyGroup_Reply) GetBertyGroup added in v2.85.0

func (m *ShareableBertyGroup_Reply) GetBertyGroup() *BertyGroup

func (*ShareableBertyGroup_Reply) GetBertyGroupPayload added in v2.85.0

func (m *ShareableBertyGroup_Reply) GetBertyGroupPayload() string
func (m *ShareableBertyGroup_Reply) GetDeepLink() string

func (*ShareableBertyGroup_Reply) GetHTMLURL added in v2.85.0

func (m *ShareableBertyGroup_Reply) GetHTMLURL() string

func (*ShareableBertyGroup_Reply) ProtoMessage added in v2.85.0

func (*ShareableBertyGroup_Reply) ProtoMessage()

func (*ShareableBertyGroup_Reply) Reset added in v2.85.0

func (m *ShareableBertyGroup_Reply) Reset()

func (*ShareableBertyGroup_Reply) String added in v2.85.0

func (m *ShareableBertyGroup_Reply) String() string

func (*ShareableBertyGroup_Reply) XXX_DiscardUnknown added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_DiscardUnknown()

func (*ShareableBertyGroup_Reply) XXX_Marshal added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShareableBertyGroup_Reply) XXX_Merge added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_Merge(src proto.Message)

func (*ShareableBertyGroup_Reply) XXX_Size added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_Size() int

func (*ShareableBertyGroup_Reply) XXX_Unmarshal added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_Unmarshal(b []byte) error

type ShareableBertyGroup_Request added in v2.85.0

type ShareableBertyGroup_Request struct {
	GroupPK   []byte `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
}

func (*ShareableBertyGroup_Request) Descriptor added in v2.85.0

func (*ShareableBertyGroup_Request) Descriptor() ([]byte, []int)

func (*ShareableBertyGroup_Request) GetGroupName added in v2.85.0

func (m *ShareableBertyGroup_Request) GetGroupName() string

func (*ShareableBertyGroup_Request) GetGroupPK added in v2.85.0

func (m *ShareableBertyGroup_Request) GetGroupPK() []byte

func (*ShareableBertyGroup_Request) ProtoMessage added in v2.85.0

func (*ShareableBertyGroup_Request) ProtoMessage()

func (*ShareableBertyGroup_Request) Reset added in v2.85.0

func (m *ShareableBertyGroup_Request) Reset()

func (*ShareableBertyGroup_Request) String added in v2.85.0

func (m *ShareableBertyGroup_Request) String() string

func (*ShareableBertyGroup_Request) XXX_DiscardUnknown added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_DiscardUnknown()

func (*ShareableBertyGroup_Request) XXX_Marshal added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShareableBertyGroup_Request) XXX_Merge added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_Merge(src proto.Message)

func (*ShareableBertyGroup_Request) XXX_Size added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_Size() int

func (*ShareableBertyGroup_Request) XXX_Unmarshal added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_Unmarshal(b []byte) error

type StreamEvent added in v2.120.0

type StreamEvent struct {
	Type    StreamEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.StreamEvent_Type" json:"type,omitempty"`
	Payload []byte           `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// specific to "*Updated" events
	IsNew bool `protobuf:"varint,3,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"`
}

func (*StreamEvent) Descriptor added in v2.120.0

func (*StreamEvent) Descriptor() ([]byte, []int)

func (*StreamEvent) GetIsNew added in v2.176.1

func (m *StreamEvent) GetIsNew() bool

func (*StreamEvent) GetPayload added in v2.120.0

func (m *StreamEvent) GetPayload() []byte

func (*StreamEvent) GetType added in v2.120.0

func (m *StreamEvent) GetType() StreamEvent_Type

func (*StreamEvent) MarshalJSON added in v2.126.3

func (event *StreamEvent) MarshalJSON() ([]byte, error)

func (*StreamEvent) ProtoMessage added in v2.120.0

func (*StreamEvent) ProtoMessage()

func (*StreamEvent) Reset added in v2.120.0

func (m *StreamEvent) Reset()

func (*StreamEvent) String added in v2.120.0

func (m *StreamEvent) String() string

func (*StreamEvent) UnmarshalPayload added in v2.126.1

func (event *StreamEvent) UnmarshalPayload() (proto.Message, error)

func (*StreamEvent) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent) XXX_DiscardUnknown()

func (*StreamEvent) XXX_Marshal added in v2.120.0

func (m *StreamEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent) XXX_Merge added in v2.120.0

func (m *StreamEvent) XXX_Merge(src proto.Message)

func (*StreamEvent) XXX_Size added in v2.120.0

func (m *StreamEvent) XXX_Size() int

func (*StreamEvent) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent) XXX_Unmarshal(b []byte) error

type StreamEvent_AccountUpdated added in v2.122.0

type StreamEvent_AccountUpdated struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

func (*StreamEvent_AccountUpdated) Descriptor added in v2.122.0

func (*StreamEvent_AccountUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_AccountUpdated) GetAccount added in v2.122.0

func (m *StreamEvent_AccountUpdated) GetAccount() *Account

func (*StreamEvent_AccountUpdated) ProtoMessage added in v2.122.0

func (*StreamEvent_AccountUpdated) ProtoMessage()

func (*StreamEvent_AccountUpdated) Reset added in v2.122.0

func (m *StreamEvent_AccountUpdated) Reset()

func (*StreamEvent_AccountUpdated) String added in v2.122.0

func (m *StreamEvent_AccountUpdated) String() string

func (*StreamEvent_AccountUpdated) XXX_DiscardUnknown added in v2.122.0

func (m *StreamEvent_AccountUpdated) XXX_DiscardUnknown()

func (*StreamEvent_AccountUpdated) XXX_Marshal added in v2.122.0

func (m *StreamEvent_AccountUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_AccountUpdated) XXX_Merge added in v2.122.0

func (m *StreamEvent_AccountUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_AccountUpdated) XXX_Size added in v2.122.0

func (m *StreamEvent_AccountUpdated) XXX_Size() int

func (*StreamEvent_AccountUpdated) XXX_Unmarshal added in v2.122.0

func (m *StreamEvent_AccountUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_ContactUpdated added in v2.120.0

type StreamEvent_ContactUpdated struct {
	Contact *Contact `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact,omitempty"`
}

func (*StreamEvent_ContactUpdated) Descriptor added in v2.120.0

func (*StreamEvent_ContactUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_ContactUpdated) GetContact added in v2.120.0

func (m *StreamEvent_ContactUpdated) GetContact() *Contact

func (*StreamEvent_ContactUpdated) ProtoMessage added in v2.120.0

func (*StreamEvent_ContactUpdated) ProtoMessage()

func (*StreamEvent_ContactUpdated) Reset added in v2.120.0

func (m *StreamEvent_ContactUpdated) Reset()

func (*StreamEvent_ContactUpdated) String added in v2.120.0

func (m *StreamEvent_ContactUpdated) String() string

func (*StreamEvent_ContactUpdated) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_DiscardUnknown()

func (*StreamEvent_ContactUpdated) XXX_Marshal added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ContactUpdated) XXX_Merge added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_ContactUpdated) XXX_Size added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_Size() int

func (*StreamEvent_ContactUpdated) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_ConversationDeleted added in v2.120.0

type StreamEvent_ConversationDeleted struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (*StreamEvent_ConversationDeleted) Descriptor added in v2.120.0

func (*StreamEvent_ConversationDeleted) Descriptor() ([]byte, []int)

func (*StreamEvent_ConversationDeleted) GetPublicKey added in v2.120.0

func (m *StreamEvent_ConversationDeleted) GetPublicKey() string

func (*StreamEvent_ConversationDeleted) ProtoMessage added in v2.120.0

func (*StreamEvent_ConversationDeleted) ProtoMessage()

func (*StreamEvent_ConversationDeleted) Reset added in v2.120.0

func (*StreamEvent_ConversationDeleted) String added in v2.120.0

func (*StreamEvent_ConversationDeleted) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_DiscardUnknown()

func (*StreamEvent_ConversationDeleted) XXX_Marshal added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ConversationDeleted) XXX_Merge added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_Merge(src proto.Message)

func (*StreamEvent_ConversationDeleted) XXX_Size added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_Size() int

func (*StreamEvent_ConversationDeleted) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_Unmarshal(b []byte) error

type StreamEvent_ConversationUpdated added in v2.120.0

type StreamEvent_ConversationUpdated struct {
	Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
}

func (*StreamEvent_ConversationUpdated) Descriptor added in v2.120.0

func (*StreamEvent_ConversationUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_ConversationUpdated) GetConversation added in v2.120.0

func (m *StreamEvent_ConversationUpdated) GetConversation() *Conversation

func (*StreamEvent_ConversationUpdated) ProtoMessage added in v2.120.0

func (*StreamEvent_ConversationUpdated) ProtoMessage()

func (*StreamEvent_ConversationUpdated) Reset added in v2.120.0

func (*StreamEvent_ConversationUpdated) String added in v2.120.0

func (*StreamEvent_ConversationUpdated) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_DiscardUnknown()

func (*StreamEvent_ConversationUpdated) XXX_Marshal added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ConversationUpdated) XXX_Merge added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_ConversationUpdated) XXX_Size added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_Size() int

func (*StreamEvent_ConversationUpdated) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_DeviceUpdated added in v2.126.6

type StreamEvent_DeviceUpdated struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}

func (*StreamEvent_DeviceUpdated) Descriptor added in v2.126.6

func (*StreamEvent_DeviceUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_DeviceUpdated) GetDevice added in v2.126.6

func (m *StreamEvent_DeviceUpdated) GetDevice() *Device

func (*StreamEvent_DeviceUpdated) ProtoMessage added in v2.126.6

func (*StreamEvent_DeviceUpdated) ProtoMessage()

func (*StreamEvent_DeviceUpdated) Reset added in v2.126.6

func (m *StreamEvent_DeviceUpdated) Reset()

func (*StreamEvent_DeviceUpdated) String added in v2.126.6

func (m *StreamEvent_DeviceUpdated) String() string

func (*StreamEvent_DeviceUpdated) XXX_DiscardUnknown added in v2.126.6

func (m *StreamEvent_DeviceUpdated) XXX_DiscardUnknown()

func (*StreamEvent_DeviceUpdated) XXX_Marshal added in v2.126.6

func (m *StreamEvent_DeviceUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_DeviceUpdated) XXX_Merge added in v2.126.6

func (m *StreamEvent_DeviceUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_DeviceUpdated) XXX_Size added in v2.126.6

func (m *StreamEvent_DeviceUpdated) XXX_Size() int

func (*StreamEvent_DeviceUpdated) XXX_Unmarshal added in v2.126.6

func (m *StreamEvent_DeviceUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_InteractionDeleted added in v2.130.2

type StreamEvent_InteractionDeleted struct {
	CID string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*StreamEvent_InteractionDeleted) Descriptor added in v2.130.2

func (*StreamEvent_InteractionDeleted) Descriptor() ([]byte, []int)

func (*StreamEvent_InteractionDeleted) GetCID added in v2.130.2

func (*StreamEvent_InteractionDeleted) ProtoMessage added in v2.130.2

func (*StreamEvent_InteractionDeleted) ProtoMessage()

func (*StreamEvent_InteractionDeleted) Reset added in v2.130.2

func (m *StreamEvent_InteractionDeleted) Reset()

func (*StreamEvent_InteractionDeleted) String added in v2.130.2

func (*StreamEvent_InteractionDeleted) XXX_DiscardUnknown added in v2.130.2

func (m *StreamEvent_InteractionDeleted) XXX_DiscardUnknown()

func (*StreamEvent_InteractionDeleted) XXX_Marshal added in v2.130.2

func (m *StreamEvent_InteractionDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_InteractionDeleted) XXX_Merge added in v2.130.2

func (m *StreamEvent_InteractionDeleted) XXX_Merge(src proto.Message)

func (*StreamEvent_InteractionDeleted) XXX_Size added in v2.130.2

func (m *StreamEvent_InteractionDeleted) XXX_Size() int

func (*StreamEvent_InteractionDeleted) XXX_Unmarshal added in v2.130.2

func (m *StreamEvent_InteractionDeleted) XXX_Unmarshal(b []byte) error

type StreamEvent_InteractionUpdated added in v2.120.0

type StreamEvent_InteractionUpdated struct {
	Interaction *Interaction `protobuf:"bytes,1,opt,name=interaction,proto3" json:"interaction,omitempty"`
}

func (*StreamEvent_InteractionUpdated) Descriptor added in v2.120.0

func (*StreamEvent_InteractionUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_InteractionUpdated) GetInteraction added in v2.122.0

func (m *StreamEvent_InteractionUpdated) GetInteraction() *Interaction

func (*StreamEvent_InteractionUpdated) ProtoMessage added in v2.120.0

func (*StreamEvent_InteractionUpdated) ProtoMessage()

func (*StreamEvent_InteractionUpdated) Reset added in v2.120.0

func (m *StreamEvent_InteractionUpdated) Reset()

func (*StreamEvent_InteractionUpdated) String added in v2.120.0

func (*StreamEvent_InteractionUpdated) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_DiscardUnknown()

func (*StreamEvent_InteractionUpdated) XXX_Marshal added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_InteractionUpdated) XXX_Merge added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_InteractionUpdated) XXX_Size added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_Size() int

func (*StreamEvent_InteractionUpdated) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_ListEnded added in v2.176.1

type StreamEvent_ListEnded struct {
}

func (*StreamEvent_ListEnded) Descriptor added in v2.176.1

func (*StreamEvent_ListEnded) Descriptor() ([]byte, []int)

func (*StreamEvent_ListEnded) ProtoMessage added in v2.176.1

func (*StreamEvent_ListEnded) ProtoMessage()

func (*StreamEvent_ListEnded) Reset added in v2.176.1

func (m *StreamEvent_ListEnded) Reset()

func (*StreamEvent_ListEnded) String added in v2.176.1

func (m *StreamEvent_ListEnded) String() string

func (*StreamEvent_ListEnded) XXX_DiscardUnknown added in v2.176.1

func (m *StreamEvent_ListEnded) XXX_DiscardUnknown()

func (*StreamEvent_ListEnded) XXX_Marshal added in v2.176.1

func (m *StreamEvent_ListEnded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ListEnded) XXX_Merge added in v2.176.1

func (m *StreamEvent_ListEnded) XXX_Merge(src proto.Message)

func (*StreamEvent_ListEnded) XXX_Size added in v2.176.1

func (m *StreamEvent_ListEnded) XXX_Size() int

func (*StreamEvent_ListEnded) XXX_Unmarshal added in v2.176.1

func (m *StreamEvent_ListEnded) XXX_Unmarshal(b []byte) error

type StreamEvent_MemberUpdated added in v2.126.6

type StreamEvent_MemberUpdated struct {
	Member *Member `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
}

func (*StreamEvent_MemberUpdated) Descriptor added in v2.126.6

func (*StreamEvent_MemberUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_MemberUpdated) GetMember added in v2.126.6

func (m *StreamEvent_MemberUpdated) GetMember() *Member

func (*StreamEvent_MemberUpdated) ProtoMessage added in v2.126.6

func (*StreamEvent_MemberUpdated) ProtoMessage()

func (*StreamEvent_MemberUpdated) Reset added in v2.126.6

func (m *StreamEvent_MemberUpdated) Reset()

func (*StreamEvent_MemberUpdated) String added in v2.126.6

func (m *StreamEvent_MemberUpdated) String() string

func (*StreamEvent_MemberUpdated) XXX_DiscardUnknown added in v2.126.6

func (m *StreamEvent_MemberUpdated) XXX_DiscardUnknown()

func (*StreamEvent_MemberUpdated) XXX_Marshal added in v2.126.6

func (m *StreamEvent_MemberUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_MemberUpdated) XXX_Merge added in v2.126.6

func (m *StreamEvent_MemberUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_MemberUpdated) XXX_Size added in v2.126.6

func (m *StreamEvent_MemberUpdated) XXX_Size() int

func (*StreamEvent_MemberUpdated) XXX_Unmarshal added in v2.126.6

func (m *StreamEvent_MemberUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_Notified added in v2.143.0

type StreamEvent_Notified struct {
	Type    StreamEvent_Notified_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.StreamEvent_Notified_Type" json:"type,omitempty"`
	Title   string                    `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Body    string                    `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	Payload []byte                    `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*StreamEvent_Notified) Descriptor added in v2.143.0

func (*StreamEvent_Notified) Descriptor() ([]byte, []int)

func (*StreamEvent_Notified) GetBody added in v2.143.0

func (m *StreamEvent_Notified) GetBody() string

func (*StreamEvent_Notified) GetPayload added in v2.143.0

func (m *StreamEvent_Notified) GetPayload() []byte

func (*StreamEvent_Notified) GetTitle added in v2.143.0

func (m *StreamEvent_Notified) GetTitle() string

func (*StreamEvent_Notified) GetType added in v2.143.0

func (*StreamEvent_Notified) ProtoMessage added in v2.143.0

func (*StreamEvent_Notified) ProtoMessage()

func (*StreamEvent_Notified) Reset added in v2.143.0

func (m *StreamEvent_Notified) Reset()

func (*StreamEvent_Notified) String added in v2.143.0

func (m *StreamEvent_Notified) String() string

func (*StreamEvent_Notified) UnmarshalPayload added in v2.143.0

func (event *StreamEvent_Notified) UnmarshalPayload() (proto.Message, error)

func (*StreamEvent_Notified) XXX_DiscardUnknown added in v2.143.0

func (m *StreamEvent_Notified) XXX_DiscardUnknown()

func (*StreamEvent_Notified) XXX_Marshal added in v2.143.0

func (m *StreamEvent_Notified) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_Notified) XXX_Merge added in v2.143.0

func (m *StreamEvent_Notified) XXX_Merge(src proto.Message)

func (*StreamEvent_Notified) XXX_Size added in v2.143.0

func (m *StreamEvent_Notified) XXX_Size() int

func (*StreamEvent_Notified) XXX_Unmarshal added in v2.143.0

func (m *StreamEvent_Notified) XXX_Unmarshal(b []byte) error

type StreamEvent_Notified_Basic added in v2.143.0

type StreamEvent_Notified_Basic struct {
}

func (*StreamEvent_Notified_Basic) Descriptor added in v2.143.0

func (*StreamEvent_Notified_Basic) Descriptor() ([]byte, []int)

func (*StreamEvent_Notified_Basic) ProtoMessage added in v2.143.0

func (*StreamEvent_Notified_Basic) ProtoMessage()

func (*StreamEvent_Notified_Basic) Reset added in v2.143.0

func (m *StreamEvent_Notified_Basic) Reset()

func (*StreamEvent_Notified_Basic) String added in v2.143.0

func (m *StreamEvent_Notified_Basic) String() string

func (*StreamEvent_Notified_Basic) XXX_DiscardUnknown added in v2.143.0

func (m *StreamEvent_Notified_Basic) XXX_DiscardUnknown()

func (*StreamEvent_Notified_Basic) XXX_Marshal added in v2.143.0

func (m *StreamEvent_Notified_Basic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_Notified_Basic) XXX_Merge added in v2.143.0

func (m *StreamEvent_Notified_Basic) XXX_Merge(src proto.Message)

func (*StreamEvent_Notified_Basic) XXX_Size added in v2.143.0

func (m *StreamEvent_Notified_Basic) XXX_Size() int

func (*StreamEvent_Notified_Basic) XXX_Unmarshal added in v2.143.0

func (m *StreamEvent_Notified_Basic) XXX_Unmarshal(b []byte) error

type StreamEvent_Notified_MessageReceived added in v2.143.0

type StreamEvent_Notified_MessageReceived struct {
	Interaction  *Interaction  `protobuf:"bytes,1,opt,name=interaction,proto3" json:"interaction,omitempty"`
	Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
	Contact      *Contact      `protobuf:"bytes,3,opt,name=contact,proto3" json:"contact,omitempty"`
}

func (*StreamEvent_Notified_MessageReceived) Descriptor added in v2.143.0

func (*StreamEvent_Notified_MessageReceived) Descriptor() ([]byte, []int)

func (*StreamEvent_Notified_MessageReceived) GetContact added in v2.143.0

func (*StreamEvent_Notified_MessageReceived) GetConversation added in v2.143.0

func (m *StreamEvent_Notified_MessageReceived) GetConversation() *Conversation

func (*StreamEvent_Notified_MessageReceived) GetInteraction added in v2.143.0

func (*StreamEvent_Notified_MessageReceived) ProtoMessage added in v2.143.0

func (*StreamEvent_Notified_MessageReceived) ProtoMessage()

func (*StreamEvent_Notified_MessageReceived) Reset added in v2.143.0

func (*StreamEvent_Notified_MessageReceived) String added in v2.143.0

func (*StreamEvent_Notified_MessageReceived) XXX_DiscardUnknown added in v2.143.0

func (m *StreamEvent_Notified_MessageReceived) XXX_DiscardUnknown()

func (*StreamEvent_Notified_MessageReceived) XXX_Marshal added in v2.143.0

func (m *StreamEvent_Notified_MessageReceived) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_Notified_MessageReceived) XXX_Merge added in v2.143.0

func (*StreamEvent_Notified_MessageReceived) XXX_Size added in v2.143.0

func (*StreamEvent_Notified_MessageReceived) XXX_Unmarshal added in v2.143.0

func (m *StreamEvent_Notified_MessageReceived) XXX_Unmarshal(b []byte) error

type StreamEvent_Notified_Type added in v2.143.0

type StreamEvent_Notified_Type int32
const (
	StreamEvent_Notified_Unknown             StreamEvent_Notified_Type = 0
	StreamEvent_Notified_TypeBasic           StreamEvent_Notified_Type = 1
	StreamEvent_Notified_TypeMessageReceived StreamEvent_Notified_Type = 2
)

func (StreamEvent_Notified_Type) EnumDescriptor added in v2.143.0

func (StreamEvent_Notified_Type) EnumDescriptor() ([]byte, []int)

func (StreamEvent_Notified_Type) String added in v2.143.0

func (x StreamEvent_Notified_Type) String() string

type StreamEvent_Type added in v2.120.0

type StreamEvent_Type int32
const (
	StreamEvent_Undefined               StreamEvent_Type = 0
	StreamEvent_TypeListEnded           StreamEvent_Type = 1
	StreamEvent_TypeConversationUpdated StreamEvent_Type = 2
	StreamEvent_TypeConversationDeleted StreamEvent_Type = 3
	StreamEvent_TypeInteractionUpdated  StreamEvent_Type = 4
	StreamEvent_TypeInteractionDeleted  StreamEvent_Type = 5
	StreamEvent_TypeContactUpdated      StreamEvent_Type = 6
	StreamEvent_TypeAccountUpdated      StreamEvent_Type = 7
	StreamEvent_TypeMemberUpdated       StreamEvent_Type = 8
	StreamEvent_TypeDeviceUpdated       StreamEvent_Type = 9
	StreamEvent_TypeNotified            StreamEvent_Type = 10
)

func (StreamEvent_Type) EnumDescriptor added in v2.120.0

func (StreamEvent_Type) EnumDescriptor() ([]byte, []int)

func (StreamEvent_Type) String added in v2.120.0

func (x StreamEvent_Type) String() string

type SystemInfo added in v2.82.0

type SystemInfo struct {
}

func (*SystemInfo) Descriptor added in v2.82.0

func (*SystemInfo) Descriptor() ([]byte, []int)

func (*SystemInfo) ProtoMessage added in v2.82.0

func (*SystemInfo) ProtoMessage()

func (*SystemInfo) Reset added in v2.82.0

func (m *SystemInfo) Reset()

func (*SystemInfo) String added in v2.82.0

func (m *SystemInfo) String() string

func (*SystemInfo) XXX_DiscardUnknown added in v2.82.0

func (m *SystemInfo) XXX_DiscardUnknown()

func (*SystemInfo) XXX_Marshal added in v2.82.0

func (m *SystemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo) XXX_Merge added in v2.82.0

func (m *SystemInfo) XXX_Merge(src proto.Message)

func (*SystemInfo) XXX_Size added in v2.82.0

func (m *SystemInfo) XXX_Size() int

func (*SystemInfo) XXX_Unmarshal added in v2.82.0

func (m *SystemInfo) XXX_Unmarshal(b []byte) error

type SystemInfo_DB added in v2.148.0

type SystemInfo_DB struct {
	Accounts                    int64 `protobuf:"varint,1,opt,name=accounts,proto3" json:"accounts,omitempty"`
	Contacts                    int64 `protobuf:"varint,2,opt,name=contacts,proto3" json:"contacts,omitempty"`
	Conversations               int64 `protobuf:"varint,3,opt,name=conversations,proto3" json:"conversations,omitempty"`
	Interactions                int64 `protobuf:"varint,4,opt,name=interactions,proto3" json:"interactions,omitempty"`
	Members                     int64 `protobuf:"varint,5,opt,name=members,proto3" json:"members,omitempty"`
	Devices                     int64 `protobuf:"varint,6,opt,name=devices,proto3" json:"devices,omitempty"`
	ServiceTokens               int64 `protobuf:"varint,7,opt,name=service_tokens,json=serviceTokens,proto3" json:"service_tokens,omitempty"`
	ConversationReplicationInfo int64 `` /* 145-byte string literal not displayed */
}

func (*SystemInfo_DB) Descriptor added in v2.148.0

func (*SystemInfo_DB) Descriptor() ([]byte, []int)

func (*SystemInfo_DB) GetAccounts added in v2.148.0

func (m *SystemInfo_DB) GetAccounts() int64

func (*SystemInfo_DB) GetContacts added in v2.148.0

func (m *SystemInfo_DB) GetContacts() int64

func (*SystemInfo_DB) GetConversationReplicationInfo added in v2.171.0

func (m *SystemInfo_DB) GetConversationReplicationInfo() int64

func (*SystemInfo_DB) GetConversations added in v2.148.0

func (m *SystemInfo_DB) GetConversations() int64

func (*SystemInfo_DB) GetDevices added in v2.148.0

func (m *SystemInfo_DB) GetDevices() int64

func (*SystemInfo_DB) GetInteractions added in v2.148.0

func (m *SystemInfo_DB) GetInteractions() int64

func (*SystemInfo_DB) GetMembers added in v2.148.0

func (m *SystemInfo_DB) GetMembers() int64

func (*SystemInfo_DB) GetServiceTokens added in v2.163.0

func (m *SystemInfo_DB) GetServiceTokens() int64

func (*SystemInfo_DB) ProtoMessage added in v2.148.0

func (*SystemInfo_DB) ProtoMessage()

func (*SystemInfo_DB) Reset added in v2.148.0

func (m *SystemInfo_DB) Reset()

func (*SystemInfo_DB) String added in v2.148.0

func (m *SystemInfo_DB) String() string

func (*SystemInfo_DB) XXX_DiscardUnknown added in v2.148.0

func (m *SystemInfo_DB) XXX_DiscardUnknown()

func (*SystemInfo_DB) XXX_Marshal added in v2.148.0

func (m *SystemInfo_DB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_DB) XXX_Merge added in v2.148.0

func (m *SystemInfo_DB) XXX_Merge(src proto.Message)

func (*SystemInfo_DB) XXX_Size added in v2.148.0

func (m *SystemInfo_DB) XXX_Size() int

func (*SystemInfo_DB) XXX_Unmarshal added in v2.148.0

func (m *SystemInfo_DB) XXX_Unmarshal(b []byte) error

type SystemInfo_Messenger added in v2.148.0

type SystemInfo_Messenger struct {
	Process               *bertytypes.SystemInfo_Process `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
	Warns                 []string                       `protobuf:"bytes,2,rep,name=warns,proto3" json:"warns,omitempty"`
	ProtocolInSameProcess bool                           `` /* 129-byte string literal not displayed */
	DB                    *SystemInfo_DB                 `protobuf:"bytes,4,opt,name=db,proto3" json:"db,omitempty"`
}

func (*SystemInfo_Messenger) Descriptor added in v2.148.0

func (*SystemInfo_Messenger) Descriptor() ([]byte, []int)

func (*SystemInfo_Messenger) GetDB added in v2.148.0

func (m *SystemInfo_Messenger) GetDB() *SystemInfo_DB

func (*SystemInfo_Messenger) GetProcess added in v2.148.0

func (*SystemInfo_Messenger) GetProtocolInSameProcess added in v2.148.0

func (m *SystemInfo_Messenger) GetProtocolInSameProcess() bool

func (*SystemInfo_Messenger) GetWarns added in v2.148.0

func (m *SystemInfo_Messenger) GetWarns() []string

func (*SystemInfo_Messenger) ProtoMessage added in v2.148.0

func (*SystemInfo_Messenger) ProtoMessage()

func (*SystemInfo_Messenger) Reset added in v2.148.0

func (m *SystemInfo_Messenger) Reset()

func (*SystemInfo_Messenger) String added in v2.148.0

func (m *SystemInfo_Messenger) String() string

func (*SystemInfo_Messenger) XXX_DiscardUnknown added in v2.148.0

func (m *SystemInfo_Messenger) XXX_DiscardUnknown()

func (*SystemInfo_Messenger) XXX_Marshal added in v2.148.0

func (m *SystemInfo_Messenger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_Messenger) XXX_Merge added in v2.148.0

func (m *SystemInfo_Messenger) XXX_Merge(src proto.Message)

func (*SystemInfo_Messenger) XXX_Size added in v2.148.0

func (m *SystemInfo_Messenger) XXX_Size() int

func (*SystemInfo_Messenger) XXX_Unmarshal added in v2.148.0

func (m *SystemInfo_Messenger) XXX_Unmarshal(b []byte) error

type SystemInfo_Reply added in v2.82.0

type SystemInfo_Reply struct {
	Protocol  *bertytypes.SystemInfo_Reply `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Messenger *SystemInfo_Messenger        `protobuf:"bytes,2,opt,name=messenger,proto3" json:"messenger,omitempty"`
}

func (*SystemInfo_Reply) Descriptor added in v2.82.0

func (*SystemInfo_Reply) Descriptor() ([]byte, []int)

func (*SystemInfo_Reply) GetMessenger added in v2.148.0

func (m *SystemInfo_Reply) GetMessenger() *SystemInfo_Messenger

func (*SystemInfo_Reply) GetProtocol added in v2.148.0

func (m *SystemInfo_Reply) GetProtocol() *bertytypes.SystemInfo_Reply

func (*SystemInfo_Reply) ProtoMessage added in v2.82.0

func (*SystemInfo_Reply) ProtoMessage()

func (*SystemInfo_Reply) Reset added in v2.82.0

func (m *SystemInfo_Reply) Reset()

func (*SystemInfo_Reply) String added in v2.82.0

func (m *SystemInfo_Reply) String() string

func (*SystemInfo_Reply) XXX_DiscardUnknown added in v2.82.0

func (m *SystemInfo_Reply) XXX_DiscardUnknown()

func (*SystemInfo_Reply) XXX_Marshal added in v2.82.0

func (m *SystemInfo_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_Reply) XXX_Merge added in v2.82.0

func (m *SystemInfo_Reply) XXX_Merge(src proto.Message)

func (*SystemInfo_Reply) XXX_Size added in v2.82.0

func (m *SystemInfo_Reply) XXX_Size() int

func (*SystemInfo_Reply) XXX_Unmarshal added in v2.82.0

func (m *SystemInfo_Reply) XXX_Unmarshal(b []byte) error

type SystemInfo_Request added in v2.82.0

type SystemInfo_Request struct {
}

func (*SystemInfo_Request) Descriptor added in v2.82.0

func (*SystemInfo_Request) Descriptor() ([]byte, []int)

func (*SystemInfo_Request) ProtoMessage added in v2.82.0

func (*SystemInfo_Request) ProtoMessage()

func (*SystemInfo_Request) Reset added in v2.82.0

func (m *SystemInfo_Request) Reset()

func (*SystemInfo_Request) String added in v2.82.0

func (m *SystemInfo_Request) String() string

func (*SystemInfo_Request) XXX_DiscardUnknown added in v2.82.0

func (m *SystemInfo_Request) XXX_DiscardUnknown()

func (*SystemInfo_Request) XXX_Marshal added in v2.82.0

func (m *SystemInfo_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_Request) XXX_Merge added in v2.82.0

func (m *SystemInfo_Request) XXX_Merge(src proto.Message)

func (*SystemInfo_Request) XXX_Size added in v2.82.0

func (m *SystemInfo_Request) XXX_Size() int

func (*SystemInfo_Request) XXX_Unmarshal added in v2.82.0

func (m *SystemInfo_Request) XXX_Unmarshal(b []byte) error

type TestingAccount added in v2.126.1

type TestingAccount struct {
	// contains filtered or unexported fields
}

func NewTestingAccount added in v2.126.1

func NewTestingAccount(ctx context.Context, t *testing.T, client MessengerServiceClient, logger *zap.Logger) *TestingAccount

func (*TestingAccount) Close added in v2.126.1

func (a *TestingAccount) Close()

func (*TestingAccount) DrainInitEvents added in v2.126.1

func (a *TestingAccount) DrainInitEvents(t *testing.T)

func (*TestingAccount) GetAccount added in v2.126.1

func (a *TestingAccount) GetAccount() *Account

func (*TestingAccount) GetClient added in v2.126.1

func (a *TestingAccount) GetClient() MessengerServiceClient

func (*TestingAccount) GetStream added in v2.126.1

func (*TestingAccount) NextEvent added in v2.126.1

func (a *TestingAccount) NextEvent(t *testing.T) *StreamEvent

func (*TestingAccount) SetName added in v2.126.1

func (a *TestingAccount) SetName(t *testing.T, name string)

func (*TestingAccount) SetNameAndDrainUpdate added in v2.126.6

func (a *TestingAccount) SetNameAndDrainUpdate(t *testing.T, name string)

func (*TestingAccount) TryNextEvent added in v2.126.1

func (a *TestingAccount) TryNextEvent(t *testing.T, timeout time.Duration) *StreamEvent

type TestingServiceOpts

type TestingServiceOpts struct {
	Logger *zap.Logger
	Client bertyprotocol.Client
	Index  int
}

type UnimplementedMessengerServiceServer

type UnimplementedMessengerServiceServer struct {
}

UnimplementedMessengerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMessengerServiceServer) AccountGet added in v2.120.0

func (*UnimplementedMessengerServiceServer) AccountUpdate added in v2.122.0

func (*UnimplementedMessengerServiceServer) AuthServiceCompleteFlow added in v2.136.0

func (*UnimplementedMessengerServiceServer) AuthServiceInitFlow added in v2.136.0

func (*UnimplementedMessengerServiceServer) BannerQuote added in v2.161.0

func (*UnimplementedMessengerServiceServer) ContactAccept added in v2.122.0

func (*UnimplementedMessengerServiceServer) ContactRequest added in v2.122.0

func (*UnimplementedMessengerServiceServer) ConversationClose added in v2.128.1

func (*UnimplementedMessengerServiceServer) ConversationCreate added in v2.120.0

func (*UnimplementedMessengerServiceServer) ConversationJoin added in v2.122.0

func (*UnimplementedMessengerServiceServer) ConversationOpen added in v2.128.1

func (*UnimplementedMessengerServiceServer) ConversationStream added in v2.120.0

func (*UnimplementedMessengerServiceServer) DevShareInstanceBertyID

func (*UnimplementedMessengerServiceServer) EchoTest added in v2.121.0

func (*UnimplementedMessengerServiceServer) EventStream added in v2.120.0

func (*UnimplementedMessengerServiceServer) GetUsername added in v2.165.0

func (*UnimplementedMessengerServiceServer) InstanceShareableBertyID

func (*UnimplementedMessengerServiceServer) Interact added in v2.122.0

func (*UnimplementedMessengerServiceServer) ReplicationServiceRegisterGroup added in v2.146.0

func (*UnimplementedMessengerServiceServer) ReplicationSetAutoEnable added in v2.171.0

func (*UnimplementedMessengerServiceServer) SendAck added in v2.85.0

func (*UnimplementedMessengerServiceServer) SendContactRequest added in v2.66.0

func (*UnimplementedMessengerServiceServer) SendMessage added in v2.85.0

func (*UnimplementedMessengerServiceServer) SendReplyOptions added in v2.166.0

func (*UnimplementedMessengerServiceServer) ServicesTokenList added in v2.136.0

func (*UnimplementedMessengerServiceServer) ShareableBertyGroup added in v2.85.0

func (*UnimplementedMessengerServiceServer) SystemInfo added in v2.82.0

Jump to

Keyboard shortcuts

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