bertymessenger

package
v2.133.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: Apache-2.0, MIT Imports: 42 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

This section is empty.

Variables

View Source
var (
	Version   = "n/a"
	VcsRef    = "n/a"
	BuildTime = "n/a"
)
View Source
var Account_State_name = map[int32]string{
	0: "Undefined",
	1: "NotReady",
	2: "Ready",
}
View Source
var Account_State_value = map[string]int32{
	"Undefined": 0,
	"NotReady":  1,
	"Ready":     2,
}
View Source
var AppMessage_Type_name = map[int32]string{
	0: "Undefined",
	1: "TypeUserMessage",
	2: "TypeUserReaction",
	3: "TypeGroupInvitation",
	4: "TypeSetGroupName",
	5: "TypeSetUserName",
	6: "TypeAcknowledge",
}
View Source
var AppMessage_Type_value = map[string]int32{
	"Undefined":           0,
	"TypeUserMessage":     1,
	"TypeUserReaction":    2,
	"TypeGroupInvitation": 3,
	"TypeSetGroupName":    4,
	"TypeSetUserName":     5,
	"TypeAcknowledge":     6,
}
View Source
var Contact_State_name = map[int32]string{
	0: "Undefined",
	1: "IncomingRequest",
	2: "OutgoingRequestEnqueued",
	3: "OutgoingRequestSent",
	4: "Established",
}
View Source
var Contact_State_value = map[string]int32{
	"Undefined":               0,
	"IncomingRequest":         1,
	"OutgoingRequestEnqueued": 2,
	"OutgoingRequestSent":     3,
	"Established":             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_Type_name = map[int32]string{
	0: "Undefined",
	1: "TypeListEnd",
	2: "TypeConversationUpdated",
	3: "TypeConversationDeleted",
	4: "TypeInteractionUpdated",
	9: "TypeInteractionDeleted",
	5: "TypeContactUpdated",
	6: "TypeAccountUpdated",
	7: "TypeMemberUpdated",
	8: "TypeDeviceUpdated",
}
View Source
var StreamEvent_Type_value = map[string]int32{
	"Undefined":               0,
	"TypeListEnd":             1,
	"TypeConversationUpdated": 2,
	"TypeConversationDeleted": 3,
	"TypeInteractionUpdated":  4,
	"TypeInteractionDeleted":  9,
	"TypeContactUpdated":      5,
	"TypeAccountUpdated":      6,
	"TypeMemberUpdated":       7,
	"TypeDeviceUpdated":       8,
}

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"`
	State       Account_State `protobuf:"varint,4,opt,name=state,proto3,enum=berty.messenger.v1.Account_State" json:"state,omitempty"`
}

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) GetState added in v2.120.0

func (m *Account) GetState() Account_State

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 Account_State added in v2.120.0

type Account_State int32
const (
	Account_Undefined Account_State = 0
	Account_NotReady  Account_State = 1
	Account_Ready     Account_State = 2
)

func (Account_State) EnumDescriptor added in v2.120.0

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

func (Account_State) String added in v2.120.0

