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 ¶
- Variables
- func NormalizeDeepLinkURL(input string) (url.Values, string, error)
- func RegisterMessengerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMessengerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MessengerServiceClient) error
- func RegisterMessengerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMessengerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MessengerServiceServer) error
- func RegisterMessengerServiceServer(s *grpc.Server, srv MessengerServiceServer)
- func ShareableBertyGroupURL(g *bertytypes.Group, groupName string) (string, string, error)
- type AppMessageType
- type AppMessageTyped
- func (*AppMessageTyped) Descriptor() ([]byte, []int)
- func (m *AppMessageTyped) GetType() AppMessageType
- func (*AppMessageTyped) ProtoMessage()
- func (m *AppMessageTyped) Reset()
- func (m *AppMessageTyped) String() string
- func (m *AppMessageTyped) XXX_DiscardUnknown()
- func (m *AppMessageTyped) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AppMessageTyped) XXX_Merge(src proto.Message)
- func (m *AppMessageTyped) XXX_Size() int
- func (m *AppMessageTyped) XXX_Unmarshal(b []byte) error
- type BertyGroup
- func (*BertyGroup) Descriptor() ([]byte, []int)
- func (m *BertyGroup) GetDisplayName() string
- func (m *BertyGroup) GetGroup() *bertytypes.Group
- func (*BertyGroup) ProtoMessage()
- func (m *BertyGroup) Reset()
- func (m *BertyGroup) String() string
- func (m *BertyGroup) XXX_DiscardUnknown()
- func (m *BertyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BertyGroup) XXX_Merge(src proto.Message)
- func (m *BertyGroup) XXX_Size() int
- func (m *BertyGroup) XXX_Unmarshal(b []byte) error
- type BertyID
- func (*BertyID) Descriptor() ([]byte, []int)
- func (m *BertyID) GetAccountPK() []byte
- func (m *BertyID) GetDisplayName() string
- func (m *BertyID) GetPublicRendezvousSeed() []byte
- func (*BertyID) ProtoMessage()
- func (m *BertyID) Reset()
- func (m *BertyID) String() string
- func (m *BertyID) XXX_DiscardUnknown()
- func (m *BertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BertyID) XXX_Merge(src proto.Message)
- func (m *BertyID) XXX_Size() int
- func (m *BertyID) XXX_Unmarshal(b []byte) error
- type DevShareInstanceBertyID
- func (*DevShareInstanceBertyID) Descriptor() ([]byte, []int)
- func (*DevShareInstanceBertyID) ProtoMessage()
- func (m *DevShareInstanceBertyID) Reset()
- func (m *DevShareInstanceBertyID) String() string
- func (m *DevShareInstanceBertyID) XXX_DiscardUnknown()
- func (m *DevShareInstanceBertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DevShareInstanceBertyID) XXX_Merge(src proto.Message)
- func (m *DevShareInstanceBertyID) XXX_Size() int
- func (m *DevShareInstanceBertyID) XXX_Unmarshal(b []byte) error
- type DevShareInstanceBertyID_Reply
- func (*DevShareInstanceBertyID_Reply) Descriptor() ([]byte, []int)
- func (*DevShareInstanceBertyID_Reply) ProtoMessage()
- func (m *DevShareInstanceBertyID_Reply) Reset()
- func (m *DevShareInstanceBertyID_Reply) String() string
- func (m *DevShareInstanceBertyID_Reply) XXX_DiscardUnknown()
- func (m *DevShareInstanceBertyID_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DevShareInstanceBertyID_Reply) XXX_Merge(src proto.Message)
- func (m *DevShareInstanceBertyID_Reply) XXX_Size() int
- func (m *DevShareInstanceBertyID_Reply) XXX_Unmarshal(b []byte) error
- type DevShareInstanceBertyID_Request
- func (*DevShareInstanceBertyID_Request) Descriptor() ([]byte, []int)
- func (m *DevShareInstanceBertyID_Request) GetDisplayName() string
- func (m *DevShareInstanceBertyID_Request) GetReset_() bool
- func (*DevShareInstanceBertyID_Request) ProtoMessage()
- func (m *DevShareInstanceBertyID_Request) Reset()
- func (m *DevShareInstanceBertyID_Request) String() string
- func (m *DevShareInstanceBertyID_Request) XXX_DiscardUnknown()
- func (m *DevShareInstanceBertyID_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DevShareInstanceBertyID_Request) XXX_Merge(src proto.Message)
- func (m *DevShareInstanceBertyID_Request) XXX_Size() int
- func (m *DevShareInstanceBertyID_Request) XXX_Unmarshal(b []byte) error
- type InstanceShareableBertyID
- func (*InstanceShareableBertyID) Descriptor() ([]byte, []int)
- func (*InstanceShareableBertyID) ProtoMessage()
- func (m *InstanceShareableBertyID) Reset()
- func (m *InstanceShareableBertyID) String() string
- func (m *InstanceShareableBertyID) XXX_DiscardUnknown()
- func (m *InstanceShareableBertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceShareableBertyID) XXX_Merge(src proto.Message)
- func (m *InstanceShareableBertyID) XXX_Size() int
- func (m *InstanceShareableBertyID) XXX_Unmarshal(b []byte) error
- type InstanceShareableBertyID_Reply
- func (*InstanceShareableBertyID_Reply) Descriptor() ([]byte, []int)
- func (m *InstanceShareableBertyID_Reply) GetBertyID() *BertyID
- func (m *InstanceShareableBertyID_Reply) GetBertyIDPayload() string
- func (m *InstanceShareableBertyID_Reply) GetDeepLink() string
- func (m *InstanceShareableBertyID_Reply) GetHTMLURL() string
- func (*InstanceShareableBertyID_Reply) ProtoMessage()
- func (m *InstanceShareableBertyID_Reply) Reset()
- func (m *InstanceShareableBertyID_Reply) String() string
- func (m *InstanceShareableBertyID_Reply) XXX_DiscardUnknown()
- func (m *InstanceShareableBertyID_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceShareableBertyID_Reply) XXX_Merge(src proto.Message)
- func (m *InstanceShareableBertyID_Reply) XXX_Size() int
- func (m *InstanceShareableBertyID_Reply) XXX_Unmarshal(b []byte) error
- type InstanceShareableBertyID_Request
- func (*InstanceShareableBertyID_Request) Descriptor() ([]byte, []int)
- func (m *InstanceShareableBertyID_Request) GetDisplayName() string
- func (m *InstanceShareableBertyID_Request) GetReset_() bool
- func (*InstanceShareableBertyID_Request) ProtoMessage()
- func (m *InstanceShareableBertyID_Request) Reset()
- func (m *InstanceShareableBertyID_Request) String() string
- func (m *InstanceShareableBertyID_Request) XXX_DiscardUnknown()
- func (m *InstanceShareableBertyID_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstanceShareableBertyID_Request) XXX_Merge(src proto.Message)
- func (m *InstanceShareableBertyID_Request) XXX_Size() int
- func (m *InstanceShareableBertyID_Request) XXX_Unmarshal(b []byte) error
- type MessengerServiceClient
- type MessengerServiceServer
- type Opts
- type ParseDeepLink
- func (*ParseDeepLink) Descriptor() ([]byte, []int)
- func (*ParseDeepLink) ProtoMessage()
- func (m *ParseDeepLink) Reset()
- func (m *ParseDeepLink) String() string
- func (m *ParseDeepLink) XXX_DiscardUnknown()
- func (m *ParseDeepLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParseDeepLink) XXX_Merge(src proto.Message)
- func (m *ParseDeepLink) XXX_Size() int
- func (m *ParseDeepLink) XXX_Unmarshal(b []byte) error
- type ParseDeepLink_Kind
- type ParseDeepLink_Reply
- func (*ParseDeepLink_Reply) Descriptor() ([]byte, []int)
- func (m *ParseDeepLink_Reply) GetBertyGroup() *BertyGroup
- func (m *ParseDeepLink_Reply) GetBertyID() *BertyID
- func (m *ParseDeepLink_Reply) GetKind() ParseDeepLink_Kind
- 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
- 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 PayloadAcknowledge
- func (*PayloadAcknowledge) Descriptor() ([]byte, []int)
- func (m *PayloadAcknowledge) GetTarget() string
- func (m *PayloadAcknowledge) GetType() AppMessageType
- func (*PayloadAcknowledge) ProtoMessage()
- func (m *PayloadAcknowledge) Reset()
- func (m *PayloadAcknowledge) String() string
- func (m *PayloadAcknowledge) XXX_DiscardUnknown()
- func (m *PayloadAcknowledge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayloadAcknowledge) XXX_Merge(src proto.Message)
- func (m *PayloadAcknowledge) XXX_Size() int
- func (m *PayloadAcknowledge) XXX_Unmarshal(b []byte) error
- type PayloadGroupInvitation
- func (*PayloadGroupInvitation) Descriptor() ([]byte, []int)
- func (m *PayloadGroupInvitation) GetGroupPk() string
- func (m *PayloadGroupInvitation) GetType() AppMessageType
- func (*PayloadGroupInvitation) ProtoMessage()
- func (m *PayloadGroupInvitation) Reset()
- func (m *PayloadGroupInvitation) String() string
- func (m *PayloadGroupInvitation) XXX_DiscardUnknown()
- func (m *PayloadGroupInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayloadGroupInvitation) XXX_Merge(src proto.Message)
- func (m *PayloadGroupInvitation) XXX_Size() int
- func (m *PayloadGroupInvitation) XXX_Unmarshal(b []byte) error
- type PayloadSetGroupName
- func (*PayloadSetGroupName) Descriptor() ([]byte, []int)
- func (m *PayloadSetGroupName) GetName() string
- func (m *PayloadSetGroupName) GetType() AppMessageType
- func (*PayloadSetGroupName) ProtoMessage()
- func (m *PayloadSetGroupName) Reset()
- func (m *PayloadSetGroupName) String() string
- func (m *PayloadSetGroupName) XXX_DiscardUnknown()
- func (m *PayloadSetGroupName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayloadSetGroupName) XXX_Merge(src proto.Message)
- func (m *PayloadSetGroupName) XXX_Size() int
- func (m *PayloadSetGroupName) XXX_Unmarshal(b []byte) error
- type PayloadUserMessage
- func (*PayloadUserMessage) Descriptor() ([]byte, []int)
- func (m *PayloadUserMessage) GetAttachments() []*UserMessageAttachment
- func (m *PayloadUserMessage) GetBody() string
- func (m *PayloadUserMessage) GetSentDate() int64
- func (m *PayloadUserMessage) GetType() AppMessageType
- func (*PayloadUserMessage) ProtoMessage()
- func (m *PayloadUserMessage) Reset()
- func (m *PayloadUserMessage) String() string
- func (m *PayloadUserMessage) XXX_DiscardUnknown()
- func (m *PayloadUserMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayloadUserMessage) XXX_Merge(src proto.Message)
- func (m *PayloadUserMessage) XXX_Size() int
- func (m *PayloadUserMessage) XXX_Unmarshal(b []byte) error
- type PayloadUserReaction
- func (*PayloadUserReaction) Descriptor() ([]byte, []int)
- func (m *PayloadUserReaction) GetEmoji() string
- func (m *PayloadUserReaction) GetType() AppMessageType
- func (*PayloadUserReaction) ProtoMessage()
- func (m *PayloadUserReaction) Reset()
- func (m *PayloadUserReaction) String() string
- func (m *PayloadUserReaction) XXX_DiscardUnknown()
- func (m *PayloadUserReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayloadUserReaction) XXX_Merge(src proto.Message)
- func (m *PayloadUserReaction) XXX_Size() int
- func (m *PayloadUserReaction) XXX_Unmarshal(b []byte) error
- type SendAck
- func (*SendAck) Descriptor() ([]byte, []int)
- func (*SendAck) ProtoMessage()
- func (m *SendAck) Reset()
- func (m *SendAck) String() string
- func (m *SendAck) XXX_DiscardUnknown()
- func (m *SendAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendAck) XXX_Merge(src proto.Message)
- func (m *SendAck) XXX_Size() int
- func (m *SendAck) XXX_Unmarshal(b []byte) error
- type SendAck_Reply
- func (*SendAck_Reply) Descriptor() ([]byte, []int)
- func (*SendAck_Reply) ProtoMessage()
- func (m *SendAck_Reply) Reset()
- func (m *SendAck_Reply) String() string
- func (m *SendAck_Reply) XXX_DiscardUnknown()
- func (m *SendAck_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendAck_Reply) XXX_Merge(src proto.Message)
- func (m *SendAck_Reply) XXX_Size() int
- func (m *SendAck_Reply) XXX_Unmarshal(b []byte) error
- type SendAck_Request
- func (*SendAck_Request) Descriptor() ([]byte, []int)
- func (m *SendAck_Request) GetGroupPK() []byte
- func (m *SendAck_Request) GetMessageID() []byte
- func (*SendAck_Request) ProtoMessage()
- func (m *SendAck_Request) Reset()
- func (m *SendAck_Request) String() string
- func (m *SendAck_Request) XXX_DiscardUnknown()
- func (m *SendAck_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendAck_Request) XXX_Merge(src proto.Message)
- func (m *SendAck_Request) XXX_Size() int
- func (m *SendAck_Request) XXX_Unmarshal(b []byte) error
- type SendContactRequest
- func (*SendContactRequest) Descriptor() ([]byte, []int)
- func (*SendContactRequest) ProtoMessage()
- func (m *SendContactRequest) Reset()
- func (m *SendContactRequest) String() string
- func (m *SendContactRequest) XXX_DiscardUnknown()
- func (m *SendContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendContactRequest) XXX_Merge(src proto.Message)
- func (m *SendContactRequest) XXX_Size() int
- func (m *SendContactRequest) XXX_Unmarshal(b []byte) error
- type SendContactRequest_Reply
- func (*SendContactRequest_Reply) Descriptor() ([]byte, []int)
- func (*SendContactRequest_Reply) ProtoMessage()
- func (m *SendContactRequest_Reply) Reset()
- func (m *SendContactRequest_Reply) String() string
- func (m *SendContactRequest_Reply) XXX_DiscardUnknown()
- func (m *SendContactRequest_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendContactRequest_Reply) XXX_Merge(src proto.Message)
- func (m *SendContactRequest_Reply) XXX_Size() int
- func (m *SendContactRequest_Reply) XXX_Unmarshal(b []byte) error
- type SendContactRequest_Request
- func (*SendContactRequest_Request) Descriptor() ([]byte, []int)
- func (m *SendContactRequest_Request) GetBertyID() *BertyID
- func (m *SendContactRequest_Request) GetMetadata() []byte
- func (m *SendContactRequest_Request) GetOwnMetadata() []byte
- func (*SendContactRequest_Request) ProtoMessage()
- func (m *SendContactRequest_Request) Reset()
- func (m *SendContactRequest_Request) String() string
- func (m *SendContactRequest_Request) XXX_DiscardUnknown()
- func (m *SendContactRequest_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendContactRequest_Request) XXX_Merge(src proto.Message)
- func (m *SendContactRequest_Request) XXX_Size() int
- func (m *SendContactRequest_Request) XXX_Unmarshal(b []byte) error
- type SendMessage
- func (*SendMessage) Descriptor() ([]byte, []int)
- func (*SendMessage) ProtoMessage()
- func (m *SendMessage) Reset()
- func (m *SendMessage) String() string
- func (m *SendMessage) XXX_DiscardUnknown()
- func (m *SendMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendMessage) XXX_Merge(src proto.Message)
- func (m *SendMessage) XXX_Size() int
- func (m *SendMessage) XXX_Unmarshal(b []byte) error
- type SendMessage_Reply
- func (*SendMessage_Reply) Descriptor() ([]byte, []int)
- func (*SendMessage_Reply) ProtoMessage()
- func (m *SendMessage_Reply) Reset()
- func (m *SendMessage_Reply) String() string
- func (m *SendMessage_Reply) XXX_DiscardUnknown()
- func (m *SendMessage_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendMessage_Reply) XXX_Merge(src proto.Message)
- func (m *SendMessage_Reply) XXX_Size() int
- func (m *SendMessage_Reply) XXX_Unmarshal(b []byte) error
- type SendMessage_Request
- func (*SendMessage_Request) Descriptor() ([]byte, []int)
- func (m *SendMessage_Request) GetGroupPK() []byte
- func (m *SendMessage_Request) GetMessage() string
- func (*SendMessage_Request) ProtoMessage()
- func (m *SendMessage_Request) Reset()
- func (m *SendMessage_Request) String() string
- func (m *SendMessage_Request) XXX_DiscardUnknown()
- func (m *SendMessage_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendMessage_Request) XXX_Merge(src proto.Message)
- func (m *SendMessage_Request) XXX_Size() int
- func (m *SendMessage_Request) XXX_Unmarshal(b []byte) error
- type ShareableBertyGroup
- func (*ShareableBertyGroup) Descriptor() ([]byte, []int)
- func (*ShareableBertyGroup) ProtoMessage()
- func (m *ShareableBertyGroup) Reset()
- func (m *ShareableBertyGroup) String() string
- func (m *ShareableBertyGroup) XXX_DiscardUnknown()
- func (m *ShareableBertyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShareableBertyGroup) XXX_Merge(src proto.Message)
- func (m *ShareableBertyGroup) XXX_Size() int
- func (m *ShareableBertyGroup) XXX_Unmarshal(b []byte) error
- type ShareableBertyGroup_Reply
- func (*ShareableBertyGroup_Reply) Descriptor() ([]byte, []int)
- func (m *ShareableBertyGroup_Reply) GetBertyGroup() *BertyGroup
- func (m *ShareableBertyGroup_Reply) GetBertyGroupPayload() string
- func (m *ShareableBertyGroup_Reply) GetDeepLink() string
- func (m *ShareableBertyGroup_Reply) GetHTMLURL() string
- func (*ShareableBertyGroup_Reply) ProtoMessage()
- func (m *ShareableBertyGroup_Reply) Reset()
- func (m *ShareableBertyGroup_Reply) String() string
- func (m *ShareableBertyGroup_Reply) XXX_DiscardUnknown()
- func (m *ShareableBertyGroup_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShareableBertyGroup_Reply) XXX_Merge(src proto.Message)
- func (m *ShareableBertyGroup_Reply) XXX_Size() int
- func (m *ShareableBertyGroup_Reply) XXX_Unmarshal(b []byte) error
- type ShareableBertyGroup_Request
- func (*ShareableBertyGroup_Request) Descriptor() ([]byte, []int)
- func (m *ShareableBertyGroup_Request) GetGroupName() string
- func (m *ShareableBertyGroup_Request) GetGroupPK() []byte
- func (*ShareableBertyGroup_Request) ProtoMessage()
- func (m *ShareableBertyGroup_Request) Reset()
- func (m *ShareableBertyGroup_Request) String() string
- func (m *ShareableBertyGroup_Request) XXX_DiscardUnknown()
- func (m *ShareableBertyGroup_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShareableBertyGroup_Request) XXX_Merge(src proto.Message)
- func (m *ShareableBertyGroup_Request) XXX_Size() int
- func (m *ShareableBertyGroup_Request) XXX_Unmarshal(b []byte) error
- type SystemInfo
- func (*SystemInfo) Descriptor() ([]byte, []int)
- func (*SystemInfo) ProtoMessage()
- func (m *SystemInfo) Reset()
- func (m *SystemInfo) String() string
- func (m *SystemInfo) XXX_DiscardUnknown()
- func (m *SystemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SystemInfo) XXX_Merge(src proto.Message)
- func (m *SystemInfo) XXX_Size() int
- func (m *SystemInfo) XXX_Unmarshal(b []byte) error
- type SystemInfo_Reply
- func (*SystemInfo_Reply) Descriptor() ([]byte, []int)
- func (m *SystemInfo_Reply) GetArch() string
- func (m *SystemInfo_Reply) GetBuildTime() int64
- func (m *SystemInfo_Reply) GetChildrenRusage() string
- func (m *SystemInfo_Reply) GetGoVersion() string
- func (m *SystemInfo_Reply) GetHostName() string
- func (m *SystemInfo_Reply) GetNumCPU() int64
- func (m *SystemInfo_Reply) GetNumGoroutine() int64
- func (m *SystemInfo_Reply) GetOperatingSystem() string
- func (m *SystemInfo_Reply) GetRlimit() string
- func (m *SystemInfo_Reply) GetSelfRusage() string
- func (m *SystemInfo_Reply) GetStartedAt() int64
- func (m *SystemInfo_Reply) GetVcsRef() string
- func (m *SystemInfo_Reply) GetVersion() string
- func (*SystemInfo_Reply) ProtoMessage()
- func (m *SystemInfo_Reply) Reset()
- func (m *SystemInfo_Reply) String() string
- func (m *SystemInfo_Reply) XXX_DiscardUnknown()
- func (m *SystemInfo_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SystemInfo_Reply) XXX_Merge(src proto.Message)
- func (m *SystemInfo_Reply) XXX_Size() int
- func (m *SystemInfo_Reply) XXX_Unmarshal(b []byte) error
- type SystemInfo_Request
- func (*SystemInfo_Request) Descriptor() ([]byte, []int)
- func (*SystemInfo_Request) ProtoMessage()
- func (m *SystemInfo_Request) Reset()
- func (m *SystemInfo_Request) String() string
- func (m *SystemInfo_Request) XXX_DiscardUnknown()
- func (m *SystemInfo_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SystemInfo_Request) XXX_Merge(src proto.Message)
- func (m *SystemInfo_Request) XXX_Size() int
- func (m *SystemInfo_Request) XXX_Unmarshal(b []byte) error
- type TestingServiceOpts
- type UnimplementedMessengerServiceServer
- func (*UnimplementedMessengerServiceServer) DevShareInstanceBertyID(ctx context.Context, req *DevShareInstanceBertyID_Request) (*DevShareInstanceBertyID_Reply, error)
- func (*UnimplementedMessengerServiceServer) InstanceShareableBertyID(ctx context.Context, req *InstanceShareableBertyID_Request) (*InstanceShareableBertyID_Reply, error)
- func (*UnimplementedMessengerServiceServer) ParseDeepLink(ctx context.Context, req *ParseDeepLink_Request) (*ParseDeepLink_Reply, error)
- func (*UnimplementedMessengerServiceServer) SendAck(ctx context.Context, req *SendAck_Request) (*SendAck_Reply, error)
- func (*UnimplementedMessengerServiceServer) SendContactRequest(ctx context.Context, req *SendContactRequest_Request) (*SendContactRequest_Reply, error)
- func (*UnimplementedMessengerServiceServer) SendMessage(ctx context.Context, req *SendMessage_Request) (*SendMessage_Reply, error)
- func (*UnimplementedMessengerServiceServer) ShareableBertyGroup(ctx context.Context, req *ShareableBertyGroup_Request) (*ShareableBertyGroup_Reply, error)
- func (*UnimplementedMessengerServiceServer) SystemInfo(ctx context.Context, req *SystemInfo_Request) (*SystemInfo_Reply, error)
- type UserMessageAttachment
- func (*UserMessageAttachment) Descriptor() ([]byte, []int)
- func (m *UserMessageAttachment) GetType() AppMessageType
- func (m *UserMessageAttachment) GetUri() string
- func (*UserMessageAttachment) ProtoMessage()
- func (m *UserMessageAttachment) Reset()
- func (m *UserMessageAttachment) String() string
- func (m *UserMessageAttachment) XXX_DiscardUnknown()
- func (m *UserMessageAttachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserMessageAttachment) XXX_Merge(src proto.Message)
- func (m *UserMessageAttachment) XXX_Size() int
- func (m *UserMessageAttachment) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( Version = "n/a" VcsRef = "n/a" BuildTime = "n/a" )
var AppMessageType_name = map[int32]string{
0: "Undefined",
1: "UserMessage",
2: "UserReaction",
3: "GroupInvitation",
4: "SetGroupName",
5: "Acknowledge",
}
var AppMessageType_value = map[string]int32{
"Undefined": 0,
"UserMessage": 1,
"UserReaction": 2,
"GroupInvitation": 3,
"SetGroupName": 4,
"Acknowledge": 5,
}
var ParseDeepLink_Kind_name = map[int32]string{
0: "UnknownKind",
1: "BertyID",
2: "BertyGroup",
}
var ParseDeepLink_Kind_value = map[string]int32{
"UnknownKind": 0,
"BertyID": 1,
"BertyGroup": 2,
}
Functions ¶
func NormalizeDeepLinkURL ¶ added in v2.85.0
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. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterMessengerServiceHandlerFromEndpoint instead.
func RegisterMessengerServiceServer ¶
func RegisterMessengerServiceServer(s *grpc.Server, srv MessengerServiceServer)
func ShareableBertyGroupURL ¶ added in v2.85.0
Types ¶
type AppMessageType ¶ added in v2.76.0
type AppMessageType int32
const ( AppMessageType_Undefined AppMessageType = 0 AppMessageType_UserMessage AppMessageType = 1 AppMessageType_UserReaction AppMessageType = 2 AppMessageType_GroupInvitation AppMessageType = 3 AppMessageType_SetGroupName AppMessageType = 4 AppMessageType_Acknowledge AppMessageType = 5 )
func (AppMessageType) EnumDescriptor ¶ added in v2.76.0
func (AppMessageType) EnumDescriptor() ([]byte, []int)
func (*AppMessageType) MarshalJSON ¶ added in v2.76.0
func (x *AppMessageType) MarshalJSON() ([]byte, error)
func (AppMessageType) String ¶ added in v2.76.0
func (x AppMessageType) String() string
func (*AppMessageType) UnmarshalJSON ¶ added in v2.76.0
func (x *AppMessageType) UnmarshalJSON(bytes []byte) error
type AppMessageTyped ¶ added in v2.76.0
type AppMessageTyped struct { Type AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AppMessageTyped) Descriptor ¶ added in v2.76.0
func (*AppMessageTyped) Descriptor() ([]byte, []int)
func (*AppMessageTyped) GetType ¶ added in v2.76.0
func (m *AppMessageTyped) GetType() AppMessageType
func (*AppMessageTyped) ProtoMessage ¶ added in v2.76.0
func (*AppMessageTyped) ProtoMessage()
func (*AppMessageTyped) Reset ¶ added in v2.76.0
func (m *AppMessageTyped) Reset()
func (*AppMessageTyped) String ¶ added in v2.76.0
func (m *AppMessageTyped) String() string
func (*AppMessageTyped) XXX_DiscardUnknown ¶ added in v2.76.0
func (m *AppMessageTyped) XXX_DiscardUnknown()
func (*AppMessageTyped) XXX_Marshal ¶ added in v2.76.0
func (m *AppMessageTyped) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AppMessageTyped) XXX_Merge ¶ added in v2.76.0
func (m *AppMessageTyped) XXX_Merge(src proto.Message)
func (*AppMessageTyped) XXX_Size ¶ added in v2.76.0
func (m *AppMessageTyped) XXX_Size() int
func (*AppMessageTyped) XXX_Unmarshal ¶ added in v2.76.0
func (m *AppMessageTyped) 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BertyID) Descriptor ¶ added in v2.66.0
func (*BertyID) GetAccountPK ¶ added in v2.66.0
func (*BertyID) GetDisplayName ¶ added in v2.66.0
func (*BertyID) GetPublicRendezvousSeed ¶ added in v2.66.0
func (*BertyID) ProtoMessage ¶ added in v2.66.0
func (*BertyID) ProtoMessage()
func (*BertyID) XXX_DiscardUnknown ¶ added in v2.66.0
func (m *BertyID) XXX_DiscardUnknown()
func (*BertyID) XXX_Marshal ¶ added in v2.66.0
func (*BertyID) XXX_Unmarshal ¶ added in v2.66.0
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 (m *DevShareInstanceBertyID_Reply) String() 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 }
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 (m *DevShareInstanceBertyID_Request) Reset()
func (*DevShareInstanceBertyID_Request) String ¶
func (m *DevShareInstanceBertyID_Request) String() 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 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 {}
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 (*InstanceShareableBertyID_Reply) GetDeepLink ¶
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 (m *InstanceShareableBertyID_Reply) String() 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 }
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 (m *InstanceShareableBertyID_Request) Reset()
func (*InstanceShareableBertyID_Request) String ¶
func (m *InstanceShareableBertyID_Request) String() 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 (m *InstanceShareableBertyID_Request) XXX_Merge(src proto.Message)
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 MessengerServiceClient ¶
type MessengerServiceClient interface { context.Context, in *InstanceShareableBertyID_Request, opts ...grpc.CallOption) (*InstanceShareableBertyID_Reply, error) ShareableBertyGroup(ctx context.Context, in *ShareableBertyGroup_Request, opts ...grpc.CallOption) (*ShareableBertyGroup_Reply, error) // 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) }InstanceShareableBertyID(ctx
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 { context.Context, *InstanceShareableBertyID_Request) (*InstanceShareableBertyID_Reply, error) ShareableBertyGroup(context.Context, *ShareableBertyGroup_Request) (*ShareableBertyGroup_Reply, error) // 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) }InstanceShareableBertyID(
MessengerServiceServer is the server API for MessengerService service.
func New ¶
func New(client bertyprotocol.ProtocolServiceClient, opts *Opts) MessengerServiceServer
func TestingService ¶
func TestingService(ctx context.Context, t *testing.T, opts *TestingServiceOpts) (MessengerServiceServer, func())
type ParseDeepLink ¶ added in v2.66.0
type ParseDeepLink struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶ added in v2.66.0
type ParseDeepLink_Kind int32
const ( ParseDeepLink_UnknownKind ParseDeepLink_Kind = 0 ParseDeepLink_BertyID ParseDeepLink_Kind = 1 ParseDeepLink_BertyGroup ParseDeepLink_Kind = 2 )
func (ParseDeepLink_Kind) EnumDescriptor ¶ added in v2.66.0
func (ParseDeepLink_Kind) EnumDescriptor() ([]byte, []int)
func (ParseDeepLink_Kind) String ¶ added in v2.66.0
func (x ParseDeepLink_Kind) String() string
type ParseDeepLink_Reply ¶ added in v2.66.0
type ParseDeepLink_Reply struct { Kind ParseDeepLink_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=berty.messenger.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func ParseGroupInviteURLQuery ¶ added in v2.85.0
func ParseGroupInviteURLQuery(query url.Values) (*ParseDeepLink_Reply, error)
func (*ParseDeepLink_Reply) Descriptor ¶ added in v2.66.0
func (*ParseDeepLink_Reply) Descriptor() ([]byte, []int)
func (*ParseDeepLink_Reply) GetBertyGroup ¶ added in v2.85.0
func (m *ParseDeepLink_Reply) GetBertyGroup() *BertyGroup
func (*ParseDeepLink_Reply) GetBertyID ¶ added in v2.66.0
func (m *ParseDeepLink_Reply) GetBertyID() *BertyID
func (*ParseDeepLink_Reply) GetKind ¶ added in v2.66.0
func (m *ParseDeepLink_Reply) GetKind() ParseDeepLink_Kind
func (*ParseDeepLink_Reply) ProtoMessage ¶ added in v2.66.0
func (*ParseDeepLink_Reply) ProtoMessage()
func (*ParseDeepLink_Reply) Reset ¶ added in v2.66.0
func (m *ParseDeepLink_Reply) Reset()
func (*ParseDeepLink_Reply) String ¶ added in v2.66.0
func (m *ParseDeepLink_Reply) String() string
func (*ParseDeepLink_Reply) XXX_DiscardUnknown ¶ added in v2.66.0
func (m *ParseDeepLink_Reply) XXX_DiscardUnknown()
func (*ParseDeepLink_Reply) XXX_Marshal ¶ added in v2.66.0
func (m *ParseDeepLink_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParseDeepLink_Reply) XXX_Merge ¶ added in v2.66.0
func (m *ParseDeepLink_Reply) XXX_Merge(src proto.Message)
func (*ParseDeepLink_Reply) XXX_Size ¶ added in v2.66.0
func (m *ParseDeepLink_Reply) XXX_Size() int
func (*ParseDeepLink_Reply) XXX_Unmarshal ¶ added in v2.66.0
func (m *ParseDeepLink_Reply) XXX_Unmarshal(b []byte) error
type ParseDeepLink_Request ¶ added in v2.66.0
type ParseDeepLink_Request struct { Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParseDeepLink_Request) Descriptor ¶ added in v2.66.0
func (*ParseDeepLink_Request) Descriptor() ([]byte, []int)
func (*ParseDeepLink_Request) GetLink ¶ added in v2.66.0
func (m *ParseDeepLink_Request) GetLink() string
func (*ParseDeepLink_Request) ProtoMessage ¶ added in v2.66.0
func (*ParseDeepLink_Request) ProtoMessage()
func (*ParseDeepLink_Request) Reset ¶ added in v2.66.0
func (m *ParseDeepLink_Request) Reset()
func (*ParseDeepLink_Request) String ¶ added in v2.66.0
func (m *ParseDeepLink_Request) String() string
func (*ParseDeepLink_Request) XXX_DiscardUnknown ¶ added in v2.66.0
func (m *ParseDeepLink_Request) XXX_DiscardUnknown()
func (*ParseDeepLink_Request) XXX_Marshal ¶ added in v2.66.0
func (m *ParseDeepLink_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParseDeepLink_Request) XXX_Merge ¶ added in v2.66.0
func (m *ParseDeepLink_Request) XXX_Merge(src proto.Message)
func (*ParseDeepLink_Request) XXX_Size ¶ added in v2.66.0
func (m *ParseDeepLink_Request) XXX_Size() int
func (*ParseDeepLink_Request) XXX_Unmarshal ¶ added in v2.66.0
func (m *ParseDeepLink_Request) XXX_Unmarshal(b []byte) error
type PayloadAcknowledge ¶ added in v2.76.0
type PayloadAcknowledge struct { Type AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"` Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PayloadAcknowledge) Descriptor ¶ added in v2.76.0
func (*PayloadAcknowledge) Descriptor() ([]byte, []int)
func (*PayloadAcknowledge) GetTarget ¶ added in v2.76.0
func (m *PayloadAcknowledge) GetTarget() string
func (*PayloadAcknowledge) GetType ¶ added in v2.76.0
func (m *PayloadAcknowledge) GetType() AppMessageType
func (*PayloadAcknowledge) ProtoMessage ¶ added in v2.76.0
func (*PayloadAcknowledge) ProtoMessage()
func (*PayloadAcknowledge) Reset ¶ added in v2.76.0
func (m *PayloadAcknowledge) Reset()
func (*PayloadAcknowledge) String ¶ added in v2.76.0
func (m *PayloadAcknowledge) String() string
func (*PayloadAcknowledge) XXX_DiscardUnknown ¶ added in v2.76.0
func (m *PayloadAcknowledge) XXX_DiscardUnknown()
func (*PayloadAcknowledge) XXX_Marshal ¶ added in v2.76.0
func (m *PayloadAcknowledge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayloadAcknowledge) XXX_Merge ¶ added in v2.76.0
func (m *PayloadAcknowledge) XXX_Merge(src proto.Message)
func (*PayloadAcknowledge) XXX_Size ¶ added in v2.76.0
func (m *PayloadAcknowledge) XXX_Size() int
func (*PayloadAcknowledge) XXX_Unmarshal ¶ added in v2.76.0
func (m *PayloadAcknowledge) XXX_Unmarshal(b []byte) error
type PayloadGroupInvitation ¶ added in v2.76.0
type PayloadGroupInvitation struct { Type AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"` GroupPk string `protobuf:"bytes,2,opt,name=group_pk,json=groupPk,proto3" json:"groupPk"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PayloadGroupInvitation) Descriptor ¶ added in v2.76.0
func (*PayloadGroupInvitation) Descriptor() ([]byte, []int)
func (*PayloadGroupInvitation) GetGroupPk ¶ added in v2.76.0
func (m *PayloadGroupInvitation) GetGroupPk() string
func (*PayloadGroupInvitation) GetType ¶ added in v2.76.0
func (m *PayloadGroupInvitation) GetType() AppMessageType
func (*PayloadGroupInvitation) ProtoMessage ¶ added in v2.76.0
func (*PayloadGroupInvitation) ProtoMessage()
func (*PayloadGroupInvitation) Reset ¶ added in v2.76.0
func (m *PayloadGroupInvitation) Reset()
func (*PayloadGroupInvitation) String ¶ added in v2.76.0
func (m *PayloadGroupInvitation) String() string
func (*PayloadGroupInvitation) XXX_DiscardUnknown ¶ added in v2.76.0
func (m *PayloadGroupInvitation) XXX_DiscardUnknown()
func (*PayloadGroupInvitation) XXX_Marshal ¶ added in v2.76.0
func (m *PayloadGroupInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayloadGroupInvitation) XXX_Merge ¶ added in v2.76.0
func (m *PayloadGroupInvitation) XXX_Merge(src proto.Message)
func (*PayloadGroupInvitation) XXX_Size ¶ added in v2.76.0
func (m *PayloadGroupInvitation) XXX_Size() int
func (*PayloadGroupInvitation) XXX_Unmarshal ¶ added in v2.76.0
func (m *PayloadGroupInvitation) XXX_Unmarshal(b []byte) error
type PayloadSetGroupName ¶ added in v2.76.0
type PayloadSetGroupName struct { Type AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PayloadSetGroupName) Descriptor ¶ added in v2.76.0
func (*PayloadSetGroupName) Descriptor() ([]byte, []int)
func (*PayloadSetGroupName) GetName ¶ added in v2.76.0
func (m *PayloadSetGroupName) GetName() string
func (*PayloadSetGroupName) GetType ¶ added in v2.76.0
func (m *PayloadSetGroupName) GetType() AppMessageType
func (*PayloadSetGroupName) ProtoMessage ¶ added in v2.76.0
func (*PayloadSetGroupName) ProtoMessage()
func (*PayloadSetGroupName) Reset ¶ added in v2.76.0
func (m *PayloadSetGroupName) Reset()
func (*PayloadSetGroupName) String ¶ added in v2.76.0
func (m *PayloadSetGroupName) String() string
func (*PayloadSetGroupName) XXX_DiscardUnknown ¶ added in v2.76.0
func (m *PayloadSetGroupName) XXX_DiscardUnknown()
func (*PayloadSetGroupName) XXX_Marshal ¶ added in v2.76.0
func (m *PayloadSetGroupName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayloadSetGroupName) XXX_Merge ¶ added in v2.76.0
func (m *PayloadSetGroupName) XXX_Merge(src proto.Message)
func (*PayloadSetGroupName) XXX_Size ¶ added in v2.76.0
func (m *PayloadSetGroupName) XXX_Size() int
func (*PayloadSetGroupName) XXX_Unmarshal ¶ added in v2.76.0
func (m *PayloadSetGroupName) XXX_Unmarshal(b []byte) error
type PayloadUserMessage ¶ added in v2.76.0
type PayloadUserMessage struct { Type AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"` Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` Attachments []*UserMessageAttachment `protobuf:"bytes,3,rep,name=attachments,proto3" json:"attachments,omitempty"` SentDate int64 `protobuf:"varint,4,opt,name=sent_date,json=sentDate,proto3" json:"sentDate"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PayloadUserMessage) Descriptor ¶ added in v2.76.0
func (*PayloadUserMessage) Descriptor() ([]byte, []int)
func (*PayloadUserMessage) GetAttachments ¶ added in v2.76.0
func (m *PayloadUserMessage) GetAttachments() []*UserMessageAttachment
func (*PayloadUserMessage) GetBody ¶ added in v2.76.0
func (m *PayloadUserMessage) GetBody() string
func (*PayloadUserMessage) GetSentDate ¶ added in v2.76.0
func (m *PayloadUserMessage) GetSentDate() int64
func (*PayloadUserMessage) GetType ¶ added in v2.76.0
func (m *PayloadUserMessage) GetType() AppMessageType
func (*PayloadUserMessage) ProtoMessage ¶ added in v2.76.0
func (*PayloadUserMessage) ProtoMessage()
func (*PayloadUserMessage) Reset ¶ added in v2.76.0
func (m *PayloadUserMessage) Reset()
func (*PayloadUserMessage) String ¶ added in v2.76.0
func (m *PayloadUserMessage) String() string
func (*PayloadUserMessage) XXX_DiscardUnknown ¶ added in v2.76.0
func (m *PayloadUserMessage) XXX_DiscardUnknown()
func (*PayloadUserMessage) XXX_Marshal ¶ added in v2.76.0
func (m *PayloadUserMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayloadUserMessage) XXX_Merge ¶ added in v2.76.0
func (m *PayloadUserMessage) XXX_Merge(src proto.Message)
func (*PayloadUserMessage) XXX_Size ¶ added in v2.76.0
func (m *PayloadUserMessage) XXX_Size() int
func (*PayloadUserMessage) XXX_Unmarshal ¶ added in v2.76.0
func (m *PayloadUserMessage) XXX_Unmarshal(b []byte) error
type PayloadUserReaction ¶ added in v2.76.0
type PayloadUserReaction struct { Type AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"` Emoji string `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PayloadUserReaction) Descriptor ¶ added in v2.76.0
func (*PayloadUserReaction) Descriptor() ([]byte, []int)
func (*PayloadUserReaction) GetEmoji ¶ added in v2.76.0
func (m *PayloadUserReaction) GetEmoji() string
func (*PayloadUserReaction) GetType ¶ added in v2.76.0
func (m *PayloadUserReaction) GetType() AppMessageType
func (*PayloadUserReaction) ProtoMessage ¶ added in v2.76.0
func (*PayloadUserReaction) ProtoMessage()
func (*PayloadUserReaction) Reset ¶ added in v2.76.0
func (m *PayloadUserReaction) Reset()
func (*PayloadUserReaction) String ¶ added in v2.76.0
func (m *PayloadUserReaction) String() string
func (*PayloadUserReaction) XXX_DiscardUnknown ¶ added in v2.76.0
func (m *PayloadUserReaction) XXX_DiscardUnknown()
func (*PayloadUserReaction) XXX_Marshal ¶ added in v2.76.0
func (m *PayloadUserReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayloadUserReaction) XXX_Merge ¶ added in v2.76.0
func (m *PayloadUserReaction) XXX_Merge(src proto.Message)
func (*PayloadUserReaction) XXX_Size ¶ added in v2.76.0
func (m *PayloadUserReaction) XXX_Size() int
func (*PayloadUserReaction) XXX_Unmarshal ¶ added in v2.76.0
func (m *PayloadUserReaction) XXX_Unmarshal(b []byte) error
type SendAck ¶ added in v2.85.0
type SendAck struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendAck) Descriptor ¶ added in v2.85.0
func (*SendAck) ProtoMessage ¶ added in v2.85.0
func (*SendAck) ProtoMessage()
func (*SendAck) XXX_DiscardUnknown ¶ added in v2.85.0
func (m *SendAck) XXX_DiscardUnknown()
func (*SendAck) XXX_Marshal ¶ added in v2.85.0
func (*SendAck) XXX_Unmarshal ¶ added in v2.85.0
type SendAck_Reply ¶ added in v2.85.0
type SendAck_Reply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 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 {}
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 (*ShareableBertyGroup_Reply) GetDeepLink ¶ added in v2.85.0
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 {}
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 SystemInfo ¶ added in v2.82.0
type SystemInfo struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 { StartedAt int64 `protobuf:"varint,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` NumCPU int64 `protobuf:"varint,2,opt,name=num_cpu,json=numCpu,proto3" json:"num_cpu,omitempty"` GoVersion string `protobuf:"bytes,3,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` NumGoroutine int64 `protobuf:"varint,4,opt,name=num_goroutine,json=numGoroutine,proto3" json:"num_goroutine,omitempty"` OperatingSystem string `protobuf:"bytes,5,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"` HostName string `protobuf:"bytes,6,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` Arch string `protobuf:"bytes,7,opt,name=arch,proto3" json:"arch,omitempty"` Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` VcsRef string `protobuf:"bytes,9,opt,name=vcs_ref,json=vcsRef,proto3" json:"vcs_ref,omitempty"` BuildTime int64 `protobuf:"varint,10,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"` Rlimit string `protobuf:"bytes,11,opt,name=rlimit,proto3" json:"rlimit,omitempty"` SelfRusage string `protobuf:"bytes,12,opt,name=self_rusage,json=selfRusage,proto3" json:"self_rusage,omitempty"` ChildrenRusage string `protobuf:"bytes,13,opt,name=children_rusage,json=childrenRusage,proto3" json:"children_rusage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) 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) 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) GetRlimit ¶ added in v2.104.0
func (m *SystemInfo_Reply) GetRlimit() string
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) 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 { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 TestingServiceOpts ¶
type TestingServiceOpts struct { Logger *zap.Logger Client bertyprotocol.Client }
type UnimplementedMessengerServiceServer ¶
type UnimplementedMessengerServiceServer struct { }
UnimplementedMessengerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMessengerServiceServer) DevShareInstanceBertyID ¶
func (*UnimplementedMessengerServiceServer) DevShareInstanceBertyID(ctx context.Context, req *DevShareInstanceBertyID_Request) (*DevShareInstanceBertyID_Reply, error)
func (*UnimplementedMessengerServiceServer) InstanceShareableBertyID ¶
func (*UnimplementedMessengerServiceServer) InstanceShareableBertyID(ctx context.Context, req *InstanceShareableBertyID_Request) (*InstanceShareableBertyID_Reply, error)
func (*UnimplementedMessengerServiceServer) ParseDeepLink ¶ added in v2.66.0
func (*UnimplementedMessengerServiceServer) ParseDeepLink(ctx context.Context, req *ParseDeepLink_Request) (*ParseDeepLink_Reply, error)
func (*UnimplementedMessengerServiceServer) SendAck ¶ added in v2.85.0
func (*UnimplementedMessengerServiceServer) SendAck(ctx context.Context, req *SendAck_Request) (*SendAck_Reply, error)
func (*UnimplementedMessengerServiceServer) SendContactRequest ¶ added in v2.66.0
func (*UnimplementedMessengerServiceServer) SendContactRequest(ctx context.Context, req *SendContactRequest_Request) (*SendContactRequest_Reply, error)
func (*UnimplementedMessengerServiceServer) SendMessage ¶ added in v2.85.0
func (*UnimplementedMessengerServiceServer) SendMessage(ctx context.Context, req *SendMessage_Request) (*SendMessage_Reply, error)
func (*UnimplementedMessengerServiceServer) ShareableBertyGroup ¶ added in v2.85.0
func (*UnimplementedMessengerServiceServer) ShareableBertyGroup(ctx context.Context, req *ShareableBertyGroup_Request) (*ShareableBertyGroup_Reply, error)
func (*UnimplementedMessengerServiceServer) SystemInfo ¶ added in v2.82.0
func (*UnimplementedMessengerServiceServer) SystemInfo(ctx context.Context, req *SystemInfo_Request) (*SystemInfo_Reply, error)
type UserMessageAttachment ¶ added in v2.76.0
type UserMessageAttachment struct { Type AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"` Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserMessageAttachment) Descriptor ¶ added in v2.76.0
func (*UserMessageAttachment) Descriptor() ([]byte, []int)
func (*UserMessageAttachment) GetType ¶ added in v2.76.0
func (m *UserMessageAttachment) GetType() AppMessageType
func (*UserMessageAttachment) GetUri ¶ added in v2.76.0
func (m *UserMessageAttachment) GetUri() string
func (*UserMessageAttachment) ProtoMessage ¶ added in v2.76.0
func (*UserMessageAttachment) ProtoMessage()
func (*UserMessageAttachment) Reset ¶ added in v2.76.0
func (m *UserMessageAttachment) Reset()
func (*UserMessageAttachment) String ¶ added in v2.76.0
func (m *UserMessageAttachment) String() string
func (*UserMessageAttachment) XXX_DiscardUnknown ¶ added in v2.76.0
func (m *UserMessageAttachment) XXX_DiscardUnknown()
func (*UserMessageAttachment) XXX_Marshal ¶ added in v2.76.0
func (m *UserMessageAttachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserMessageAttachment) XXX_Merge ¶ added in v2.76.0
func (m *UserMessageAttachment) XXX_Merge(src proto.Message)
func (*UserMessageAttachment) XXX_Size ¶ added in v2.76.0
func (m *UserMessageAttachment) XXX_Size() int
func (*UserMessageAttachment) XXX_Unmarshal ¶ added in v2.76.0
func (m *UserMessageAttachment) XXX_Unmarshal(b []byte) error