func (x Account_State) String() string

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_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
)

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 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:OwnerPublicKey"`
}

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_Established             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:"primary_key"`
	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"`
}

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) 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 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:"primary_key"`
	OwnerPublicKey string `protobuf:"bytes,2,opt,name=owner_public_key,json=ownerPublicKey,proto3" json:"owner_public_key,omitempty"`
}

func (*Device) Descriptor added in v2.120.0

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

func (*Device) GetOwnerPublicKey added in v2.126.6

func (m *Device) GetOwnerPublicKey() 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) 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) error

func (*Dispatcher) Unregister added in v2.120.0

func (d *Dispatcher) Unregister(n Notifiee)

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 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:"uniqueIndex"`
	Type                  AppMessage_Type `protobuf:"varint,2,opt,name=type,proto3,enum=berty.messenger.v1.AppMessage_Type" json:"type,omitempty"`
	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          `` /* 126-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"`
	ArrivalIndex          int64           `protobuf:"varint,11,opt,name=arrival_index,json=arrivalIndex,proto3" json:"arrival_index,omitempty" gorm:"autoIncrement"`
}

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) GetArrivalIndex added in v2.130.2

func (m *Interaction) GetArrivalIndex() int64

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) 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:"primary_key"`
	DisplayName           string        `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	ConversationPublicKey string        `` /* 126-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" gorm:"foreignKey:OwnerPublicKey"`
}

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)
	// SendAck sends an acknowledge payload for given message id
	SendAck(ctx context.Context, in *SendAck_Request, opts ...grpc.CallOption) (*SendAck_Reply, error)
	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)
}

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

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)
	// SendAck sends an acknowledge payload for given message id
	SendAck(context.Context, *SendAck_Request) (*SendAck_Reply, error)
	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)
}

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 Notifiee added in v2.120.0

type Notifiee interface {
	StreamEvent(*StreamEvent) error
}

Notifiee should use EventStream types, this is a poc of the notifiee system à la 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
	ProtocolService bertyprotocol.Service
	DB              *gorm.DB
	Context         context.Context
}
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 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 Service added in v2.120.0

type Service interface {
	MessengerServiceServer
	Close()
}

func New

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 {
	// DRAFT
	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"`
}

func (*StreamEvent) Descriptor added in v2.120.0

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

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_ListEnd added in v2.122.0

type StreamEvent_ListEnd struct {
}

func (*StreamEvent_ListEnd) Descriptor added in v2.122.0

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

func (*StreamEvent_ListEnd) ProtoMessage added in v2.122.0

func (*StreamEvent_ListEnd) ProtoMessage()

func (*StreamEvent_ListEnd) Reset added in v2.122.0

func (m *StreamEvent_ListEnd) Reset()

func (*StreamEvent_ListEnd) String added in v2.122.0

func (m *StreamEvent_ListEnd) String() string

func (*StreamEvent_ListEnd) XXX_DiscardUnknown added in v2.122.0

func (m *StreamEvent_ListEnd) XXX_DiscardUnknown()

func (*StreamEvent_ListEnd) XXX_Marshal added in v2.122.0

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

func (*StreamEvent_ListEnd) XXX_Merge added in v2.122.0

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

func (*StreamEvent_ListEnd) XXX_Size added in v2.122.0

func (m *StreamEvent_ListEnd) XXX_Size() int

func (*StreamEvent_ListEnd) XXX_Unmarshal added in v2.122.0

func (m *StreamEvent_ListEnd) 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_Type added in v2.120.0

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

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_Reply added in v2.82.0

type SystemInfo_Reply struct {
	RlimitCur        uint64 `protobuf:"varint,1,opt,name=rlimit_cur,json=rlimitCur,proto3" json:"rlimit_cur,omitempty"`
	NumGoroutine     int64  `protobuf:"varint,2,opt,name=num_goroutine,json=numGoroutine,proto3" json:"num_goroutine,omitempty"`
	ConnectedPeers   int64  `protobuf:"varint,3,opt,name=connected_peers,json=connectedPeers,proto3" json:"connected_peers,omitempty"`
	Nofile           int64  `protobuf:"varint,4,opt,name=nofile,proto3" json:"nofile,omitempty"`
	TooManyOpenFiles bool   `protobuf:"varint,5,opt,name=too_many_open_files,json=tooManyOpenFiles,proto3" json:"too_many_open_files,omitempty"`
	StartedAt        int64  `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	NumCPU           int64  `protobuf:"varint,11,opt,name=num_cpu,json=numCpu,proto3" json:"num_cpu,omitempty"`
	GoVersion        string `protobuf:"bytes,12,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	OperatingSystem  string `protobuf:"bytes,13,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
	HostName         string `protobuf:"bytes,14,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	Arch             string `protobuf:"bytes,15,opt,name=arch,proto3" json:"arch,omitempty"`
	Version          string `protobuf:"bytes,16,opt,name=version,proto3" json:"version,omitempty"`
	VcsRef           string `protobuf:"bytes,17,opt,name=vcs_ref,json=vcsRef,proto3" json:"vcs_ref,omitempty"`
	BuildTime        int64  `protobuf:"varint,18,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
	SelfRusage       string `protobuf:"bytes,19,opt,name=self_rusage,json=selfRusage,proto3" json:"self_rusage,omitempty"`
	ChildrenRusage   string `protobuf:"bytes,20,opt,name=children_rusage,json=childrenRusage,proto3" json:"children_rusage,omitempty"`
	RlimitMax        uint64 `protobuf:"varint,21,opt,name=rlimit_max,json=rlimitMax,proto3" json:"rlimit_max,omitempty"`
}

func (*SystemInfo_Reply) Descriptor added in v2.82.0

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

func (*SystemInfo_Reply) GetArch added in v2.82.0

func (m *SystemInfo_Reply) GetArch() string

func (*SystemInfo_Reply) GetBuildTime added in v2.82.0

func (m *SystemInfo_Reply) GetBuildTime() int64

func (*SystemInfo_Reply) GetChildrenRusage added in v2.104.0

func (m *SystemInfo_Reply) GetChildrenRusage() string

func (*SystemInfo_Reply) GetConnectedPeers added in v2.105.0

func (m *SystemInfo_Reply) GetConnectedPeers() int64

func (*SystemInfo_Reply) GetGoVersion added in v2.82.0

func (m *SystemInfo_Reply) GetGoVersion() string

func (*SystemInfo_Reply) GetHostName added in v2.82.0

func (m *SystemInfo_Reply) GetHostName() string

func (*SystemInfo_Reply) GetNofile added in v2.106.0

func (m *SystemInfo_Reply) GetNofile() int64

func (*SystemInfo_Reply) GetNumCPU added in v2.82.0

func (m *SystemInfo_Reply) GetNumCPU() int64

func (*SystemInfo_Reply) GetNumGoroutine added in v2.82.0

func (m *SystemInfo_Reply) GetNumGoroutine() int64

func (*SystemInfo_Reply) GetOperatingSystem added in v2.82.0

func (m *SystemInfo_Reply) GetOperatingSystem() string

func (*SystemInfo_Reply) GetRlimitCur added in v2.105.0

func (m *SystemInfo_Reply) GetRlimitCur() uint64

func (*SystemInfo_Reply) GetRlimitMax added in v2.105.0

func (m *SystemInfo_Reply) GetRlimitMax() uint64

func (*SystemInfo_Reply) GetSelfRusage added in v2.104.0

func (m *SystemInfo_Reply) GetSelfRusage() string

func (*SystemInfo_Reply) GetStartedAt added in v2.82.0

func (m *SystemInfo_Reply) GetStartedAt() int64

func (*SystemInfo_Reply) GetTooManyOpenFiles added in v2.106.1

func (m *SystemInfo_Reply) GetTooManyOpenFiles() bool

func (*SystemInfo_Reply) GetVcsRef added in v2.82.0

func (m *SystemInfo_Reply) GetVcsRef() string

func (*SystemInfo_Reply) GetVersion added in v2.82.0

func (m *SystemInfo_Reply) GetVersion() string

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) 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) InstanceShareableBertyID

func (*UnimplementedMessengerServiceServer) Interact added in v2.122.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) 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