Documentation
¶
Index ¶
- Variables
- func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer)
- type AdvancePointerRequest
- func (*AdvancePointerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancePointerRequest) GetChatId() *v1.ChatId
- func (x *AdvancePointerRequest) GetOwner() *v1.SolanaAccountId
- func (x *AdvancePointerRequest) GetPointer() *Pointer
- func (x *AdvancePointerRequest) GetSignature() *v1.Signature
- func (*AdvancePointerRequest) ProtoMessage()
- func (x *AdvancePointerRequest) ProtoReflect() protoreflect.Message
- func (x *AdvancePointerRequest) Reset()
- func (x *AdvancePointerRequest) String() string
- func (m *AdvancePointerRequest) Validate() error
- type AdvancePointerRequestValidationError
- func (e AdvancePointerRequestValidationError) Cause() error
- func (e AdvancePointerRequestValidationError) Error() string
- func (e AdvancePointerRequestValidationError) ErrorName() string
- func (e AdvancePointerRequestValidationError) Field() string
- func (e AdvancePointerRequestValidationError) Key() bool
- func (e AdvancePointerRequestValidationError) Reason() string
- type AdvancePointerResponse
- func (*AdvancePointerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancePointerResponse) GetResult() AdvancePointerResponse_Result
- func (*AdvancePointerResponse) ProtoMessage()
- func (x *AdvancePointerResponse) ProtoReflect() protoreflect.Message
- func (x *AdvancePointerResponse) Reset()
- func (x *AdvancePointerResponse) String() string
- func (m *AdvancePointerResponse) Validate() error
- type AdvancePointerResponseValidationError
- func (e AdvancePointerResponseValidationError) Cause() error
- func (e AdvancePointerResponseValidationError) Error() string
- func (e AdvancePointerResponseValidationError) ErrorName() string
- func (e AdvancePointerResponseValidationError) Field() string
- func (e AdvancePointerResponseValidationError) Key() bool
- func (e AdvancePointerResponseValidationError) Reason() string
- type AdvancePointerResponse_Result
- func (AdvancePointerResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x AdvancePointerResponse_Result) Enum() *AdvancePointerResponse_Result
- func (AdvancePointerResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdvancePointerResponse_Result) Number() protoreflect.EnumNumber
- func (x AdvancePointerResponse_Result) String() string
- func (AdvancePointerResponse_Result) Type() protoreflect.EnumType
- type ChatClient
- type ChatMember
- func (*ChatMember) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMember) GetIdentity() *ChatMemberIdentity
- func (x *ChatMember) GetIsMuted() bool
- func (x *ChatMember) GetIsSelf() bool
- func (x *ChatMember) GetIsSubscribed() bool
- func (x *ChatMember) GetMemberId() *ChatMemberId
- func (x *ChatMember) GetNumUnread() uint32
- func (x *ChatMember) GetPointers() []*Pointer
- func (*ChatMember) ProtoMessage()
- func (x *ChatMember) ProtoReflect() protoreflect.Message
- func (x *ChatMember) Reset()
- func (x *ChatMember) String() string
- func (m *ChatMember) Validate() error
- type ChatMemberId
- func (*ChatMemberId) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMemberId) GetValue() []byte
- func (*ChatMemberId) ProtoMessage()
- func (x *ChatMemberId) ProtoReflect() protoreflect.Message
- func (x *ChatMemberId) Reset()
- func (x *ChatMemberId) String() string
- func (m *ChatMemberId) Validate() error
- type ChatMemberIdValidationError
- func (e ChatMemberIdValidationError) Cause() error
- func (e ChatMemberIdValidationError) Error() string
- func (e ChatMemberIdValidationError) ErrorName() string
- func (e ChatMemberIdValidationError) Field() string
- func (e ChatMemberIdValidationError) Key() bool
- func (e ChatMemberIdValidationError) Reason() string
- type ChatMemberIdentity
- func (*ChatMemberIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMemberIdentity) GetPlatform() Platform
- func (x *ChatMemberIdentity) GetProfilePicUrl() string
- func (x *ChatMemberIdentity) GetUsername() string
- func (*ChatMemberIdentity) ProtoMessage()
- func (x *ChatMemberIdentity) ProtoReflect() protoreflect.Message
- func (x *ChatMemberIdentity) Reset()
- func (x *ChatMemberIdentity) String() string
- func (m *ChatMemberIdentity) Validate() error
- type ChatMemberIdentityValidationError
- func (e ChatMemberIdentityValidationError) Cause() error
- func (e ChatMemberIdentityValidationError) Error() string
- func (e ChatMemberIdentityValidationError) ErrorName() string
- func (e ChatMemberIdentityValidationError) Field() string
- func (e ChatMemberIdentityValidationError) Key() bool
- func (e ChatMemberIdentityValidationError) Reason() string
- type ChatMemberValidationError
- type ChatMessage
- func (*ChatMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMessage) GetContent() []*Content
- func (x *ChatMessage) GetCursor() *Cursor
- func (x *ChatMessage) GetMessageId() *ChatMessageId
- func (x *ChatMessage) GetSenderId() *ChatMemberId
- func (x *ChatMessage) GetTs() *timestamppb.Timestamp
- func (*ChatMessage) ProtoMessage()
- func (x *ChatMessage) ProtoReflect() protoreflect.Message
- func (x *ChatMessage) Reset()
- func (x *ChatMessage) String() string
- func (m *ChatMessage) Validate() error
- type ChatMessageId
- func (*ChatMessageId) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMessageId) GetValue() []byte
- func (*ChatMessageId) ProtoMessage()
- func (x *ChatMessageId) ProtoReflect() protoreflect.Message
- func (x *ChatMessageId) Reset()
- func (x *ChatMessageId) String() string
- func (m *ChatMessageId) Validate() error
- type ChatMessageIdValidationError
- func (e ChatMessageIdValidationError) Cause() error
- func (e ChatMessageIdValidationError) Error() string
- func (e ChatMessageIdValidationError) ErrorName() string
- func (e ChatMessageIdValidationError) Field() string
- func (e ChatMessageIdValidationError) Key() bool
- func (e ChatMessageIdValidationError) Reason() string
- type ChatMessageValidationError
- func (e ChatMessageValidationError) Cause() error
- func (e ChatMessageValidationError) Error() string
- func (e ChatMessageValidationError) ErrorName() string
- func (e ChatMessageValidationError) Field() string
- func (e ChatMessageValidationError) Key() bool
- func (e ChatMessageValidationError) Reason() string
- type ChatMetadata
- func (*ChatMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMetadata) GetCanMute() bool
- func (x *ChatMetadata) GetCanUnsubscribe() bool
- func (x *ChatMetadata) GetChatId() *v1.ChatId
- func (x *ChatMetadata) GetCursor() *Cursor
- func (x *ChatMetadata) GetMembers() []*ChatMember
- func (x *ChatMetadata) GetTitle() string
- func (x *ChatMetadata) GetType() ChatType
- func (*ChatMetadata) ProtoMessage()
- func (x *ChatMetadata) ProtoReflect() protoreflect.Message
- func (x *ChatMetadata) Reset()
- func (x *ChatMetadata) String() string
- func (m *ChatMetadata) Validate() error
- type ChatMetadataValidationError
- func (e ChatMetadataValidationError) Cause() error
- func (e ChatMetadataValidationError) Error() string
- func (e ChatMetadataValidationError) ErrorName() string
- func (e ChatMetadataValidationError) Field() string
- func (e ChatMetadataValidationError) Key() bool
- func (e ChatMetadataValidationError) Reason() string
- type ChatServer
- type ChatStreamEvent
- func (*ChatStreamEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ChatStreamEvent) GetIsTyping() *IsTyping
- func (x *ChatStreamEvent) GetMessage() *ChatMessage
- func (x *ChatStreamEvent) GetPointer() *Pointer
- func (m *ChatStreamEvent) GetType() isChatStreamEvent_Type
- func (*ChatStreamEvent) ProtoMessage()
- func (x *ChatStreamEvent) ProtoReflect() protoreflect.Message
- func (x *ChatStreamEvent) Reset()
- func (x *ChatStreamEvent) String() string
- func (m *ChatStreamEvent) Validate() error
- type ChatStreamEventBatch
- func (*ChatStreamEventBatch) Descriptor() ([]byte, []int)deprecated
- func (x *ChatStreamEventBatch) GetEvents() []*ChatStreamEvent
- func (*ChatStreamEventBatch) ProtoMessage()
- func (x *ChatStreamEventBatch) ProtoReflect() protoreflect.Message
- func (x *ChatStreamEventBatch) Reset()
- func (x *ChatStreamEventBatch) String() string
- func (m *ChatStreamEventBatch) Validate() error
- type ChatStreamEventBatchValidationError
- func (e ChatStreamEventBatchValidationError) Cause() error
- func (e ChatStreamEventBatchValidationError) Error() string
- func (e ChatStreamEventBatchValidationError) ErrorName() string
- func (e ChatStreamEventBatchValidationError) Field() string
- func (e ChatStreamEventBatchValidationError) Key() bool
- func (e ChatStreamEventBatchValidationError) Reason() string
- type ChatStreamEventError
- func (*ChatStreamEventError) Descriptor() ([]byte, []int)deprecated
- func (x *ChatStreamEventError) GetCode() ChatStreamEventError_Code
- func (*ChatStreamEventError) ProtoMessage()
- func (x *ChatStreamEventError) ProtoReflect() protoreflect.Message
- func (x *ChatStreamEventError) Reset()
- func (x *ChatStreamEventError) String() string
- func (m *ChatStreamEventError) Validate() error
- type ChatStreamEventErrorValidationError
- func (e ChatStreamEventErrorValidationError) Cause() error
- func (e ChatStreamEventErrorValidationError) Error() string
- func (e ChatStreamEventErrorValidationError) ErrorName() string
- func (e ChatStreamEventErrorValidationError) Field() string
- func (e ChatStreamEventErrorValidationError) Key() bool
- func (e ChatStreamEventErrorValidationError) Reason() string
- type ChatStreamEventError_Code
- func (ChatStreamEventError_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ChatStreamEventError_Code) Enum() *ChatStreamEventError_Code
- func (ChatStreamEventError_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChatStreamEventError_Code) Number() protoreflect.EnumNumber
- func (x ChatStreamEventError_Code) String() string
- func (ChatStreamEventError_Code) Type() protoreflect.EnumType
- type ChatStreamEventValidationError
- func (e ChatStreamEventValidationError) Cause() error
- func (e ChatStreamEventValidationError) Error() string
- func (e ChatStreamEventValidationError) ErrorName() string
- func (e ChatStreamEventValidationError) Field() string
- func (e ChatStreamEventValidationError) Key() bool
- func (e ChatStreamEventValidationError) Reason() string
- type ChatStreamEvent_IsTyping
- type ChatStreamEvent_Message
- type ChatStreamEvent_Pointer
- type ChatType
- type Chat_StreamChatEventsClient
- type Chat_StreamChatEventsServer
- type Content
- func (*Content) Descriptor() ([]byte, []int)deprecated
- func (x *Content) GetExchangeData() *ExchangeDataContent
- func (x *Content) GetIdentityRevealed() *IdentityRevealedContent
- func (x *Content) GetLocalized() *LocalizedContent
- func (x *Content) GetNaclBox() *NaclBoxEncryptedContent
- func (x *Content) GetText() *TextContent
- func (x *Content) GetThankYou() *ThankYouContent
- func (m *Content) GetType() isContent_Type
- func (*Content) ProtoMessage()
- func (x *Content) ProtoReflect() protoreflect.Message
- func (x *Content) Reset()
- func (x *Content) String() string
- func (m *Content) Validate() error
- type ContentValidationError
- type Content_ExchangeData
- type Content_IdentityRevealed
- type Content_Localized
- type Content_NaclBox
- type Content_Text
- type Content_ThankYou
- type Cursor
- type CursorValidationError
- type ExchangeDataContent
- func (*ExchangeDataContent) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeDataContent) GetExact() *v2.ExchangeData
- func (m *ExchangeDataContent) GetExchangeData() isExchangeDataContent_ExchangeData
- func (x *ExchangeDataContent) GetIntent() *v1.IntentId
- func (x *ExchangeDataContent) GetPartial() *v2.ExchangeDataWithoutRate
- func (m *ExchangeDataContent) GetReference() isExchangeDataContent_Reference
- func (x *ExchangeDataContent) GetSignature() *v1.Signature
- func (x *ExchangeDataContent) GetVerb() ExchangeDataContent_Verb
- func (*ExchangeDataContent) ProtoMessage()
- func (x *ExchangeDataContent) ProtoReflect() protoreflect.Message
- func (x *ExchangeDataContent) Reset()
- func (x *ExchangeDataContent) String() string
- func (m *ExchangeDataContent) Validate() error
- type ExchangeDataContentValidationError
- func (e ExchangeDataContentValidationError) Cause() error
- func (e ExchangeDataContentValidationError) Error() string
- func (e ExchangeDataContentValidationError) ErrorName() string
- func (e ExchangeDataContentValidationError) Field() string
- func (e ExchangeDataContentValidationError) Key() bool
- func (e ExchangeDataContentValidationError) Reason() string
- type ExchangeDataContent_Exact
- type ExchangeDataContent_Intent
- type ExchangeDataContent_Partial
- type ExchangeDataContent_Signature
- type ExchangeDataContent_Verb
- func (ExchangeDataContent_Verb) Descriptor() protoreflect.EnumDescriptor
- func (x ExchangeDataContent_Verb) Enum() *ExchangeDataContent_Verb
- func (ExchangeDataContent_Verb) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExchangeDataContent_Verb) Number() protoreflect.EnumNumber
- func (x ExchangeDataContent_Verb) String() string
- func (ExchangeDataContent_Verb) Type() protoreflect.EnumType
- type GetChatsRequest
- func (*GetChatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChatsRequest) GetCursor() *Cursor
- func (x *GetChatsRequest) GetDirection() GetChatsRequest_Direction
- func (x *GetChatsRequest) GetOwner() *v1.SolanaAccountId
- func (x *GetChatsRequest) GetPageSize() uint32
- func (x *GetChatsRequest) GetSignature() *v1.Signature
- func (*GetChatsRequest) ProtoMessage()
- func (x *GetChatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetChatsRequest) Reset()
- func (x *GetChatsRequest) String() string
- func (m *GetChatsRequest) Validate() error
- type GetChatsRequestValidationError
- func (e GetChatsRequestValidationError) Cause() error
- func (e GetChatsRequestValidationError) Error() string
- func (e GetChatsRequestValidationError) ErrorName() string
- func (e GetChatsRequestValidationError) Field() string
- func (e GetChatsRequestValidationError) Key() bool
- func (e GetChatsRequestValidationError) Reason() string
- type GetChatsRequest_Direction
- func (GetChatsRequest_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x GetChatsRequest_Direction) Enum() *GetChatsRequest_Direction
- func (GetChatsRequest_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetChatsRequest_Direction) Number() protoreflect.EnumNumber
- func (x GetChatsRequest_Direction) String() string
- func (GetChatsRequest_Direction) Type() protoreflect.EnumType
- type GetChatsResponse
- func (*GetChatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChatsResponse) GetChats() []*ChatMetadata
- func (x *GetChatsResponse) GetResult() GetChatsResponse_Result
- func (*GetChatsResponse) ProtoMessage()
- func (x *GetChatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetChatsResponse) Reset()
- func (x *GetChatsResponse) String() string
- func (m *GetChatsResponse) Validate() error
- type GetChatsResponseValidationError
- func (e GetChatsResponseValidationError) Cause() error
- func (e GetChatsResponseValidationError) Error() string
- func (e GetChatsResponseValidationError) ErrorName() string
- func (e GetChatsResponseValidationError) Field() string
- func (e GetChatsResponseValidationError) Key() bool
- func (e GetChatsResponseValidationError) Reason() string
- type GetChatsResponse_Result
- func (GetChatsResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetChatsResponse_Result) Enum() *GetChatsResponse_Result
- func (GetChatsResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetChatsResponse_Result) Number() protoreflect.EnumNumber
- func (x GetChatsResponse_Result) String() string
- func (GetChatsResponse_Result) Type() protoreflect.EnumType
- type GetMessagesRequest
- func (*GetMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesRequest) GetChatId() *v1.ChatId
- func (x *GetMessagesRequest) GetCursor() *Cursor
- func (x *GetMessagesRequest) GetDirection() GetMessagesRequest_Direction
- func (x *GetMessagesRequest) GetMemberId() *ChatMemberId
- func (x *GetMessagesRequest) GetOwner() *v1.SolanaAccountId
- func (x *GetMessagesRequest) GetPageSize() uint32
- func (x *GetMessagesRequest) GetSignature() *v1.Signature
- func (*GetMessagesRequest) ProtoMessage()
- func (x *GetMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessagesRequest) Reset()
- func (x *GetMessagesRequest) String() string
- func (m *GetMessagesRequest) Validate() error
- type GetMessagesRequestValidationError
- func (e GetMessagesRequestValidationError) Cause() error
- func (e GetMessagesRequestValidationError) Error() string
- func (e GetMessagesRequestValidationError) ErrorName() string
- func (e GetMessagesRequestValidationError) Field() string
- func (e GetMessagesRequestValidationError) Key() bool
- func (e GetMessagesRequestValidationError) Reason() string
- type GetMessagesRequest_Direction
- func (GetMessagesRequest_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x GetMessagesRequest_Direction) Enum() *GetMessagesRequest_Direction
- func (GetMessagesRequest_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetMessagesRequest_Direction) Number() protoreflect.EnumNumber
- func (x GetMessagesRequest_Direction) String() string
- func (GetMessagesRequest_Direction) Type() protoreflect.EnumType
- type GetMessagesResponse
- func (*GetMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesResponse) GetMessages() []*ChatMessage
- func (x *GetMessagesResponse) GetResult() GetMessagesResponse_Result
- func (*GetMessagesResponse) ProtoMessage()
- func (x *GetMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetMessagesResponse) Reset()
- func (x *GetMessagesResponse) String() string
- func (m *GetMessagesResponse) Validate() error
- type GetMessagesResponseValidationError
- func (e GetMessagesResponseValidationError) Cause() error
- func (e GetMessagesResponseValidationError) Error() string
- func (e GetMessagesResponseValidationError) ErrorName() string
- func (e GetMessagesResponseValidationError) Field() string
- func (e GetMessagesResponseValidationError) Key() bool
- func (e GetMessagesResponseValidationError) Reason() string
- type GetMessagesResponse_Result
- func (GetMessagesResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetMessagesResponse_Result) Enum() *GetMessagesResponse_Result
- func (GetMessagesResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetMessagesResponse_Result) Number() protoreflect.EnumNumber
- func (x GetMessagesResponse_Result) String() string
- func (GetMessagesResponse_Result) Type() protoreflect.EnumType
- type IdentityRevealedContent
- func (*IdentityRevealedContent) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityRevealedContent) GetIdentity() *ChatMemberIdentity
- func (x *IdentityRevealedContent) GetMemberId() *ChatMemberId
- func (*IdentityRevealedContent) ProtoMessage()
- func (x *IdentityRevealedContent) ProtoReflect() protoreflect.Message
- func (x *IdentityRevealedContent) Reset()
- func (x *IdentityRevealedContent) String() string
- func (m *IdentityRevealedContent) Validate() error
- type IdentityRevealedContentValidationError
- func (e IdentityRevealedContentValidationError) Cause() error
- func (e IdentityRevealedContentValidationError) Error() string
- func (e IdentityRevealedContentValidationError) ErrorName() string
- func (e IdentityRevealedContentValidationError) Field() string
- func (e IdentityRevealedContentValidationError) Key() bool
- func (e IdentityRevealedContentValidationError) Reason() string
- type IsTyping
- func (*IsTyping) Descriptor() ([]byte, []int)deprecated
- func (x *IsTyping) GetIsTyping() bool
- func (x *IsTyping) GetMemberId() *ChatMemberId
- func (*IsTyping) ProtoMessage()
- func (x *IsTyping) ProtoReflect() protoreflect.Message
- func (x *IsTyping) Reset()
- func (x *IsTyping) String() string
- func (m *IsTyping) Validate() error
- type IsTypingValidationError
- type LocalizedContent
- func (*LocalizedContent) Descriptor() ([]byte, []int)deprecated
- func (x *LocalizedContent) GetKeyOrText() string
- func (*LocalizedContent) ProtoMessage()
- func (x *LocalizedContent) ProtoReflect() protoreflect.Message
- func (x *LocalizedContent) Reset()
- func (x *LocalizedContent) String() string
- func (m *LocalizedContent) Validate() error
- type LocalizedContentValidationError
- func (e LocalizedContentValidationError) Cause() error
- func (e LocalizedContentValidationError) Error() string
- func (e LocalizedContentValidationError) ErrorName() string
- func (e LocalizedContentValidationError) Field() string
- func (e LocalizedContentValidationError) Key() bool
- func (e LocalizedContentValidationError) Reason() string
- type NaclBoxEncryptedContent
- func (*NaclBoxEncryptedContent) Descriptor() ([]byte, []int)deprecated
- func (x *NaclBoxEncryptedContent) GetEncryptedPayload() []byte
- func (x *NaclBoxEncryptedContent) GetNonce() []byte
- func (x *NaclBoxEncryptedContent) GetPeerPublicKey() *v1.SolanaAccountId
- func (*NaclBoxEncryptedContent) ProtoMessage()
- func (x *NaclBoxEncryptedContent) ProtoReflect() protoreflect.Message
- func (x *NaclBoxEncryptedContent) Reset()
- func (x *NaclBoxEncryptedContent) String() string
- func (m *NaclBoxEncryptedContent) Validate() error
- type NaclBoxEncryptedContentValidationError
- func (e NaclBoxEncryptedContentValidationError) Cause() error
- func (e NaclBoxEncryptedContentValidationError) Error() string
- func (e NaclBoxEncryptedContentValidationError) ErrorName() string
- func (e NaclBoxEncryptedContentValidationError) Field() string
- func (e NaclBoxEncryptedContentValidationError) Key() bool
- func (e NaclBoxEncryptedContentValidationError) Reason() string
- type NotifyIsTypingRequest
- func (*NotifyIsTypingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyIsTypingRequest) GetChatId() *v1.ChatId
- func (x *NotifyIsTypingRequest) GetIsTyping() bool
- func (x *NotifyIsTypingRequest) GetMemberId() *ChatMemberId
- func (x *NotifyIsTypingRequest) GetOwner() *v1.SolanaAccountId
- func (x *NotifyIsTypingRequest) GetSignature() *v1.Signature
- func (*NotifyIsTypingRequest) ProtoMessage()
- func (x *NotifyIsTypingRequest) ProtoReflect() protoreflect.Message
- func (x *NotifyIsTypingRequest) Reset()
- func (x *NotifyIsTypingRequest) String() string
- func (m *NotifyIsTypingRequest) Validate() error
- type NotifyIsTypingRequestValidationError
- func (e NotifyIsTypingRequestValidationError) Cause() error
- func (e NotifyIsTypingRequestValidationError) Error() string
- func (e NotifyIsTypingRequestValidationError) ErrorName() string
- func (e NotifyIsTypingRequestValidationError) Field() string
- func (e NotifyIsTypingRequestValidationError) Key() bool
- func (e NotifyIsTypingRequestValidationError) Reason() string
- type NotifyIsTypingResponse
- func (*NotifyIsTypingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyIsTypingResponse) GetResult() NotifyIsTypingResponse_Result
- func (*NotifyIsTypingResponse) ProtoMessage()
- func (x *NotifyIsTypingResponse) ProtoReflect() protoreflect.Message
- func (x *NotifyIsTypingResponse) Reset()
- func (x *NotifyIsTypingResponse) String() string
- func (m *NotifyIsTypingResponse) Validate() error
- type NotifyIsTypingResponseValidationError
- func (e NotifyIsTypingResponseValidationError) Cause() error
- func (e NotifyIsTypingResponseValidationError) Error() string
- func (e NotifyIsTypingResponseValidationError) ErrorName() string
- func (e NotifyIsTypingResponseValidationError) Field() string
- func (e NotifyIsTypingResponseValidationError) Key() bool
- func (e NotifyIsTypingResponseValidationError) Reason() string
- type NotifyIsTypingResponse_Result
- func (NotifyIsTypingResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x NotifyIsTypingResponse_Result) Enum() *NotifyIsTypingResponse_Result
- func (NotifyIsTypingResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotifyIsTypingResponse_Result) Number() protoreflect.EnumNumber
- func (x NotifyIsTypingResponse_Result) String() string
- func (NotifyIsTypingResponse_Result) Type() protoreflect.EnumType
- type OpenChatEventStream
- func (*OpenChatEventStream) Descriptor() ([]byte, []int)deprecated
- func (x *OpenChatEventStream) GetChatId() *v1.ChatId
- func (x *OpenChatEventStream) GetMemberId() *ChatMemberId
- func (x *OpenChatEventStream) GetOwner() *v1.SolanaAccountId
- func (x *OpenChatEventStream) GetSignature() *v1.Signature
- func (*OpenChatEventStream) ProtoMessage()
- func (x *OpenChatEventStream) ProtoReflect() protoreflect.Message
- func (x *OpenChatEventStream) Reset()
- func (x *OpenChatEventStream) String() string
- func (m *OpenChatEventStream) Validate() error
- type OpenChatEventStreamValidationError
- func (e OpenChatEventStreamValidationError) Cause() error
- func (e OpenChatEventStreamValidationError) Error() string
- func (e OpenChatEventStreamValidationError) ErrorName() string
- func (e OpenChatEventStreamValidationError) Field() string
- func (e OpenChatEventStreamValidationError) Key() bool
- func (e OpenChatEventStreamValidationError) Reason() string
- type Platform
- type Pointer
- func (*Pointer) Descriptor() ([]byte, []int)deprecated
- func (x *Pointer) GetMemberId() *ChatMemberId
- func (x *Pointer) GetType() PointerType
- func (x *Pointer) GetValue() *ChatMessageId
- func (*Pointer) ProtoMessage()
- func (x *Pointer) ProtoReflect() protoreflect.Message
- func (x *Pointer) Reset()
- func (x *Pointer) String() string
- func (m *Pointer) Validate() error
- type PointerType
- func (PointerType) Descriptor() protoreflect.EnumDescriptor
- func (x PointerType) Enum() *PointerType
- func (PointerType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PointerType) Number() protoreflect.EnumNumber
- func (x PointerType) String() string
- func (PointerType) Type() protoreflect.EnumType
- type PointerValidationError
- type RevealIdentityRequest
- func (*RevealIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevealIdentityRequest) GetChatId() *v1.ChatId
- func (x *RevealIdentityRequest) GetIdentity() *ChatMemberIdentity
- func (x *RevealIdentityRequest) GetMemberId() *ChatMemberId
- func (x *RevealIdentityRequest) GetOwner() *v1.SolanaAccountId
- func (x *RevealIdentityRequest) GetSignature() *v1.Signature
- func (*RevealIdentityRequest) ProtoMessage()
- func (x *RevealIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *RevealIdentityRequest) Reset()
- func (x *RevealIdentityRequest) String() string
- func (m *RevealIdentityRequest) Validate() error
- type RevealIdentityRequestValidationError
- func (e RevealIdentityRequestValidationError) Cause() error
- func (e RevealIdentityRequestValidationError) Error() string
- func (e RevealIdentityRequestValidationError) ErrorName() string
- func (e RevealIdentityRequestValidationError) Field() string
- func (e RevealIdentityRequestValidationError) Key() bool
- func (e RevealIdentityRequestValidationError) Reason() string
- type RevealIdentityResponse
- func (*RevealIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevealIdentityResponse) GetMessage() *ChatMessage
- func (x *RevealIdentityResponse) GetResult() RevealIdentityResponse_Result
- func (*RevealIdentityResponse) ProtoMessage()
- func (x *RevealIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *RevealIdentityResponse) Reset()
- func (x *RevealIdentityResponse) String() string
- func (m *RevealIdentityResponse) Validate() error
- type RevealIdentityResponseValidationError
- func (e RevealIdentityResponseValidationError) Cause() error
- func (e RevealIdentityResponseValidationError) Error() string
- func (e RevealIdentityResponseValidationError) ErrorName() string
- func (e RevealIdentityResponseValidationError) Field() string
- func (e RevealIdentityResponseValidationError) Key() bool
- func (e RevealIdentityResponseValidationError) Reason() string
- type RevealIdentityResponse_Result
- func (RevealIdentityResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x RevealIdentityResponse_Result) Enum() *RevealIdentityResponse_Result
- func (RevealIdentityResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x RevealIdentityResponse_Result) Number() protoreflect.EnumNumber
- func (x RevealIdentityResponse_Result) String() string
- func (RevealIdentityResponse_Result) Type() protoreflect.EnumType
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetChatId() *v1.ChatId
- func (x *SendMessageRequest) GetContent() []*Content
- func (x *SendMessageRequest) GetMemberId() *ChatMemberId
- func (x *SendMessageRequest) GetOwner() *v1.SolanaAccountId
- func (x *SendMessageRequest) GetSignature() *v1.Signature
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- func (m *SendMessageRequest) Validate() error
- type SendMessageRequestValidationError
- func (e SendMessageRequestValidationError) Cause() error
- func (e SendMessageRequestValidationError) Error() string
- func (e SendMessageRequestValidationError) ErrorName() string
- func (e SendMessageRequestValidationError) Field() string
- func (e SendMessageRequestValidationError) Key() bool
- func (e SendMessageRequestValidationError) Reason() string
- type SendMessageResponse
- func (*SendMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageResponse) GetMessage() *ChatMessage
- func (x *SendMessageResponse) GetResult() SendMessageResponse_Result
- func (*SendMessageResponse) ProtoMessage()
- func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendMessageResponse) Reset()
- func (x *SendMessageResponse) String() string
- func (m *SendMessageResponse) Validate() error
- type SendMessageResponseValidationError
- func (e SendMessageResponseValidationError) Cause() error
- func (e SendMessageResponseValidationError) Error() string
- func (e SendMessageResponseValidationError) ErrorName() string
- func (e SendMessageResponseValidationError) Field() string
- func (e SendMessageResponseValidationError) Key() bool
- func (e SendMessageResponseValidationError) Reason() string
- type SendMessageResponse_Result
- func (SendMessageResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x SendMessageResponse_Result) Enum() *SendMessageResponse_Result
- func (SendMessageResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x SendMessageResponse_Result) Number() protoreflect.EnumNumber
- func (x SendMessageResponse_Result) String() string
- func (SendMessageResponse_Result) Type() protoreflect.EnumType
- type SetMuteStateRequest
- func (*SetMuteStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMuteStateRequest) GetChatId() *v1.ChatId
- func (x *SetMuteStateRequest) GetIsMuted() bool
- func (x *SetMuteStateRequest) GetMemberId() *ChatMemberId
- func (x *SetMuteStateRequest) GetOwner() *v1.SolanaAccountId
- func (x *SetMuteStateRequest) GetSignature() *v1.Signature
- func (*SetMuteStateRequest) ProtoMessage()
- func (x *SetMuteStateRequest) ProtoReflect() protoreflect.Message
- func (x *SetMuteStateRequest) Reset()
- func (x *SetMuteStateRequest) String() string
- func (m *SetMuteStateRequest) Validate() error
- type SetMuteStateRequestValidationError
- func (e SetMuteStateRequestValidationError) Cause() error
- func (e SetMuteStateRequestValidationError) Error() string
- func (e SetMuteStateRequestValidationError) ErrorName() string
- func (e SetMuteStateRequestValidationError) Field() string
- func (e SetMuteStateRequestValidationError) Key() bool
- func (e SetMuteStateRequestValidationError) Reason() string
- type SetMuteStateResponse
- func (*SetMuteStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetMuteStateResponse) GetResult() SetMuteStateResponse_Result
- func (*SetMuteStateResponse) ProtoMessage()
- func (x *SetMuteStateResponse) ProtoReflect() protoreflect.Message
- func (x *SetMuteStateResponse) Reset()
- func (x *SetMuteStateResponse) String() string
- func (m *SetMuteStateResponse) Validate() error
- type SetMuteStateResponseValidationError
- func (e SetMuteStateResponseValidationError) Cause() error
- func (e SetMuteStateResponseValidationError) Error() string
- func (e SetMuteStateResponseValidationError) ErrorName() string
- func (e SetMuteStateResponseValidationError) Field() string
- func (e SetMuteStateResponseValidationError) Key() bool
- func (e SetMuteStateResponseValidationError) Reason() string
- type SetMuteStateResponse_Result
- func (SetMuteStateResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x SetMuteStateResponse_Result) Enum() *SetMuteStateResponse_Result
- func (SetMuteStateResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetMuteStateResponse_Result) Number() protoreflect.EnumNumber
- func (x SetMuteStateResponse_Result) String() string
- func (SetMuteStateResponse_Result) Type() protoreflect.EnumType
- type SetSubscriptionStateRequest
- func (*SetSubscriptionStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSubscriptionStateRequest) GetChatId() *v1.ChatId
- func (x *SetSubscriptionStateRequest) GetIsSubscribed() bool
- func (x *SetSubscriptionStateRequest) GetMemberId() *ChatMemberId
- func (x *SetSubscriptionStateRequest) GetOwner() *v1.SolanaAccountId
- func (x *SetSubscriptionStateRequest) GetSignature() *v1.Signature
- func (*SetSubscriptionStateRequest) ProtoMessage()
- func (x *SetSubscriptionStateRequest) ProtoReflect() protoreflect.Message
- func (x *SetSubscriptionStateRequest) Reset()
- func (x *SetSubscriptionStateRequest) String() string
- func (m *SetSubscriptionStateRequest) Validate() error
- type SetSubscriptionStateRequestValidationError
- func (e SetSubscriptionStateRequestValidationError) Cause() error
- func (e SetSubscriptionStateRequestValidationError) Error() string
- func (e SetSubscriptionStateRequestValidationError) ErrorName() string
- func (e SetSubscriptionStateRequestValidationError) Field() string
- func (e SetSubscriptionStateRequestValidationError) Key() bool
- func (e SetSubscriptionStateRequestValidationError) Reason() string
- type SetSubscriptionStateResponse
- func (*SetSubscriptionStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetSubscriptionStateResponse) GetResult() SetSubscriptionStateResponse_Result
- func (*SetSubscriptionStateResponse) ProtoMessage()
- func (x *SetSubscriptionStateResponse) ProtoReflect() protoreflect.Message
- func (x *SetSubscriptionStateResponse) Reset()
- func (x *SetSubscriptionStateResponse) String() string
- func (m *SetSubscriptionStateResponse) Validate() error
- type SetSubscriptionStateResponseValidationError
- func (e SetSubscriptionStateResponseValidationError) Cause() error
- func (e SetSubscriptionStateResponseValidationError) Error() string
- func (e SetSubscriptionStateResponseValidationError) ErrorName() string
- func (e SetSubscriptionStateResponseValidationError) Field() string
- func (e SetSubscriptionStateResponseValidationError) Key() bool
- func (e SetSubscriptionStateResponseValidationError) Reason() string
- type SetSubscriptionStateResponse_Result
- func (SetSubscriptionStateResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x SetSubscriptionStateResponse_Result) Enum() *SetSubscriptionStateResponse_Result
- func (SetSubscriptionStateResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetSubscriptionStateResponse_Result) Number() protoreflect.EnumNumber
- func (x SetSubscriptionStateResponse_Result) String() string
- func (SetSubscriptionStateResponse_Result) Type() protoreflect.EnumType
- type StartChatRequest
- func (*StartChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartChatRequest) GetOwner() *v1.SolanaAccountId
- func (m *StartChatRequest) GetParameters() isStartChatRequest_Parameters
- func (x *StartChatRequest) GetSignature() *v1.Signature
- func (x *StartChatRequest) GetTipChat() *StartTipChatParameters
- func (*StartChatRequest) ProtoMessage()
- func (x *StartChatRequest) ProtoReflect() protoreflect.Message
- func (x *StartChatRequest) Reset()
- func (x *StartChatRequest) String() string
- func (m *StartChatRequest) Validate() error
- type StartChatRequestValidationError
- func (e StartChatRequestValidationError) Cause() error
- func (e StartChatRequestValidationError) Error() string
- func (e StartChatRequestValidationError) ErrorName() string
- func (e StartChatRequestValidationError) Field() string
- func (e StartChatRequestValidationError) Key() bool
- func (e StartChatRequestValidationError) Reason() string
- type StartChatRequest_TipChat
- type StartChatResponse
- func (*StartChatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartChatResponse) GetChat() *ChatMetadata
- func (x *StartChatResponse) GetResult() StartChatResponse_Result
- func (*StartChatResponse) ProtoMessage()
- func (x *StartChatResponse) ProtoReflect() protoreflect.Message
- func (x *StartChatResponse) Reset()
- func (x *StartChatResponse) String() string
- func (m *StartChatResponse) Validate() error
- type StartChatResponseValidationError
- func (e StartChatResponseValidationError) Cause() error
- func (e StartChatResponseValidationError) Error() string
- func (e StartChatResponseValidationError) ErrorName() string
- func (e StartChatResponseValidationError) Field() string
- func (e StartChatResponseValidationError) Key() bool
- func (e StartChatResponseValidationError) Reason() string
- type StartChatResponse_Result
- func (StartChatResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x StartChatResponse_Result) Enum() *StartChatResponse_Result
- func (StartChatResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x StartChatResponse_Result) Number() protoreflect.EnumNumber
- func (x StartChatResponse_Result) String() string
- func (StartChatResponse_Result) Type() protoreflect.EnumType
- type StartTipChatParameters
- func (*StartTipChatParameters) Descriptor() ([]byte, []int)deprecated
- func (x *StartTipChatParameters) GetIntentId() *v1.IntentId
- func (*StartTipChatParameters) ProtoMessage()
- func (x *StartTipChatParameters) ProtoReflect() protoreflect.Message
- func (x *StartTipChatParameters) Reset()
- func (x *StartTipChatParameters) String() string
- func (m *StartTipChatParameters) Validate() error
- type StartTipChatParametersValidationError
- func (e StartTipChatParametersValidationError) Cause() error
- func (e StartTipChatParametersValidationError) Error() string
- func (e StartTipChatParametersValidationError) ErrorName() string
- func (e StartTipChatParametersValidationError) Field() string
- func (e StartTipChatParametersValidationError) Key() bool
- func (e StartTipChatParametersValidationError) Reason() string
- type StreamChatEventsRequest
- func (*StreamChatEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamChatEventsRequest) GetOpenStream() *OpenChatEventStream
- func (x *StreamChatEventsRequest) GetPong() *v1.ClientPong
- func (m *StreamChatEventsRequest) GetType() isStreamChatEventsRequest_Type
- func (*StreamChatEventsRequest) ProtoMessage()
- func (x *StreamChatEventsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamChatEventsRequest) Reset()
- func (x *StreamChatEventsRequest) String() string
- func (m *StreamChatEventsRequest) Validate() error
- type StreamChatEventsRequestValidationError
- func (e StreamChatEventsRequestValidationError) Cause() error
- func (e StreamChatEventsRequestValidationError) Error() string
- func (e StreamChatEventsRequestValidationError) ErrorName() string
- func (e StreamChatEventsRequestValidationError) Field() string
- func (e StreamChatEventsRequestValidationError) Key() bool
- func (e StreamChatEventsRequestValidationError) Reason() string
- type StreamChatEventsRequest_OpenStream
- type StreamChatEventsRequest_Pong
- type StreamChatEventsResponse
- func (*StreamChatEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamChatEventsResponse) GetError() *ChatStreamEventError
- func (x *StreamChatEventsResponse) GetEvents() *ChatStreamEventBatch
- func (x *StreamChatEventsResponse) GetPing() *v1.ServerPing
- func (m *StreamChatEventsResponse) GetType() isStreamChatEventsResponse_Type
- func (*StreamChatEventsResponse) ProtoMessage()
- func (x *StreamChatEventsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamChatEventsResponse) Reset()
- func (x *StreamChatEventsResponse) String() string
- func (m *StreamChatEventsResponse) Validate() error
- type StreamChatEventsResponseValidationError
- func (e StreamChatEventsResponseValidationError) Cause() error
- func (e StreamChatEventsResponseValidationError) Error() string
- func (e StreamChatEventsResponseValidationError) ErrorName() string
- func (e StreamChatEventsResponseValidationError) Field() string
- func (e StreamChatEventsResponseValidationError) Key() bool
- func (e StreamChatEventsResponseValidationError) Reason() string
- type StreamChatEventsResponse_Error
- type StreamChatEventsResponse_Events
- type StreamChatEventsResponse_Ping
- type TextContent
- type TextContentValidationError
- func (e TextContentValidationError) Cause() error
- func (e TextContentValidationError) Error() string
- func (e TextContentValidationError) ErrorName() string
- func (e TextContentValidationError) Field() string
- func (e TextContentValidationError) Key() bool
- func (e TextContentValidationError) Reason() string
- type ThankYouContent
- func (*ThankYouContent) Descriptor() ([]byte, []int)deprecated
- func (x *ThankYouContent) GetTipIntent() *v1.IntentId
- func (*ThankYouContent) ProtoMessage()
- func (x *ThankYouContent) ProtoReflect() protoreflect.Message
- func (x *ThankYouContent) Reset()
- func (x *ThankYouContent) String() string
- func (m *ThankYouContent) Validate() error
- type ThankYouContentValidationError
- func (e ThankYouContentValidationError) Cause() error
- func (e ThankYouContentValidationError) Error() string
- func (e ThankYouContentValidationError) ErrorName() string
- func (e ThankYouContentValidationError) Field() string
- func (e ThankYouContentValidationError) Key() bool
- func (e ThankYouContentValidationError) Reason() string
- type UnimplementedChatServer
- func (UnimplementedChatServer) AdvancePointer(context.Context, *AdvancePointerRequest) (*AdvancePointerResponse, error)
- func (UnimplementedChatServer) GetChats(context.Context, *GetChatsRequest) (*GetChatsResponse, error)
- func (UnimplementedChatServer) GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
- func (UnimplementedChatServer) NotifyIsTyping(context.Context, *NotifyIsTypingRequest) (*NotifyIsTypingResponse, error)
- func (UnimplementedChatServer) RevealIdentity(context.Context, *RevealIdentityRequest) (*RevealIdentityResponse, error)
- func (UnimplementedChatServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
- func (UnimplementedChatServer) SetMuteState(context.Context, *SetMuteStateRequest) (*SetMuteStateResponse, error)
- func (UnimplementedChatServer) SetSubscriptionState(context.Context, *SetSubscriptionStateRequest) (*SetSubscriptionStateResponse, error)
- func (UnimplementedChatServer) StartChat(context.Context, *StartChatRequest) (*StartChatResponse, error)
- func (UnimplementedChatServer) StreamChatEvents(Chat_StreamChatEventsServer) error
- type UnsafeChatServer
Constants ¶
This section is empty.
Variables ¶
var ( ChatType_name = map[int32]string{ 0: "UNKNOWN_CHAT_TYPE", 1: "NOTIFICATION", 2: "TWO_WAY", } ChatType_value = map[string]int32{ "UNKNOWN_CHAT_TYPE": 0, "NOTIFICATION": 1, "TWO_WAY": 2, } )
Enum value maps for ChatType.
var ( Platform_name = map[int32]string{ 0: "UNKNOWN_PLATFORM", 1: "TWITTER", } Platform_value = map[string]int32{ "UNKNOWN_PLATFORM": 0, "TWITTER": 1, } )
Enum value maps for Platform.
var ( PointerType_name = map[int32]string{ 0: "UNKNOWN_POINTER_TYPE", 1: "SENT", 2: "DELIVERED", 3: "READ", } PointerType_value = map[string]int32{ "UNKNOWN_POINTER_TYPE": 0, "SENT": 1, "DELIVERED": 2, "READ": 3, } )
Enum value maps for PointerType.
var ( GetChatsRequest_Direction_name = map[int32]string{ 0: "ASC", 1: "DESC", } GetChatsRequest_Direction_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for GetChatsRequest_Direction.
var ( GetChatsResponse_Result_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", } GetChatsResponse_Result_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, } )
Enum value maps for GetChatsResponse_Result.
var ( GetMessagesRequest_Direction_name = map[int32]string{ 0: "ASC", 1: "DESC", } GetMessagesRequest_Direction_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for GetMessagesRequest_Direction.
var ( GetMessagesResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "CHAT_NOT_FOUND", 3: "MESSAGE_NOT_FOUND", } GetMessagesResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "CHAT_NOT_FOUND": 2, "MESSAGE_NOT_FOUND": 3, } )
Enum value maps for GetMessagesResponse_Result.
var ( ChatStreamEventError_Code_name = map[int32]string{ 0: "DENIED", 1: "CHAT_NOT_FOUND", } ChatStreamEventError_Code_value = map[string]int32{ "DENIED": 0, "CHAT_NOT_FOUND": 1, } )
Enum value maps for ChatStreamEventError_Code.
var ( StartChatResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "INVALID_PARAMETER", } StartChatResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "INVALID_PARAMETER": 2, } )
Enum value maps for StartChatResponse_Result.
var ( SendMessageResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "CHAT_NOT_FOUND", 3: "INVALID_CHAT_TYPE", 4: "INVALID_CONTENT_TYPE", } SendMessageResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "CHAT_NOT_FOUND": 2, "INVALID_CHAT_TYPE": 3, "INVALID_CONTENT_TYPE": 4, } )
Enum value maps for SendMessageResponse_Result.
var ( AdvancePointerResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "CHAT_NOT_FOUND", 3: "MESSAGE_NOT_FOUND", 4: "INVALID_POINTER_TYPE", } AdvancePointerResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "CHAT_NOT_FOUND": 2, "MESSAGE_NOT_FOUND": 3, "INVALID_POINTER_TYPE": 4, } )
Enum value maps for AdvancePointerResponse_Result.
var ( RevealIdentityResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "CHAT_NOT_FOUND", 3: "DIFFERENT_IDENTITY_REVEALED", } RevealIdentityResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "CHAT_NOT_FOUND": 2, "DIFFERENT_IDENTITY_REVEALED": 3, } )
Enum value maps for RevealIdentityResponse_Result.
var ( SetMuteStateResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "CHAT_NOT_FOUND", 3: "CANT_MUTE", } SetMuteStateResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "CHAT_NOT_FOUND": 2, "CANT_MUTE": 3, } )
Enum value maps for SetMuteStateResponse_Result.
var ( SetSubscriptionStateResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "CHAT_NOT_FOUND", 3: "CANT_UNSUBSCRIBE", } SetSubscriptionStateResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "CHAT_NOT_FOUND": 2, "CANT_UNSUBSCRIBE": 3, } )
Enum value maps for SetSubscriptionStateResponse_Result.
var ( NotifyIsTypingResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "CHAT_NOT_FOUND", } NotifyIsTypingResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "CHAT_NOT_FOUND": 2, } )
Enum value maps for NotifyIsTypingResponse_Result.
var ( ExchangeDataContent_Verb_name = map[int32]string{ 0: "UNKNOWN", 1: "GAVE", 2: "RECEIVED", 3: "WITHDREW", 4: "DEPOSITED", 5: "SENT", 6: "RETURNED", 7: "SPENT", 8: "PAID", 9: "PURCHASED", 10: "RECEIVED_TIP", 11: "SENT_TIP", } ExchangeDataContent_Verb_value = map[string]int32{ "UNKNOWN": 0, "GAVE": 1, "RECEIVED": 2, "WITHDREW": 3, "DEPOSITED": 4, "SENT": 5, "RETURNED": 6, "SPENT": 7, "PAID": 8, "PURCHASED": 9, "RECEIVED_TIP": 10, "SENT_TIP": 11, } )
Enum value maps for ExchangeDataContent_Verb.
var Chat_ServiceDesc = grpc.ServiceDesc{ ServiceName: "code.chat.v2.Chat", HandlerType: (*ChatServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetChats", Handler: _Chat_GetChats_Handler, }, { MethodName: "GetMessages", Handler: _Chat_GetMessages_Handler, }, { MethodName: "StartChat", Handler: _Chat_StartChat_Handler, }, { MethodName: "SendMessage", Handler: _Chat_SendMessage_Handler, }, { MethodName: "AdvancePointer", Handler: _Chat_AdvancePointer_Handler, }, { MethodName: "RevealIdentity", Handler: _Chat_RevealIdentity_Handler, }, { MethodName: "SetMuteState", Handler: _Chat_SetMuteState_Handler, }, { MethodName: "SetSubscriptionState", Handler: _Chat_SetSubscriptionState_Handler, }, { MethodName: "NotifyIsTyping", Handler: _Chat_NotifyIsTyping_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamChatEvents", Handler: _Chat_StreamChatEvents_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "chat/v2/chat_service.proto", }
Chat_ServiceDesc is the grpc.ServiceDesc for Chat service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_chat_v2_chat_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChatServer ¶
func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer)
Types ¶
type AdvancePointerRequest ¶
type AdvancePointerRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*AdvancePointerRequest) Descriptor
deprecated
func (*AdvancePointerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdvancePointerRequest.ProtoReflect.Descriptor instead.
func (*AdvancePointerRequest) GetChatId ¶
func (x *AdvancePointerRequest) GetChatId() *v1.ChatId
func (*AdvancePointerRequest) GetOwner ¶
func (x *AdvancePointerRequest) GetOwner() *v1.SolanaAccountId
func (*AdvancePointerRequest) GetPointer ¶
func (x *AdvancePointerRequest) GetPointer() *Pointer
func (*AdvancePointerRequest) GetSignature ¶
func (x *AdvancePointerRequest) GetSignature() *v1.Signature
func (*AdvancePointerRequest) ProtoMessage ¶
func (*AdvancePointerRequest) ProtoMessage()
func (*AdvancePointerRequest) ProtoReflect ¶
func (x *AdvancePointerRequest) ProtoReflect() protoreflect.Message
func (*AdvancePointerRequest) Reset ¶
func (x *AdvancePointerRequest) Reset()
func (*AdvancePointerRequest) String ¶
func (x *AdvancePointerRequest) String() string
func (*AdvancePointerRequest) Validate ¶
func (m *AdvancePointerRequest) Validate() error
Validate checks the field values on AdvancePointerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AdvancePointerRequestValidationError ¶
type AdvancePointerRequestValidationError struct {
// contains filtered or unexported fields
}
AdvancePointerRequestValidationError is the validation error returned by AdvancePointerRequest.Validate if the designated constraints aren't met.
func (AdvancePointerRequestValidationError) Cause ¶
func (e AdvancePointerRequestValidationError) Cause() error
Cause function returns cause value.
func (AdvancePointerRequestValidationError) Error ¶
func (e AdvancePointerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AdvancePointerRequestValidationError) ErrorName ¶
func (e AdvancePointerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AdvancePointerRequestValidationError) Field ¶
func (e AdvancePointerRequestValidationError) Field() string
Field function returns field value.
func (AdvancePointerRequestValidationError) Key ¶
func (e AdvancePointerRequestValidationError) Key() bool
Key function returns key value.
func (AdvancePointerRequestValidationError) Reason ¶
func (e AdvancePointerRequestValidationError) Reason() string
Reason function returns reason value.
type AdvancePointerResponse ¶
type AdvancePointerResponse struct { Result AdvancePointerResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v2.AdvancePointerResponse_Result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*AdvancePointerResponse) Descriptor
deprecated
func (*AdvancePointerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdvancePointerResponse.ProtoReflect.Descriptor instead.
func (*AdvancePointerResponse) GetResult ¶
func (x *AdvancePointerResponse) GetResult() AdvancePointerResponse_Result
func (*AdvancePointerResponse) ProtoMessage ¶
func (*AdvancePointerResponse) ProtoMessage()
func (*AdvancePointerResponse) ProtoReflect ¶
func (x *AdvancePointerResponse) ProtoReflect() protoreflect.Message
func (*AdvancePointerResponse) Reset ¶
func (x *AdvancePointerResponse) Reset()
func (*AdvancePointerResponse) String ¶
func (x *AdvancePointerResponse) String() string
func (*AdvancePointerResponse) Validate ¶
func (m *AdvancePointerResponse) Validate() error
Validate checks the field values on AdvancePointerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AdvancePointerResponseValidationError ¶
type AdvancePointerResponseValidationError struct {
// contains filtered or unexported fields
}
AdvancePointerResponseValidationError is the validation error returned by AdvancePointerResponse.Validate if the designated constraints aren't met.
func (AdvancePointerResponseValidationError) Cause ¶
func (e AdvancePointerResponseValidationError) Cause() error
Cause function returns cause value.
func (AdvancePointerResponseValidationError) Error ¶
func (e AdvancePointerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AdvancePointerResponseValidationError) ErrorName ¶
func (e AdvancePointerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AdvancePointerResponseValidationError) Field ¶
func (e AdvancePointerResponseValidationError) Field() string
Field function returns field value.
func (AdvancePointerResponseValidationError) Key ¶
func (e AdvancePointerResponseValidationError) Key() bool
Key function returns key value.
func (AdvancePointerResponseValidationError) Reason ¶
func (e AdvancePointerResponseValidationError) Reason() string
Reason function returns reason value.
type AdvancePointerResponse_Result ¶
type AdvancePointerResponse_Result int32
const ( AdvancePointerResponse_OK AdvancePointerResponse_Result = 0 AdvancePointerResponse_DENIED AdvancePointerResponse_Result = 1 AdvancePointerResponse_CHAT_NOT_FOUND AdvancePointerResponse_Result = 2 AdvancePointerResponse_MESSAGE_NOT_FOUND AdvancePointerResponse_Result = 3 AdvancePointerResponse_INVALID_POINTER_TYPE AdvancePointerResponse_Result = 4 )
func (AdvancePointerResponse_Result) Descriptor ¶
func (AdvancePointerResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (AdvancePointerResponse_Result) Enum ¶
func (x AdvancePointerResponse_Result) Enum() *AdvancePointerResponse_Result
func (AdvancePointerResponse_Result) EnumDescriptor
deprecated
func (AdvancePointerResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdvancePointerResponse_Result.Descriptor instead.
func (AdvancePointerResponse_Result) Number ¶
func (x AdvancePointerResponse_Result) Number() protoreflect.EnumNumber
func (AdvancePointerResponse_Result) String ¶
func (x AdvancePointerResponse_Result) String() string
func (AdvancePointerResponse_Result) Type ¶
func (AdvancePointerResponse_Result) Type() protoreflect.EnumType
type ChatClient ¶
type ChatClient interface { // GetChats gets the set of chats for an owner account using a paged API. // This RPC is aware of all identities tied to the owner account. GetChats(ctx context.Context, in *GetChatsRequest, opts ...grpc.CallOption) (*GetChatsResponse, error) // GetMessages gets the set of messages for a chat member using a paged API GetMessages(ctx context.Context, in *GetMessagesRequest, opts ...grpc.CallOption) (*GetMessagesResponse, error) // StreamChatEvents streams chat events in real-time. Chat events include // messages, pointer updates, etc. // // The streaming protocol is follows: // 1. Client initiates a stream by sending an OpenChatEventStream message. // 2. If an error is encoutered, a ChatStreamEventError message will be // returned by server and the stream will be closed. // 3. Server will immediately flush initial chat state. // 4. New chat events will be pushed to the stream in real time as they // are received. // // This RPC supports a keepalive protocol as follows: // 1. Client initiates a stream by sending an OpenChatEventStream message. // 2. Upon stream initialization, server begins the keepalive protocol. // 3. Server sends a ping to the client. // 4. Client responds with a pong as fast as possible, making note of // the delay for when to expect the next ping. // 5. Steps 3 and 4 are repeated until the stream is explicitly terminated // or is deemed to be unhealthy. // // Client notes: // - Client should be careful to process events async, so any responses to pings are // not delayed. // - Clients should implement a reasonable backoff strategy upon continued timeout // failures. // - Clients that abuse pong messages may have their streams terminated by server. // // At any point in the stream, server will respond with events in real time as // they are observed. Events sent over the stream should not affect the ping/pong // protocol timings. StreamChatEvents(ctx context.Context, opts ...grpc.CallOption) (Chat_StreamChatEventsClient, error) // StartChat starts a chat. The RPC call is idempotent and will use existing // chats whenever applicable within the context of message routing. StartChat(ctx context.Context, in *StartChatRequest, opts ...grpc.CallOption) (*StartChatResponse, error) // SendMessage sends a message to a chat SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error) // AdvancePointer advances a pointer in message history for a chat member AdvancePointer(ctx context.Context, in *AdvancePointerRequest, opts ...grpc.CallOption) (*AdvancePointerResponse, error) // RevealIdentity reveals a chat member's identity if it is anonymous. A chat // message will be inserted on success. RevealIdentity(ctx context.Context, in *RevealIdentityRequest, opts ...grpc.CallOption) (*RevealIdentityResponse, error) // SetMuteState configures a chat member's mute state SetMuteState(ctx context.Context, in *SetMuteStateRequest, opts ...grpc.CallOption) (*SetMuteStateResponse, error) // SetSubscriptionState configures a chat member's susbscription state SetSubscriptionState(ctx context.Context, in *SetSubscriptionStateRequest, opts ...grpc.CallOption) (*SetSubscriptionStateResponse, error) // NotifyIsTypingRequest notifies a chat that the sending member is typing. // // These requests are transient, and may be dropped at any point. NotifyIsTyping(ctx context.Context, in *NotifyIsTypingRequest, opts ...grpc.CallOption) (*NotifyIsTypingResponse, error) }
ChatClient is the client API for Chat service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewChatClient ¶
func NewChatClient(cc grpc.ClientConnInterface) ChatClient
type ChatMember ¶
type ChatMember struct { // Globally unique ID for this chat member MemberId *ChatMemberId `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // Is this chat member yourself? This enables client to identify which member_id // is themselves. IsSelf bool `protobuf:"varint,2,opt,name=is_self,json=isSelf,proto3" json:"is_self,omitempty"` // The chat member's identity if it has been revealed. Identity *ChatMemberIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` // Chat message state for this member. This list will have DELIVERED and READ // pointers, if they exist. SENT pointers should be inferred by persistence // on server. Pointers []*Pointer `protobuf:"bytes,4,rep,name=pointers,proto3" json:"pointers,omitempty"` // Estimated number of unread messages for the chat member in this chat // // Only valid when is_self = true NumUnread uint32 `protobuf:"varint,5,opt,name=num_unread,json=numUnread,proto3" json:"num_unread,omitempty"` // Has the chat member muted this chat? // // Only valid when is_self = true IsMuted bool `protobuf:"varint,6,opt,name=is_muted,json=isMuted,proto3" json:"is_muted,omitempty"` // Is the chat member subscribed to this chat? // // Only valid when is_self = true IsSubscribed bool `protobuf:"varint,7,opt,name=is_subscribed,json=isSubscribed,proto3" json:"is_subscribed,omitempty"` // contains filtered or unexported fields }
A user in a chat
func (*ChatMember) Descriptor
deprecated
func (*ChatMember) Descriptor() ([]byte, []int)
Deprecated: Use ChatMember.ProtoReflect.Descriptor instead.
func (*ChatMember) GetIdentity ¶
func (x *ChatMember) GetIdentity() *ChatMemberIdentity
func (*ChatMember) GetIsMuted ¶
func (x *ChatMember) GetIsMuted() bool
func (*ChatMember) GetIsSelf ¶
func (x *ChatMember) GetIsSelf() bool
func (*ChatMember) GetIsSubscribed ¶
func (x *ChatMember) GetIsSubscribed() bool
func (*ChatMember) GetMemberId ¶
func (x *ChatMember) GetMemberId() *ChatMemberId
func (*ChatMember) GetNumUnread ¶
func (x *ChatMember) GetNumUnread() uint32
func (*ChatMember) GetPointers ¶
func (x *ChatMember) GetPointers() []*Pointer
func (*ChatMember) ProtoMessage ¶
func (*ChatMember) ProtoMessage()
func (*ChatMember) ProtoReflect ¶
func (x *ChatMember) ProtoReflect() protoreflect.Message
func (*ChatMember) Reset ¶
func (x *ChatMember) Reset()
func (*ChatMember) String ¶
func (x *ChatMember) String() string
func (*ChatMember) Validate ¶
func (m *ChatMember) Validate() error
Validate checks the field values on ChatMember with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatMemberId ¶
type ChatMemberId struct { // Globally random UUID Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ChatMemberId) Descriptor
deprecated
func (*ChatMemberId) Descriptor() ([]byte, []int)
Deprecated: Use ChatMemberId.ProtoReflect.Descriptor instead.
func (*ChatMemberId) GetValue ¶
func (x *ChatMemberId) GetValue() []byte
func (*ChatMemberId) ProtoMessage ¶
func (*ChatMemberId) ProtoMessage()
func (*ChatMemberId) ProtoReflect ¶
func (x *ChatMemberId) ProtoReflect() protoreflect.Message
func (*ChatMemberId) Reset ¶
func (x *ChatMemberId) Reset()
func (*ChatMemberId) String ¶
func (x *ChatMemberId) String() string
func (*ChatMemberId) Validate ¶
func (m *ChatMemberId) Validate() error
Validate checks the field values on ChatMemberId with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatMemberIdValidationError ¶
type ChatMemberIdValidationError struct {
// contains filtered or unexported fields
}
ChatMemberIdValidationError is the validation error returned by ChatMemberId.Validate if the designated constraints aren't met.
func (ChatMemberIdValidationError) Cause ¶
func (e ChatMemberIdValidationError) Cause() error
Cause function returns cause value.
func (ChatMemberIdValidationError) Error ¶
func (e ChatMemberIdValidationError) Error() string
Error satisfies the builtin error interface
func (ChatMemberIdValidationError) ErrorName ¶
func (e ChatMemberIdValidationError) ErrorName() string
ErrorName returns error name.
func (ChatMemberIdValidationError) Field ¶
func (e ChatMemberIdValidationError) Field() string
Field function returns field value.
func (ChatMemberIdValidationError) Key ¶
func (e ChatMemberIdValidationError) Key() bool
Key function returns key value.
func (ChatMemberIdValidationError) Reason ¶
func (e ChatMemberIdValidationError) Reason() string
Reason function returns reason value.
type ChatMemberIdentity ¶
type ChatMemberIdentity struct { // The external social platform linked to this chat member Platform Platform `protobuf:"varint,1,opt,name=platform,proto3,enum=code.chat.v2.Platform" json:"platform,omitempty"` // The chat member's username on the external social platform Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // If present, the URL of the users profile pic. ProfilePicUrl string `protobuf:"bytes,3,opt,name=profile_pic_url,json=profilePicUrl,proto3" json:"profile_pic_url,omitempty"` // contains filtered or unexported fields }
Identity to an external social platform that can be linked to a Code account
func (*ChatMemberIdentity) Descriptor
deprecated
func (*ChatMemberIdentity) Descriptor() ([]byte, []int)
Deprecated: Use ChatMemberIdentity.ProtoReflect.Descriptor instead.
func (*ChatMemberIdentity) GetPlatform ¶
func (x *ChatMemberIdentity) GetPlatform() Platform
func (*ChatMemberIdentity) GetProfilePicUrl ¶ added in v1.17.1
func (x *ChatMemberIdentity) GetProfilePicUrl() string
func (*ChatMemberIdentity) GetUsername ¶
func (x *ChatMemberIdentity) GetUsername() string
func (*ChatMemberIdentity) ProtoMessage ¶
func (*ChatMemberIdentity) ProtoMessage()
func (*ChatMemberIdentity) ProtoReflect ¶
func (x *ChatMemberIdentity) ProtoReflect() protoreflect.Message
func (*ChatMemberIdentity) Reset ¶
func (x *ChatMemberIdentity) Reset()
func (*ChatMemberIdentity) String ¶
func (x *ChatMemberIdentity) String() string
func (*ChatMemberIdentity) Validate ¶
func (m *ChatMemberIdentity) Validate() error
Validate checks the field values on ChatMemberIdentity with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatMemberIdentityValidationError ¶
type ChatMemberIdentityValidationError struct {
// contains filtered or unexported fields
}
ChatMemberIdentityValidationError is the validation error returned by ChatMemberIdentity.Validate if the designated constraints aren't met.
func (ChatMemberIdentityValidationError) Cause ¶
func (e ChatMemberIdentityValidationError) Cause() error
Cause function returns cause value.
func (ChatMemberIdentityValidationError) Error ¶
func (e ChatMemberIdentityValidationError) Error() string
Error satisfies the builtin error interface
func (ChatMemberIdentityValidationError) ErrorName ¶
func (e ChatMemberIdentityValidationError) ErrorName() string
ErrorName returns error name.
func (ChatMemberIdentityValidationError) Field ¶
func (e ChatMemberIdentityValidationError) Field() string
Field function returns field value.
func (ChatMemberIdentityValidationError) Key ¶
func (e ChatMemberIdentityValidationError) Key() bool
Key function returns key value.
func (ChatMemberIdentityValidationError) Reason ¶
func (e ChatMemberIdentityValidationError) Reason() string
Reason function returns reason value.
type ChatMemberValidationError ¶
type ChatMemberValidationError struct {
// contains filtered or unexported fields
}
ChatMemberValidationError is the validation error returned by ChatMember.Validate if the designated constraints aren't met.
func (ChatMemberValidationError) Cause ¶
func (e ChatMemberValidationError) Cause() error
Cause function returns cause value.
func (ChatMemberValidationError) Error ¶
func (e ChatMemberValidationError) Error() string
Error satisfies the builtin error interface
func (ChatMemberValidationError) ErrorName ¶
func (e ChatMemberValidationError) ErrorName() string
ErrorName returns error name.
func (ChatMemberValidationError) Field ¶
func (e ChatMemberValidationError) Field() string
Field function returns field value.
func (ChatMemberValidationError) Key ¶
func (e ChatMemberValidationError) Key() bool
Key function returns key value.
func (ChatMemberValidationError) Reason ¶
func (e ChatMemberValidationError) Reason() string
Reason function returns reason value.
type ChatMessage ¶
type ChatMessage struct { // Globally unique ID for this message MessageId *ChatMessageId `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // The chat member that sent the message. For NOTIFICATION chats, this field // is omitted since the chat has exactly 1 member. SenderId *ChatMemberId `protobuf:"bytes,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` // Ordered message content. A message may have more than one piece of content. Content []*Content `protobuf:"bytes,3,rep,name=content,proto3" json:"content,omitempty"` // Timestamp this message was generated at. This value is also encoded in // any time-based UUID message IDs. Ts *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ts,proto3" json:"ts,omitempty"` // Cursor value for this message for reference in a paged GetMessagesRequest Cursor *Cursor `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
A message in a chat
func (*ChatMessage) Descriptor
deprecated
func (*ChatMessage) Descriptor() ([]byte, []int)
Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead.
func (*ChatMessage) GetContent ¶
func (x *ChatMessage) GetContent() []*Content
func (*ChatMessage) GetCursor ¶
func (x *ChatMessage) GetCursor() *Cursor
func (*ChatMessage) GetMessageId ¶
func (x *ChatMessage) GetMessageId() *ChatMessageId
func (*ChatMessage) GetSenderId ¶
func (x *ChatMessage) GetSenderId() *ChatMemberId
func (*ChatMessage) GetTs ¶
func (x *ChatMessage) GetTs() *timestamppb.Timestamp
func (*ChatMessage) ProtoMessage ¶
func (*ChatMessage) ProtoMessage()
func (*ChatMessage) ProtoReflect ¶
func (x *ChatMessage) ProtoReflect() protoreflect.Message
func (*ChatMessage) Reset ¶
func (x *ChatMessage) Reset()
func (*ChatMessage) String ¶
func (x *ChatMessage) String() string
func (*ChatMessage) Validate ¶
func (m *ChatMessage) Validate() error
Validate checks the field values on ChatMessage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatMessageId ¶
type ChatMessageId struct { // Guaranteed to be a time-based UUID. This should be used to construct a // consistently ordered message history based on time using a simple byte // comparison. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ChatMessageId) Descriptor
deprecated
func (*ChatMessageId) Descriptor() ([]byte, []int)
Deprecated: Use ChatMessageId.ProtoReflect.Descriptor instead.
func (*ChatMessageId) GetValue ¶
func (x *ChatMessageId) GetValue() []byte
func (*ChatMessageId) ProtoMessage ¶
func (*ChatMessageId) ProtoMessage()
func (*ChatMessageId) ProtoReflect ¶
func (x *ChatMessageId) ProtoReflect() protoreflect.Message
func (*ChatMessageId) Reset ¶
func (x *ChatMessageId) Reset()
func (*ChatMessageId) String ¶
func (x *ChatMessageId) String() string
func (*ChatMessageId) Validate ¶
func (m *ChatMessageId) Validate() error
Validate checks the field values on ChatMessageId with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatMessageIdValidationError ¶
type ChatMessageIdValidationError struct {
// contains filtered or unexported fields
}
ChatMessageIdValidationError is the validation error returned by ChatMessageId.Validate if the designated constraints aren't met.
func (ChatMessageIdValidationError) Cause ¶
func (e ChatMessageIdValidationError) Cause() error
Cause function returns cause value.
func (ChatMessageIdValidationError) Error ¶
func (e ChatMessageIdValidationError) Error() string
Error satisfies the builtin error interface
func (ChatMessageIdValidationError) ErrorName ¶
func (e ChatMessageIdValidationError) ErrorName() string
ErrorName returns error name.
func (ChatMessageIdValidationError) Field ¶
func (e ChatMessageIdValidationError) Field() string
Field function returns field value.
func (ChatMessageIdValidationError) Key ¶
func (e ChatMessageIdValidationError) Key() bool
Key function returns key value.
func (ChatMessageIdValidationError) Reason ¶
func (e ChatMessageIdValidationError) Reason() string
Reason function returns reason value.
type ChatMessageValidationError ¶
type ChatMessageValidationError struct {
// contains filtered or unexported fields
}
ChatMessageValidationError is the validation error returned by ChatMessage.Validate if the designated constraints aren't met.
func (ChatMessageValidationError) Cause ¶
func (e ChatMessageValidationError) Cause() error
Cause function returns cause value.
func (ChatMessageValidationError) Error ¶
func (e ChatMessageValidationError) Error() string
Error satisfies the builtin error interface
func (ChatMessageValidationError) ErrorName ¶
func (e ChatMessageValidationError) ErrorName() string
ErrorName returns error name.
func (ChatMessageValidationError) Field ¶
func (e ChatMessageValidationError) Field() string
Field function returns field value.
func (ChatMessageValidationError) Key ¶
func (e ChatMessageValidationError) Key() bool
Key function returns key value.
func (ChatMessageValidationError) Reason ¶
func (e ChatMessageValidationError) Reason() string
Reason function returns reason value.
type ChatMetadata ¶
type ChatMetadata struct { // Globally unique ID for this chat ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // The type of chat Type ChatType `protobuf:"varint,2,opt,name=type,proto3,enum=code.chat.v2.ChatType" json:"type,omitempty"` // The chat title, which will be localized by server when applicable Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` // The members in this chat // // For NOTIFICATION chats, this list has exactly 1 item // For TWO_WAY chats, this list has exactly 2 items // // todo: If we support group chats, then we'll likely return the first page // // or a prioritized list. The remaining members would be fetched via // a new RPC. Members []*ChatMember `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"` // Can the user mute this chat? CanMute bool `protobuf:"varint,5,opt,name=can_mute,json=canMute,proto3" json:"can_mute,omitempty"` // Can the user unsubscribe from this chat? CanUnsubscribe bool `protobuf:"varint,6,opt,name=can_unsubscribe,json=canUnsubscribe,proto3" json:"can_unsubscribe,omitempty"` // Cursor value for this chat for reference in subsequent GetChatsRequest Cursor *Cursor `protobuf:"bytes,7,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
A chat
todo: Support is_verified in a clean way
func (*ChatMetadata) Descriptor
deprecated
func (*ChatMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ChatMetadata.ProtoReflect.Descriptor instead.
func (*ChatMetadata) GetCanMute ¶
func (x *ChatMetadata) GetCanMute() bool
func (*ChatMetadata) GetCanUnsubscribe ¶
func (x *ChatMetadata) GetCanUnsubscribe() bool
func (*ChatMetadata) GetChatId ¶
func (x *ChatMetadata) GetChatId() *v1.ChatId
func (*ChatMetadata) GetCursor ¶
func (x *ChatMetadata) GetCursor() *Cursor
func (*ChatMetadata) GetMembers ¶
func (x *ChatMetadata) GetMembers() []*ChatMember
func (*ChatMetadata) GetTitle ¶
func (x *ChatMetadata) GetTitle() string
func (*ChatMetadata) GetType ¶
func (x *ChatMetadata) GetType() ChatType
func (*ChatMetadata) ProtoMessage ¶
func (*ChatMetadata) ProtoMessage()
func (*ChatMetadata) ProtoReflect ¶
func (x *ChatMetadata) ProtoReflect() protoreflect.Message
func (*ChatMetadata) Reset ¶
func (x *ChatMetadata) Reset()
func (*ChatMetadata) String ¶
func (x *ChatMetadata) String() string
func (*ChatMetadata) Validate ¶
func (m *ChatMetadata) Validate() error
Validate checks the field values on ChatMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatMetadataValidationError ¶
type ChatMetadataValidationError struct {
// contains filtered or unexported fields
}
ChatMetadataValidationError is the validation error returned by ChatMetadata.Validate if the designated constraints aren't met.
func (ChatMetadataValidationError) Cause ¶
func (e ChatMetadataValidationError) Cause() error
Cause function returns cause value.
func (ChatMetadataValidationError) Error ¶
func (e ChatMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (ChatMetadataValidationError) ErrorName ¶
func (e ChatMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (ChatMetadataValidationError) Field ¶
func (e ChatMetadataValidationError) Field() string
Field function returns field value.
func (ChatMetadataValidationError) Key ¶
func (e ChatMetadataValidationError) Key() bool
Key function returns key value.
func (ChatMetadataValidationError) Reason ¶
func (e ChatMetadataValidationError) Reason() string
Reason function returns reason value.
type ChatServer ¶
type ChatServer interface { // GetChats gets the set of chats for an owner account using a paged API. // This RPC is aware of all identities tied to the owner account. GetChats(context.Context, *GetChatsRequest) (*GetChatsResponse, error) // GetMessages gets the set of messages for a chat member using a paged API GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error) // StreamChatEvents streams chat events in real-time. Chat events include // messages, pointer updates, etc. // // The streaming protocol is follows: // 1. Client initiates a stream by sending an OpenChatEventStream message. // 2. If an error is encoutered, a ChatStreamEventError message will be // returned by server and the stream will be closed. // 3. Server will immediately flush initial chat state. // 4. New chat events will be pushed to the stream in real time as they // are received. // // This RPC supports a keepalive protocol as follows: // 1. Client initiates a stream by sending an OpenChatEventStream message. // 2. Upon stream initialization, server begins the keepalive protocol. // 3. Server sends a ping to the client. // 4. Client responds with a pong as fast as possible, making note of // the delay for when to expect the next ping. // 5. Steps 3 and 4 are repeated until the stream is explicitly terminated // or is deemed to be unhealthy. // // Client notes: // - Client should be careful to process events async, so any responses to pings are // not delayed. // - Clients should implement a reasonable backoff strategy upon continued timeout // failures. // - Clients that abuse pong messages may have their streams terminated by server. // // At any point in the stream, server will respond with events in real time as // they are observed. Events sent over the stream should not affect the ping/pong // protocol timings. StreamChatEvents(Chat_StreamChatEventsServer) error // StartChat starts a chat. The RPC call is idempotent and will use existing // chats whenever applicable within the context of message routing. StartChat(context.Context, *StartChatRequest) (*StartChatResponse, error) // SendMessage sends a message to a chat SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error) // AdvancePointer advances a pointer in message history for a chat member AdvancePointer(context.Context, *AdvancePointerRequest) (*AdvancePointerResponse, error) // RevealIdentity reveals a chat member's identity if it is anonymous. A chat // message will be inserted on success. RevealIdentity(context.Context, *RevealIdentityRequest) (*RevealIdentityResponse, error) // SetMuteState configures a chat member's mute state SetMuteState(context.Context, *SetMuteStateRequest) (*SetMuteStateResponse, error) // SetSubscriptionState configures a chat member's susbscription state SetSubscriptionState(context.Context, *SetSubscriptionStateRequest) (*SetSubscriptionStateResponse, error) // NotifyIsTypingRequest notifies a chat that the sending member is typing. // // These requests are transient, and may be dropped at any point. NotifyIsTyping(context.Context, *NotifyIsTypingRequest) (*NotifyIsTypingResponse, error) // contains filtered or unexported methods }
ChatServer is the server API for Chat service. All implementations must embed UnimplementedChatServer for forward compatibility
type ChatStreamEvent ¶
type ChatStreamEvent struct { // Types that are assignable to Type: // // *ChatStreamEvent_Message // *ChatStreamEvent_Pointer // *ChatStreamEvent_IsTyping Type isChatStreamEvent_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*ChatStreamEvent) Descriptor
deprecated
func (*ChatStreamEvent) Descriptor() ([]byte, []int)
Deprecated: Use ChatStreamEvent.ProtoReflect.Descriptor instead.
func (*ChatStreamEvent) GetIsTyping ¶ added in v1.17.2
func (x *ChatStreamEvent) GetIsTyping() *IsTyping
func (*ChatStreamEvent) GetMessage ¶
func (x *ChatStreamEvent) GetMessage() *ChatMessage
func (*ChatStreamEvent) GetPointer ¶
func (x *ChatStreamEvent) GetPointer() *Pointer
func (*ChatStreamEvent) GetType ¶
func (m *ChatStreamEvent) GetType() isChatStreamEvent_Type
func (*ChatStreamEvent) ProtoMessage ¶
func (*ChatStreamEvent) ProtoMessage()
func (*ChatStreamEvent) ProtoReflect ¶
func (x *ChatStreamEvent) ProtoReflect() protoreflect.Message
func (*ChatStreamEvent) Reset ¶
func (x *ChatStreamEvent) Reset()
func (*ChatStreamEvent) String ¶
func (x *ChatStreamEvent) String() string
func (*ChatStreamEvent) Validate ¶
func (m *ChatStreamEvent) Validate() error
Validate checks the field values on ChatStreamEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatStreamEventBatch ¶
type ChatStreamEventBatch struct { Events []*ChatStreamEvent `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*ChatStreamEventBatch) Descriptor
deprecated
func (*ChatStreamEventBatch) Descriptor() ([]byte, []int)
Deprecated: Use ChatStreamEventBatch.ProtoReflect.Descriptor instead.
func (*ChatStreamEventBatch) GetEvents ¶
func (x *ChatStreamEventBatch) GetEvents() []*ChatStreamEvent
func (*ChatStreamEventBatch) ProtoMessage ¶
func (*ChatStreamEventBatch) ProtoMessage()
func (*ChatStreamEventBatch) ProtoReflect ¶
func (x *ChatStreamEventBatch) ProtoReflect() protoreflect.Message
func (*ChatStreamEventBatch) Reset ¶
func (x *ChatStreamEventBatch) Reset()
func (*ChatStreamEventBatch) String ¶
func (x *ChatStreamEventBatch) String() string
func (*ChatStreamEventBatch) Validate ¶
func (m *ChatStreamEventBatch) Validate() error
Validate checks the field values on ChatStreamEventBatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatStreamEventBatchValidationError ¶
type ChatStreamEventBatchValidationError struct {
// contains filtered or unexported fields
}
ChatStreamEventBatchValidationError is the validation error returned by ChatStreamEventBatch.Validate if the designated constraints aren't met.
func (ChatStreamEventBatchValidationError) Cause ¶
func (e ChatStreamEventBatchValidationError) Cause() error
Cause function returns cause value.
func (ChatStreamEventBatchValidationError) Error ¶
func (e ChatStreamEventBatchValidationError) Error() string
Error satisfies the builtin error interface
func (ChatStreamEventBatchValidationError) ErrorName ¶
func (e ChatStreamEventBatchValidationError) ErrorName() string
ErrorName returns error name.
func (ChatStreamEventBatchValidationError) Field ¶
func (e ChatStreamEventBatchValidationError) Field() string
Field function returns field value.
func (ChatStreamEventBatchValidationError) Key ¶
func (e ChatStreamEventBatchValidationError) Key() bool
Key function returns key value.
func (ChatStreamEventBatchValidationError) Reason ¶
func (e ChatStreamEventBatchValidationError) Reason() string
Reason function returns reason value.
type ChatStreamEventError ¶
type ChatStreamEventError struct { Code ChatStreamEventError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=code.chat.v2.ChatStreamEventError_Code" json:"code,omitempty"` // contains filtered or unexported fields }
func (*ChatStreamEventError) Descriptor
deprecated
func (*ChatStreamEventError) Descriptor() ([]byte, []int)
Deprecated: Use ChatStreamEventError.ProtoReflect.Descriptor instead.
func (*ChatStreamEventError) GetCode ¶
func (x *ChatStreamEventError) GetCode() ChatStreamEventError_Code
func (*ChatStreamEventError) ProtoMessage ¶
func (*ChatStreamEventError) ProtoMessage()
func (*ChatStreamEventError) ProtoReflect ¶
func (x *ChatStreamEventError) ProtoReflect() protoreflect.Message
func (*ChatStreamEventError) Reset ¶
func (x *ChatStreamEventError) Reset()
func (*ChatStreamEventError) String ¶
func (x *ChatStreamEventError) String() string
func (*ChatStreamEventError) Validate ¶
func (m *ChatStreamEventError) Validate() error
Validate checks the field values on ChatStreamEventError with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ChatStreamEventErrorValidationError ¶
type ChatStreamEventErrorValidationError struct {
// contains filtered or unexported fields
}
ChatStreamEventErrorValidationError is the validation error returned by ChatStreamEventError.Validate if the designated constraints aren't met.
func (ChatStreamEventErrorValidationError) Cause ¶
func (e ChatStreamEventErrorValidationError) Cause() error
Cause function returns cause value.
func (ChatStreamEventErrorValidationError) Error ¶
func (e ChatStreamEventErrorValidationError) Error() string
Error satisfies the builtin error interface
func (ChatStreamEventErrorValidationError) ErrorName ¶
func (e ChatStreamEventErrorValidationError) ErrorName() string
ErrorName returns error name.
func (ChatStreamEventErrorValidationError) Field ¶
func (e ChatStreamEventErrorValidationError) Field() string
Field function returns field value.
func (ChatStreamEventErrorValidationError) Key ¶
func (e ChatStreamEventErrorValidationError) Key() bool
Key function returns key value.
func (ChatStreamEventErrorValidationError) Reason ¶
func (e ChatStreamEventErrorValidationError) Reason() string
Reason function returns reason value.
type ChatStreamEventError_Code ¶
type ChatStreamEventError_Code int32
const ( ChatStreamEventError_DENIED ChatStreamEventError_Code = 0 ChatStreamEventError_CHAT_NOT_FOUND ChatStreamEventError_Code = 1 )
func (ChatStreamEventError_Code) Descriptor ¶
func (ChatStreamEventError_Code) Descriptor() protoreflect.EnumDescriptor
func (ChatStreamEventError_Code) Enum ¶
func (x ChatStreamEventError_Code) Enum() *ChatStreamEventError_Code
func (ChatStreamEventError_Code) EnumDescriptor
deprecated
func (ChatStreamEventError_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChatStreamEventError_Code.Descriptor instead.
func (ChatStreamEventError_Code) Number ¶
func (x ChatStreamEventError_Code) Number() protoreflect.EnumNumber
func (ChatStreamEventError_Code) String ¶
func (x ChatStreamEventError_Code) String() string
func (ChatStreamEventError_Code) Type ¶
func (ChatStreamEventError_Code) Type() protoreflect.EnumType
type ChatStreamEventValidationError ¶
type ChatStreamEventValidationError struct {
// contains filtered or unexported fields
}
ChatStreamEventValidationError is the validation error returned by ChatStreamEvent.Validate if the designated constraints aren't met.
func (ChatStreamEventValidationError) Cause ¶
func (e ChatStreamEventValidationError) Cause() error
Cause function returns cause value.
func (ChatStreamEventValidationError) Error ¶
func (e ChatStreamEventValidationError) Error() string
Error satisfies the builtin error interface
func (ChatStreamEventValidationError) ErrorName ¶
func (e ChatStreamEventValidationError) ErrorName() string
ErrorName returns error name.
func (ChatStreamEventValidationError) Field ¶
func (e ChatStreamEventValidationError) Field() string
Field function returns field value.
func (ChatStreamEventValidationError) Key ¶
func (e ChatStreamEventValidationError) Key() bool
Key function returns key value.
func (ChatStreamEventValidationError) Reason ¶
func (e ChatStreamEventValidationError) Reason() string
Reason function returns reason value.
type ChatStreamEvent_IsTyping ¶ added in v1.17.2
type ChatStreamEvent_IsTyping struct {
IsTyping *IsTyping `protobuf:"bytes,3,opt,name=is_typing,json=isTyping,proto3,oneof"`
}
type ChatStreamEvent_Message ¶
type ChatStreamEvent_Message struct {
Message *ChatMessage `protobuf:"bytes,1,opt,name=message,proto3,oneof"`
}
type ChatStreamEvent_Pointer ¶
type ChatStreamEvent_Pointer struct {
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3,oneof"`
}
type ChatType ¶
type ChatType int32
func (ChatType) Descriptor ¶
func (ChatType) Descriptor() protoreflect.EnumDescriptor
func (ChatType) EnumDescriptor
deprecated
func (ChatType) Number ¶
func (x ChatType) Number() protoreflect.EnumNumber
func (ChatType) Type ¶
func (ChatType) Type() protoreflect.EnumType
type Chat_StreamChatEventsClient ¶
type Chat_StreamChatEventsClient interface { Send(*StreamChatEventsRequest) error Recv() (*StreamChatEventsResponse, error) grpc.ClientStream }
type Chat_StreamChatEventsServer ¶
type Chat_StreamChatEventsServer interface { Send(*StreamChatEventsResponse) error Recv() (*StreamChatEventsRequest, error) grpc.ServerStream }
type Content ¶
type Content struct { // Types that are assignable to Type: // // *Content_Text // *Content_Localized // *Content_ExchangeData // *Content_NaclBox // *Content_ThankYou // *Content_IdentityRevealed Type isContent_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Content for a chat message
func (*Content) Descriptor
deprecated
func (*Content) GetExchangeData ¶
func (x *Content) GetExchangeData() *ExchangeDataContent
func (*Content) GetIdentityRevealed ¶
func (x *Content) GetIdentityRevealed() *IdentityRevealedContent
func (*Content) GetLocalized ¶
func (x *Content) GetLocalized() *LocalizedContent
func (*Content) GetNaclBox ¶
func (x *Content) GetNaclBox() *NaclBoxEncryptedContent
func (*Content) GetText ¶
func (x *Content) GetText() *TextContent
func (*Content) GetThankYou ¶
func (x *Content) GetThankYou() *ThankYouContent
func (*Content) ProtoMessage ¶
func (*Content) ProtoMessage()
func (*Content) ProtoReflect ¶
func (x *Content) ProtoReflect() protoreflect.Message
type ContentValidationError ¶
type ContentValidationError struct {
// contains filtered or unexported fields
}
ContentValidationError is the validation error returned by Content.Validate if the designated constraints aren't met.
func (ContentValidationError) Cause ¶
func (e ContentValidationError) Cause() error
Cause function returns cause value.
func (ContentValidationError) Error ¶
func (e ContentValidationError) Error() string
Error satisfies the builtin error interface
func (ContentValidationError) ErrorName ¶
func (e ContentValidationError) ErrorName() string
ErrorName returns error name.
func (ContentValidationError) Field ¶
func (e ContentValidationError) Field() string
Field function returns field value.
func (ContentValidationError) Key ¶
func (e ContentValidationError) Key() bool
Key function returns key value.
func (ContentValidationError) Reason ¶
func (e ContentValidationError) Reason() string
Reason function returns reason value.
type Content_ExchangeData ¶
type Content_ExchangeData struct {
ExchangeData *ExchangeDataContent `protobuf:"bytes,3,opt,name=exchange_data,json=exchangeData,proto3,oneof"`
}
type Content_IdentityRevealed ¶
type Content_IdentityRevealed struct {
IdentityRevealed *IdentityRevealedContent `protobuf:"bytes,6,opt,name=identity_revealed,json=identityRevealed,proto3,oneof"`
}
type Content_Localized ¶
type Content_Localized struct {
Localized *LocalizedContent `protobuf:"bytes,2,opt,name=localized,proto3,oneof"`
}
type Content_NaclBox ¶
type Content_NaclBox struct {
NaclBox *NaclBoxEncryptedContent `protobuf:"bytes,4,opt,name=nacl_box,json=naclBox,proto3,oneof"`
}
type Content_Text ¶
type Content_Text struct {
Text *TextContent `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type Content_ThankYou ¶
type Content_ThankYou struct {
ThankYou *ThankYouContent `protobuf:"bytes,5,opt,name=thank_you,json=thankYou,proto3,oneof"`
}
type Cursor ¶
type Cursor struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Opaque cursor used across paged APIs. Underlying bytes may change as paging strategies evolve. Expected length value will vary based on the RPC being executed.
func (*Cursor) Descriptor
deprecated
func (*Cursor) ProtoMessage ¶
func (*Cursor) ProtoMessage()
func (*Cursor) ProtoReflect ¶
func (x *Cursor) ProtoReflect() protoreflect.Message
type CursorValidationError ¶
type CursorValidationError struct {
// contains filtered or unexported fields
}
CursorValidationError is the validation error returned by Cursor.Validate if the designated constraints aren't met.
func (CursorValidationError) Cause ¶
func (e CursorValidationError) Cause() error
Cause function returns cause value.
func (CursorValidationError) Error ¶
func (e CursorValidationError) Error() string
Error satisfies the builtin error interface
func (CursorValidationError) ErrorName ¶
func (e CursorValidationError) ErrorName() string
ErrorName returns error name.
func (CursorValidationError) Field ¶
func (e CursorValidationError) Field() string
Field function returns field value.
func (CursorValidationError) Key ¶
func (e CursorValidationError) Key() bool
Key function returns key value.
func (CursorValidationError) Reason ¶
func (e CursorValidationError) Reason() string
Reason function returns reason value.
type ExchangeDataContent ¶
type ExchangeDataContent struct { // Verb describing how the amount of Kin was exchanged // // Note: The current definition is not suitable outside a NOTIFICATION chat // // as not enough context is provided as to which member this verb is // associated with. Verb ExchangeDataContent_Verb `protobuf:"varint,1,opt,name=verb,proto3,enum=code.chat.v2.ExchangeDataContent_Verb" json:"verb,omitempty"` // An amount of Kin being exchanged // // Types that are assignable to ExchangeData: // // *ExchangeDataContent_Exact // *ExchangeDataContent_Partial ExchangeData isExchangeDataContent_ExchangeData `protobuf_oneof:"exchange_data"` // An ID that can be referenced to the source of the exchange of Kin // // Types that are assignable to Reference: // // *ExchangeDataContent_Intent // *ExchangeDataContent_Signature Reference isExchangeDataContent_Reference `protobuf_oneof:"reference"` // contains filtered or unexported fields }
Exchange data content for movement of a value of Kin
func (*ExchangeDataContent) Descriptor
deprecated
func (*ExchangeDataContent) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeDataContent.ProtoReflect.Descriptor instead.
func (*ExchangeDataContent) GetExact ¶
func (x *ExchangeDataContent) GetExact() *v2.ExchangeData
func (*ExchangeDataContent) GetExchangeData ¶
func (m *ExchangeDataContent) GetExchangeData() isExchangeDataContent_ExchangeData
func (*ExchangeDataContent) GetIntent ¶
func (x *ExchangeDataContent) GetIntent() *v1.IntentId
func (*ExchangeDataContent) GetPartial ¶
func (x *ExchangeDataContent) GetPartial() *v2.ExchangeDataWithoutRate
func (*ExchangeDataContent) GetReference ¶
func (m *ExchangeDataContent) GetReference() isExchangeDataContent_Reference
func (*ExchangeDataContent) GetSignature ¶
func (x *ExchangeDataContent) GetSignature() *v1.Signature
func (*ExchangeDataContent) GetVerb ¶
func (x *ExchangeDataContent) GetVerb() ExchangeDataContent_Verb
func (*ExchangeDataContent) ProtoMessage ¶
func (*ExchangeDataContent) ProtoMessage()
func (*ExchangeDataContent) ProtoReflect ¶
func (x *ExchangeDataContent) ProtoReflect() protoreflect.Message
func (*ExchangeDataContent) Reset ¶
func (x *ExchangeDataContent) Reset()
func (*ExchangeDataContent) String ¶
func (x *ExchangeDataContent) String() string
func (*ExchangeDataContent) Validate ¶
func (m *ExchangeDataContent) Validate() error
Validate checks the field values on ExchangeDataContent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExchangeDataContentValidationError ¶
type ExchangeDataContentValidationError struct {
// contains filtered or unexported fields
}
ExchangeDataContentValidationError is the validation error returned by ExchangeDataContent.Validate if the designated constraints aren't met.
func (ExchangeDataContentValidationError) Cause ¶
func (e ExchangeDataContentValidationError) Cause() error
Cause function returns cause value.
func (ExchangeDataContentValidationError) Error ¶
func (e ExchangeDataContentValidationError) Error() string
Error satisfies the builtin error interface
func (ExchangeDataContentValidationError) ErrorName ¶
func (e ExchangeDataContentValidationError) ErrorName() string
ErrorName returns error name.
func (ExchangeDataContentValidationError) Field ¶
func (e ExchangeDataContentValidationError) Field() string
Field function returns field value.
func (ExchangeDataContentValidationError) Key ¶
func (e ExchangeDataContentValidationError) Key() bool
Key function returns key value.
func (ExchangeDataContentValidationError) Reason ¶
func (e ExchangeDataContentValidationError) Reason() string
Reason function returns reason value.
type ExchangeDataContent_Exact ¶
type ExchangeDataContent_Exact struct {
Exact *v2.ExchangeData `protobuf:"bytes,2,opt,name=exact,proto3,oneof"`
}
type ExchangeDataContent_Partial ¶
type ExchangeDataContent_Partial struct {
Partial *v2.ExchangeDataWithoutRate `protobuf:"bytes,3,opt,name=partial,proto3,oneof"`
}
type ExchangeDataContent_Verb ¶
type ExchangeDataContent_Verb int32
const ( ExchangeDataContent_UNKNOWN ExchangeDataContent_Verb = 0 ExchangeDataContent_GAVE ExchangeDataContent_Verb = 1 ExchangeDataContent_RECEIVED ExchangeDataContent_Verb = 2 ExchangeDataContent_WITHDREW ExchangeDataContent_Verb = 3 ExchangeDataContent_DEPOSITED ExchangeDataContent_Verb = 4 ExchangeDataContent_SENT ExchangeDataContent_Verb = 5 ExchangeDataContent_RETURNED ExchangeDataContent_Verb = 6 ExchangeDataContent_SPENT ExchangeDataContent_Verb = 7 ExchangeDataContent_PAID ExchangeDataContent_Verb = 8 ExchangeDataContent_PURCHASED ExchangeDataContent_Verb = 9 ExchangeDataContent_RECEIVED_TIP ExchangeDataContent_Verb = 10 ExchangeDataContent_SENT_TIP ExchangeDataContent_Verb = 11 )
func (ExchangeDataContent_Verb) Descriptor ¶
func (ExchangeDataContent_Verb) Descriptor() protoreflect.EnumDescriptor
func (ExchangeDataContent_Verb) Enum ¶
func (x ExchangeDataContent_Verb) Enum() *ExchangeDataContent_Verb
func (ExchangeDataContent_Verb) EnumDescriptor
deprecated
func (ExchangeDataContent_Verb) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExchangeDataContent_Verb.Descriptor instead.
func (ExchangeDataContent_Verb) Number ¶
func (x ExchangeDataContent_Verb) Number() protoreflect.EnumNumber
func (ExchangeDataContent_Verb) String ¶
func (x ExchangeDataContent_Verb) String() string
func (ExchangeDataContent_Verb) Type ¶
func (ExchangeDataContent_Verb) Type() protoreflect.EnumType
type GetChatsRequest ¶
type GetChatsRequest struct { Owner *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Cursor *Cursor `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` Direction GetChatsRequest_Direction `protobuf:"varint,5,opt,name=direction,proto3,enum=code.chat.v2.GetChatsRequest_Direction" json:"direction,omitempty"` // contains filtered or unexported fields }
func (*GetChatsRequest) Descriptor
deprecated
func (*GetChatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChatsRequest.ProtoReflect.Descriptor instead.
func (*GetChatsRequest) GetCursor ¶
func (x *GetChatsRequest) GetCursor() *Cursor
func (*GetChatsRequest) GetDirection ¶
func (x *GetChatsRequest) GetDirection() GetChatsRequest_Direction
func (*GetChatsRequest) GetOwner ¶
func (x *GetChatsRequest) GetOwner() *v1.SolanaAccountId
func (*GetChatsRequest) GetPageSize ¶
func (x *GetChatsRequest) GetPageSize() uint32
func (*GetChatsRequest) GetSignature ¶
func (x *GetChatsRequest) GetSignature() *v1.Signature
func (*GetChatsRequest) ProtoMessage ¶
func (*GetChatsRequest) ProtoMessage()
func (*GetChatsRequest) ProtoReflect ¶
func (x *GetChatsRequest) ProtoReflect() protoreflect.Message
func (*GetChatsRequest) Reset ¶
func (x *GetChatsRequest) Reset()
func (*GetChatsRequest) String ¶
func (x *GetChatsRequest) String() string
func (*GetChatsRequest) Validate ¶
func (m *GetChatsRequest) Validate() error
Validate checks the field values on GetChatsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetChatsRequestValidationError ¶
type GetChatsRequestValidationError struct {
// contains filtered or unexported fields
}
GetChatsRequestValidationError is the validation error returned by GetChatsRequest.Validate if the designated constraints aren't met.
func (GetChatsRequestValidationError) Cause ¶
func (e GetChatsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetChatsRequestValidationError) Error ¶
func (e GetChatsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetChatsRequestValidationError) ErrorName ¶
func (e GetChatsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetChatsRequestValidationError) Field ¶
func (e GetChatsRequestValidationError) Field() string
Field function returns field value.
func (GetChatsRequestValidationError) Key ¶
func (e GetChatsRequestValidationError) Key() bool
Key function returns key value.
func (GetChatsRequestValidationError) Reason ¶
func (e GetChatsRequestValidationError) Reason() string
Reason function returns reason value.
type GetChatsRequest_Direction ¶
type GetChatsRequest_Direction int32
const ( GetChatsRequest_ASC GetChatsRequest_Direction = 0 GetChatsRequest_DESC GetChatsRequest_Direction = 1 )
func (GetChatsRequest_Direction) Descriptor ¶
func (GetChatsRequest_Direction) Descriptor() protoreflect.EnumDescriptor
func (GetChatsRequest_Direction) Enum ¶
func (x GetChatsRequest_Direction) Enum() *GetChatsRequest_Direction
func (GetChatsRequest_Direction) EnumDescriptor
deprecated
func (GetChatsRequest_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetChatsRequest_Direction.Descriptor instead.
func (GetChatsRequest_Direction) Number ¶
func (x GetChatsRequest_Direction) Number() protoreflect.EnumNumber
func (GetChatsRequest_Direction) String ¶
func (x GetChatsRequest_Direction) String() string
func (GetChatsRequest_Direction) Type ¶
func (GetChatsRequest_Direction) Type() protoreflect.EnumType
type GetChatsResponse ¶
type GetChatsResponse struct { Result GetChatsResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v2.GetChatsResponse_Result" json:"result,omitempty"` Chats []*ChatMetadata `protobuf:"bytes,2,rep,name=chats,proto3" json:"chats,omitempty"` // contains filtered or unexported fields }
func (*GetChatsResponse) Descriptor
deprecated
func (*GetChatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChatsResponse.ProtoReflect.Descriptor instead.
func (*GetChatsResponse) GetChats ¶
func (x *GetChatsResponse) GetChats() []*ChatMetadata
func (*GetChatsResponse) GetResult ¶
func (x *GetChatsResponse) GetResult() GetChatsResponse_Result
func (*GetChatsResponse) ProtoMessage ¶
func (*GetChatsResponse) ProtoMessage()
func (*GetChatsResponse) ProtoReflect ¶
func (x *GetChatsResponse) ProtoReflect() protoreflect.Message
func (*GetChatsResponse) Reset ¶
func (x *GetChatsResponse) Reset()
func (*GetChatsResponse) String ¶
func (x *GetChatsResponse) String() string
func (*GetChatsResponse) Validate ¶
func (m *GetChatsResponse) Validate() error
Validate checks the field values on GetChatsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetChatsResponseValidationError ¶
type GetChatsResponseValidationError struct {
// contains filtered or unexported fields
}
GetChatsResponseValidationError is the validation error returned by GetChatsResponse.Validate if the designated constraints aren't met.
func (GetChatsResponseValidationError) Cause ¶
func (e GetChatsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetChatsResponseValidationError) Error ¶
func (e GetChatsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetChatsResponseValidationError) ErrorName ¶
func (e GetChatsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetChatsResponseValidationError) Field ¶
func (e GetChatsResponseValidationError) Field() string
Field function returns field value.
func (GetChatsResponseValidationError) Key ¶
func (e GetChatsResponseValidationError) Key() bool
Key function returns key value.
func (GetChatsResponseValidationError) Reason ¶
func (e GetChatsResponseValidationError) Reason() string
Reason function returns reason value.
type GetChatsResponse_Result ¶
type GetChatsResponse_Result int32
const ( GetChatsResponse_OK GetChatsResponse_Result = 0 GetChatsResponse_NOT_FOUND GetChatsResponse_Result = 1 )
func (GetChatsResponse_Result) Descriptor ¶
func (GetChatsResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetChatsResponse_Result) Enum ¶
func (x GetChatsResponse_Result) Enum() *GetChatsResponse_Result
func (GetChatsResponse_Result) EnumDescriptor
deprecated
func (GetChatsResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetChatsResponse_Result.Descriptor instead.
func (GetChatsResponse_Result) Number ¶
func (x GetChatsResponse_Result) Number() protoreflect.EnumNumber
func (GetChatsResponse_Result) String ¶
func (x GetChatsResponse_Result) String() string
func (GetChatsResponse_Result) Type ¶
func (GetChatsResponse_Result) Type() protoreflect.EnumType
type GetMessagesRequest ¶
type GetMessagesRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MemberId *ChatMemberId `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` PageSize uint32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Cursor *Cursor `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"` Direction GetMessagesRequest_Direction `protobuf:"varint,7,opt,name=direction,proto3,enum=code.chat.v2.GetMessagesRequest_Direction" json:"direction,omitempty"` // contains filtered or unexported fields }
func (*GetMessagesRequest) Descriptor
deprecated
func (*GetMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetMessagesRequest) GetChatId ¶
func (x *GetMessagesRequest) GetChatId() *v1.ChatId
func (*GetMessagesRequest) GetCursor ¶
func (x *GetMessagesRequest) GetCursor() *Cursor
func (*GetMessagesRequest) GetDirection ¶
func (x *GetMessagesRequest) GetDirection() GetMessagesRequest_Direction
func (*GetMessagesRequest) GetMemberId ¶
func (x *GetMessagesRequest) GetMemberId() *ChatMemberId
func (*GetMessagesRequest) GetOwner ¶
func (x *GetMessagesRequest) GetOwner() *v1.SolanaAccountId
func (*GetMessagesRequest) GetPageSize ¶
func (x *GetMessagesRequest) GetPageSize() uint32
func (*GetMessagesRequest) GetSignature ¶
func (x *GetMessagesRequest) GetSignature() *v1.Signature
func (*GetMessagesRequest) ProtoMessage ¶
func (*GetMessagesRequest) ProtoMessage()
func (*GetMessagesRequest) ProtoReflect ¶
func (x *GetMessagesRequest) ProtoReflect() protoreflect.Message
func (*GetMessagesRequest) Reset ¶
func (x *GetMessagesRequest) Reset()
func (*GetMessagesRequest) String ¶
func (x *GetMessagesRequest) String() string
func (*GetMessagesRequest) Validate ¶
func (m *GetMessagesRequest) Validate() error
Validate checks the field values on GetMessagesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetMessagesRequestValidationError ¶
type GetMessagesRequestValidationError struct {
// contains filtered or unexported fields
}
GetMessagesRequestValidationError is the validation error returned by GetMessagesRequest.Validate if the designated constraints aren't met.
func (GetMessagesRequestValidationError) Cause ¶
func (e GetMessagesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMessagesRequestValidationError) Error ¶
func (e GetMessagesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMessagesRequestValidationError) ErrorName ¶
func (e GetMessagesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMessagesRequestValidationError) Field ¶
func (e GetMessagesRequestValidationError) Field() string
Field function returns field value.
func (GetMessagesRequestValidationError) Key ¶
func (e GetMessagesRequestValidationError) Key() bool
Key function returns key value.
func (GetMessagesRequestValidationError) Reason ¶
func (e GetMessagesRequestValidationError) Reason() string
Reason function returns reason value.
type GetMessagesRequest_Direction ¶
type GetMessagesRequest_Direction int32
const ( GetMessagesRequest_ASC GetMessagesRequest_Direction = 0 GetMessagesRequest_DESC GetMessagesRequest_Direction = 1 )
func (GetMessagesRequest_Direction) Descriptor ¶
func (GetMessagesRequest_Direction) Descriptor() protoreflect.EnumDescriptor
func (GetMessagesRequest_Direction) Enum ¶
func (x GetMessagesRequest_Direction) Enum() *GetMessagesRequest_Direction
func (GetMessagesRequest_Direction) EnumDescriptor
deprecated
func (GetMessagesRequest_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetMessagesRequest_Direction.Descriptor instead.
func (GetMessagesRequest_Direction) Number ¶
func (x GetMessagesRequest_Direction) Number() protoreflect.EnumNumber
func (GetMessagesRequest_Direction) String ¶
func (x GetMessagesRequest_Direction) String() string
func (GetMessagesRequest_Direction) Type ¶
func (GetMessagesRequest_Direction) Type() protoreflect.EnumType
type GetMessagesResponse ¶
type GetMessagesResponse struct { Result GetMessagesResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v2.GetMessagesResponse_Result" json:"result,omitempty"` Messages []*ChatMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*GetMessagesResponse) Descriptor
deprecated
func (*GetMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagesResponse.ProtoReflect.Descriptor instead.
func (*GetMessagesResponse) GetMessages ¶
func (x *GetMessagesResponse) GetMessages() []*ChatMessage
func (*GetMessagesResponse) GetResult ¶
func (x *GetMessagesResponse) GetResult() GetMessagesResponse_Result
func (*GetMessagesResponse) ProtoMessage ¶
func (*GetMessagesResponse) ProtoMessage()
func (*GetMessagesResponse) ProtoReflect ¶
func (x *GetMessagesResponse) ProtoReflect() protoreflect.Message
func (*GetMessagesResponse) Reset ¶
func (x *GetMessagesResponse) Reset()
func (*GetMessagesResponse) String ¶
func (x *GetMessagesResponse) String() string
func (*GetMessagesResponse) Validate ¶
func (m *GetMessagesResponse) Validate() error
Validate checks the field values on GetMessagesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetMessagesResponseValidationError ¶
type GetMessagesResponseValidationError struct {
// contains filtered or unexported fields
}
GetMessagesResponseValidationError is the validation error returned by GetMessagesResponse.Validate if the designated constraints aren't met.
func (GetMessagesResponseValidationError) Cause ¶
func (e GetMessagesResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMessagesResponseValidationError) Error ¶
func (e GetMessagesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMessagesResponseValidationError) ErrorName ¶
func (e GetMessagesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMessagesResponseValidationError) Field ¶
func (e GetMessagesResponseValidationError) Field() string
Field function returns field value.
func (GetMessagesResponseValidationError) Key ¶
func (e GetMessagesResponseValidationError) Key() bool
Key function returns key value.
func (GetMessagesResponseValidationError) Reason ¶
func (e GetMessagesResponseValidationError) Reason() string
Reason function returns reason value.
type GetMessagesResponse_Result ¶
type GetMessagesResponse_Result int32
const ( GetMessagesResponse_OK GetMessagesResponse_Result = 0 GetMessagesResponse_DENIED GetMessagesResponse_Result = 1 GetMessagesResponse_CHAT_NOT_FOUND GetMessagesResponse_Result = 2 GetMessagesResponse_MESSAGE_NOT_FOUND GetMessagesResponse_Result = 3 )
func (GetMessagesResponse_Result) Descriptor ¶
func (GetMessagesResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetMessagesResponse_Result) Enum ¶
func (x GetMessagesResponse_Result) Enum() *GetMessagesResponse_Result
func (GetMessagesResponse_Result) EnumDescriptor
deprecated
func (GetMessagesResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetMessagesResponse_Result.Descriptor instead.
func (GetMessagesResponse_Result) Number ¶
func (x GetMessagesResponse_Result) Number() protoreflect.EnumNumber
func (GetMessagesResponse_Result) String ¶
func (x GetMessagesResponse_Result) String() string
func (GetMessagesResponse_Result) Type ¶
func (GetMessagesResponse_Result) Type() protoreflect.EnumType
type IdentityRevealedContent ¶
type IdentityRevealedContent struct { // The chat member who revealed their identity MemberId *ChatMemberId `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // The identity that was revealed Identity *ChatMemberIdentity `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
Identity revealed content that is inserted into chat whenever a chat member reveals their identity
func (*IdentityRevealedContent) Descriptor
deprecated
func (*IdentityRevealedContent) Descriptor() ([]byte, []int)
Deprecated: Use IdentityRevealedContent.ProtoReflect.Descriptor instead.
func (*IdentityRevealedContent) GetIdentity ¶
func (x *IdentityRevealedContent) GetIdentity() *ChatMemberIdentity
func (*IdentityRevealedContent) GetMemberId ¶
func (x *IdentityRevealedContent) GetMemberId() *ChatMemberId
func (*IdentityRevealedContent) ProtoMessage ¶
func (*IdentityRevealedContent) ProtoMessage()
func (*IdentityRevealedContent) ProtoReflect ¶
func (x *IdentityRevealedContent) ProtoReflect() protoreflect.Message
func (*IdentityRevealedContent) Reset ¶
func (x *IdentityRevealedContent) Reset()
func (*IdentityRevealedContent) String ¶
func (x *IdentityRevealedContent) String() string
func (*IdentityRevealedContent) Validate ¶
func (m *IdentityRevealedContent) Validate() error
Validate checks the field values on IdentityRevealedContent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type IdentityRevealedContentValidationError ¶
type IdentityRevealedContentValidationError struct {
// contains filtered or unexported fields
}
IdentityRevealedContentValidationError is the validation error returned by IdentityRevealedContent.Validate if the designated constraints aren't met.
func (IdentityRevealedContentValidationError) Cause ¶
func (e IdentityRevealedContentValidationError) Cause() error
Cause function returns cause value.
func (IdentityRevealedContentValidationError) Error ¶
func (e IdentityRevealedContentValidationError) Error() string
Error satisfies the builtin error interface
func (IdentityRevealedContentValidationError) ErrorName ¶
func (e IdentityRevealedContentValidationError) ErrorName() string
ErrorName returns error name.
func (IdentityRevealedContentValidationError) Field ¶
func (e IdentityRevealedContentValidationError) Field() string
Field function returns field value.
func (IdentityRevealedContentValidationError) Key ¶
func (e IdentityRevealedContentValidationError) Key() bool
Key function returns key value.
func (IdentityRevealedContentValidationError) Reason ¶
func (e IdentityRevealedContentValidationError) Reason() string
Reason function returns reason value.
type IsTyping ¶ added in v1.17.2
type IsTyping struct { MemberId *ChatMemberId `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // is_typing indicates whether or not the user is typing. // If false, the user has explicitly stopped typing. IsTyping bool `protobuf:"varint,2,opt,name=is_typing,json=isTyping,proto3" json:"is_typing,omitempty"` // contains filtered or unexported fields }
func (*IsTyping) Descriptor
deprecated
added in
v1.17.2
func (*IsTyping) GetIsTyping ¶ added in v1.17.2
func (*IsTyping) GetMemberId ¶ added in v1.17.2
func (x *IsTyping) GetMemberId() *ChatMemberId
func (*IsTyping) ProtoMessage ¶ added in v1.17.2
func (*IsTyping) ProtoMessage()
func (*IsTyping) ProtoReflect ¶ added in v1.17.2
func (x *IsTyping) ProtoReflect() protoreflect.Message
type IsTypingValidationError ¶ added in v1.17.2
type IsTypingValidationError struct {
// contains filtered or unexported fields
}
IsTypingValidationError is the validation error returned by IsTyping.Validate if the designated constraints aren't met.
func (IsTypingValidationError) Cause ¶ added in v1.17.2
func (e IsTypingValidationError) Cause() error
Cause function returns cause value.
func (IsTypingValidationError) Error ¶ added in v1.17.2
func (e IsTypingValidationError) Error() string
Error satisfies the builtin error interface
func (IsTypingValidationError) ErrorName ¶ added in v1.17.2
func (e IsTypingValidationError) ErrorName() string
ErrorName returns error name.
func (IsTypingValidationError) Field ¶ added in v1.17.2
func (e IsTypingValidationError) Field() string
Field function returns field value.
func (IsTypingValidationError) Key ¶ added in v1.17.2
func (e IsTypingValidationError) Key() bool
Key function returns key value.
func (IsTypingValidationError) Reason ¶ added in v1.17.2
func (e IsTypingValidationError) Reason() string
Reason function returns reason value.
type LocalizedContent ¶
type LocalizedContent struct { KeyOrText string `protobuf:"bytes,1,opt,name=key_or_text,json=keyOrText,proto3" json:"key_or_text,omitempty"` // contains filtered or unexported fields }
Text content that is either a localization key that should be translated on client, or a server-side translated piece of text.
func (*LocalizedContent) Descriptor
deprecated
func (*LocalizedContent) Descriptor() ([]byte, []int)
Deprecated: Use LocalizedContent.ProtoReflect.Descriptor instead.
func (*LocalizedContent) GetKeyOrText ¶
func (x *LocalizedContent) GetKeyOrText() string
func (*LocalizedContent) ProtoMessage ¶
func (*LocalizedContent) ProtoMessage()
func (*LocalizedContent) ProtoReflect ¶
func (x *LocalizedContent) ProtoReflect() protoreflect.Message
func (*LocalizedContent) Reset ¶
func (x *LocalizedContent) Reset()
func (*LocalizedContent) String ¶
func (x *LocalizedContent) String() string
func (*LocalizedContent) Validate ¶
func (m *LocalizedContent) Validate() error
Validate checks the field values on LocalizedContent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LocalizedContentValidationError ¶
type LocalizedContentValidationError struct {
// contains filtered or unexported fields
}
LocalizedContentValidationError is the validation error returned by LocalizedContent.Validate if the designated constraints aren't met.
func (LocalizedContentValidationError) Cause ¶
func (e LocalizedContentValidationError) Cause() error
Cause function returns cause value.
func (LocalizedContentValidationError) Error ¶
func (e LocalizedContentValidationError) Error() string
Error satisfies the builtin error interface
func (LocalizedContentValidationError) ErrorName ¶
func (e LocalizedContentValidationError) ErrorName() string
ErrorName returns error name.
func (LocalizedContentValidationError) Field ¶
func (e LocalizedContentValidationError) Field() string
Field function returns field value.
func (LocalizedContentValidationError) Key ¶
func (e LocalizedContentValidationError) Key() bool
Key function returns key value.
func (LocalizedContentValidationError) Reason ¶
func (e LocalizedContentValidationError) Reason() string
Reason function returns reason value.
type NaclBoxEncryptedContent ¶
type NaclBoxEncryptedContent struct { // The sender's public key that is used to derive the shared private key for // decryption for message content. PeerPublicKey *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=peer_public_key,json=peerPublicKey,proto3" json:"peer_public_key,omitempty"` // Globally random nonce that is unique to this encrypted piece of content Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // The encrypted piece of message content EncryptedPayload []byte `protobuf:"bytes,3,opt,name=encrypted_payload,json=encryptedPayload,proto3" json:"encrypted_payload,omitempty"` // contains filtered or unexported fields }
Encrypted piece of content using NaCl box encryption
func (*NaclBoxEncryptedContent) Descriptor
deprecated
func (*NaclBoxEncryptedContent) Descriptor() ([]byte, []int)
Deprecated: Use NaclBoxEncryptedContent.ProtoReflect.Descriptor instead.
func (*NaclBoxEncryptedContent) GetEncryptedPayload ¶
func (x *NaclBoxEncryptedContent) GetEncryptedPayload() []byte
func (*NaclBoxEncryptedContent) GetNonce ¶
func (x *NaclBoxEncryptedContent) GetNonce() []byte
func (*NaclBoxEncryptedContent) GetPeerPublicKey ¶
func (x *NaclBoxEncryptedContent) GetPeerPublicKey() *v1.SolanaAccountId
func (*NaclBoxEncryptedContent) ProtoMessage ¶
func (*NaclBoxEncryptedContent) ProtoMessage()
func (*NaclBoxEncryptedContent) ProtoReflect ¶
func (x *NaclBoxEncryptedContent) ProtoReflect() protoreflect.Message
func (*NaclBoxEncryptedContent) Reset ¶
func (x *NaclBoxEncryptedContent) Reset()
func (*NaclBoxEncryptedContent) String ¶
func (x *NaclBoxEncryptedContent) String() string
func (*NaclBoxEncryptedContent) Validate ¶
func (m *NaclBoxEncryptedContent) Validate() error
Validate checks the field values on NaclBoxEncryptedContent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NaclBoxEncryptedContentValidationError ¶
type NaclBoxEncryptedContentValidationError struct {
// contains filtered or unexported fields
}
NaclBoxEncryptedContentValidationError is the validation error returned by NaclBoxEncryptedContent.Validate if the designated constraints aren't met.
func (NaclBoxEncryptedContentValidationError) Cause ¶
func (e NaclBoxEncryptedContentValidationError) Cause() error
Cause function returns cause value.
func (NaclBoxEncryptedContentValidationError) Error ¶
func (e NaclBoxEncryptedContentValidationError) Error() string
Error satisfies the builtin error interface
func (NaclBoxEncryptedContentValidationError) ErrorName ¶
func (e NaclBoxEncryptedContentValidationError) ErrorName() string
ErrorName returns error name.
func (NaclBoxEncryptedContentValidationError) Field ¶
func (e NaclBoxEncryptedContentValidationError) Field() string
Field function returns field value.
func (NaclBoxEncryptedContentValidationError) Key ¶
func (e NaclBoxEncryptedContentValidationError) Key() bool
Key function returns key value.
func (NaclBoxEncryptedContentValidationError) Reason ¶
func (e NaclBoxEncryptedContentValidationError) Reason() string
Reason function returns reason value.
type NotifyIsTypingRequest ¶ added in v1.17.1
type NotifyIsTypingRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MemberId *ChatMemberId `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` IsTyping bool `protobuf:"varint,3,opt,name=is_typing,json=isTyping,proto3" json:"is_typing,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*NotifyIsTypingRequest) Descriptor
deprecated
added in
v1.17.1
func (*NotifyIsTypingRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotifyIsTypingRequest.ProtoReflect.Descriptor instead.
func (*NotifyIsTypingRequest) GetChatId ¶ added in v1.17.1
func (x *NotifyIsTypingRequest) GetChatId() *v1.ChatId
func (*NotifyIsTypingRequest) GetIsTyping ¶ added in v1.17.1
func (x *NotifyIsTypingRequest) GetIsTyping() bool
func (*NotifyIsTypingRequest) GetMemberId ¶ added in v1.17.1
func (x *NotifyIsTypingRequest) GetMemberId() *ChatMemberId
func (*NotifyIsTypingRequest) GetOwner ¶ added in v1.17.1
func (x *NotifyIsTypingRequest) GetOwner() *v1.SolanaAccountId
func (*NotifyIsTypingRequest) GetSignature ¶ added in v1.17.1
func (x *NotifyIsTypingRequest) GetSignature() *v1.Signature
func (*NotifyIsTypingRequest) ProtoMessage ¶ added in v1.17.1
func (*NotifyIsTypingRequest) ProtoMessage()
func (*NotifyIsTypingRequest) ProtoReflect ¶ added in v1.17.1
func (x *NotifyIsTypingRequest) ProtoReflect() protoreflect.Message
func (*NotifyIsTypingRequest) Reset ¶ added in v1.17.1
func (x *NotifyIsTypingRequest) Reset()
func (*NotifyIsTypingRequest) String ¶ added in v1.17.1
func (x *NotifyIsTypingRequest) String() string
func (*NotifyIsTypingRequest) Validate ¶ added in v1.17.1
func (m *NotifyIsTypingRequest) Validate() error
Validate checks the field values on NotifyIsTypingRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NotifyIsTypingRequestValidationError ¶ added in v1.17.1
type NotifyIsTypingRequestValidationError struct {
// contains filtered or unexported fields
}
NotifyIsTypingRequestValidationError is the validation error returned by NotifyIsTypingRequest.Validate if the designated constraints aren't met.
func (NotifyIsTypingRequestValidationError) Cause ¶ added in v1.17.1
func (e NotifyIsTypingRequestValidationError) Cause() error
Cause function returns cause value.
func (NotifyIsTypingRequestValidationError) Error ¶ added in v1.17.1
func (e NotifyIsTypingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NotifyIsTypingRequestValidationError) ErrorName ¶ added in v1.17.1
func (e NotifyIsTypingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NotifyIsTypingRequestValidationError) Field ¶ added in v1.17.1
func (e NotifyIsTypingRequestValidationError) Field() string
Field function returns field value.
func (NotifyIsTypingRequestValidationError) Key ¶ added in v1.17.1
func (e NotifyIsTypingRequestValidationError) Key() bool
Key function returns key value.
func (NotifyIsTypingRequestValidationError) Reason ¶ added in v1.17.1
func (e NotifyIsTypingRequestValidationError) Reason() string
Reason function returns reason value.
type NotifyIsTypingResponse ¶ added in v1.17.1
type NotifyIsTypingResponse struct { Result NotifyIsTypingResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v2.NotifyIsTypingResponse_Result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*NotifyIsTypingResponse) Descriptor
deprecated
added in
v1.17.1
func (*NotifyIsTypingResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotifyIsTypingResponse.ProtoReflect.Descriptor instead.
func (*NotifyIsTypingResponse) GetResult ¶ added in v1.17.1
func (x *NotifyIsTypingResponse) GetResult() NotifyIsTypingResponse_Result
func (*NotifyIsTypingResponse) ProtoMessage ¶ added in v1.17.1
func (*NotifyIsTypingResponse) ProtoMessage()
func (*NotifyIsTypingResponse) ProtoReflect ¶ added in v1.17.1
func (x *NotifyIsTypingResponse) ProtoReflect() protoreflect.Message
func (*NotifyIsTypingResponse) Reset ¶ added in v1.17.1
func (x *NotifyIsTypingResponse) Reset()
func (*NotifyIsTypingResponse) String ¶ added in v1.17.1
func (x *NotifyIsTypingResponse) String() string
func (*NotifyIsTypingResponse) Validate ¶ added in v1.17.1
func (m *NotifyIsTypingResponse) Validate() error
Validate checks the field values on NotifyIsTypingResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NotifyIsTypingResponseValidationError ¶ added in v1.17.1
type NotifyIsTypingResponseValidationError struct {
// contains filtered or unexported fields
}
NotifyIsTypingResponseValidationError is the validation error returned by NotifyIsTypingResponse.Validate if the designated constraints aren't met.
func (NotifyIsTypingResponseValidationError) Cause ¶ added in v1.17.1
func (e NotifyIsTypingResponseValidationError) Cause() error
Cause function returns cause value.
func (NotifyIsTypingResponseValidationError) Error ¶ added in v1.17.1
func (e NotifyIsTypingResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NotifyIsTypingResponseValidationError) ErrorName ¶ added in v1.17.1
func (e NotifyIsTypingResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NotifyIsTypingResponseValidationError) Field ¶ added in v1.17.1
func (e NotifyIsTypingResponseValidationError) Field() string
Field function returns field value.
func (NotifyIsTypingResponseValidationError) Key ¶ added in v1.17.1
func (e NotifyIsTypingResponseValidationError) Key() bool
Key function returns key value.
func (NotifyIsTypingResponseValidationError) Reason ¶ added in v1.17.1
func (e NotifyIsTypingResponseValidationError) Reason() string
Reason function returns reason value.
type NotifyIsTypingResponse_Result ¶ added in v1.17.1
type NotifyIsTypingResponse_Result int32
const ( NotifyIsTypingResponse_OK NotifyIsTypingResponse_Result = 0 NotifyIsTypingResponse_DENIED NotifyIsTypingResponse_Result = 1 NotifyIsTypingResponse_CHAT_NOT_FOUND NotifyIsTypingResponse_Result = 2 )
func (NotifyIsTypingResponse_Result) Descriptor ¶ added in v1.17.1
func (NotifyIsTypingResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (NotifyIsTypingResponse_Result) Enum ¶ added in v1.17.1
func (x NotifyIsTypingResponse_Result) Enum() *NotifyIsTypingResponse_Result
func (NotifyIsTypingResponse_Result) EnumDescriptor
deprecated
added in
v1.17.1
func (NotifyIsTypingResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotifyIsTypingResponse_Result.Descriptor instead.
func (NotifyIsTypingResponse_Result) Number ¶ added in v1.17.1
func (x NotifyIsTypingResponse_Result) Number() protoreflect.EnumNumber
func (NotifyIsTypingResponse_Result) String ¶ added in v1.17.1
func (x NotifyIsTypingResponse_Result) String() string
func (NotifyIsTypingResponse_Result) Type ¶ added in v1.17.1
func (NotifyIsTypingResponse_Result) Type() protoreflect.EnumType
type OpenChatEventStream ¶
type OpenChatEventStream struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MemberId *ChatMemberId `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*OpenChatEventStream) Descriptor
deprecated
func (*OpenChatEventStream) Descriptor() ([]byte, []int)
Deprecated: Use OpenChatEventStream.ProtoReflect.Descriptor instead.
func (*OpenChatEventStream) GetChatId ¶
func (x *OpenChatEventStream) GetChatId() *v1.ChatId
func (*OpenChatEventStream) GetMemberId ¶
func (x *OpenChatEventStream) GetMemberId() *ChatMemberId
func (*OpenChatEventStream) GetOwner ¶
func (x *OpenChatEventStream) GetOwner() *v1.SolanaAccountId
func (*OpenChatEventStream) GetSignature ¶
func (x *OpenChatEventStream) GetSignature() *v1.Signature
func (*OpenChatEventStream) ProtoMessage ¶
func (*OpenChatEventStream) ProtoMessage()
func (*OpenChatEventStream) ProtoReflect ¶
func (x *OpenChatEventStream) ProtoReflect() protoreflect.Message
func (*OpenChatEventStream) Reset ¶
func (x *OpenChatEventStream) Reset()
func (*OpenChatEventStream) String ¶
func (x *OpenChatEventStream) String() string
func (*OpenChatEventStream) Validate ¶
func (m *OpenChatEventStream) Validate() error
Validate checks the field values on OpenChatEventStream with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OpenChatEventStreamValidationError ¶
type OpenChatEventStreamValidationError struct {
// contains filtered or unexported fields
}
OpenChatEventStreamValidationError is the validation error returned by OpenChatEventStream.Validate if the designated constraints aren't met.
func (OpenChatEventStreamValidationError) Cause ¶
func (e OpenChatEventStreamValidationError) Cause() error
Cause function returns cause value.
func (OpenChatEventStreamValidationError) Error ¶
func (e OpenChatEventStreamValidationError) Error() string
Error satisfies the builtin error interface
func (OpenChatEventStreamValidationError) ErrorName ¶
func (e OpenChatEventStreamValidationError) ErrorName() string
ErrorName returns error name.
func (OpenChatEventStreamValidationError) Field ¶
func (e OpenChatEventStreamValidationError) Field() string
Field function returns field value.
func (OpenChatEventStreamValidationError) Key ¶
func (e OpenChatEventStreamValidationError) Key() bool
Key function returns key value.
func (OpenChatEventStreamValidationError) Reason ¶
func (e OpenChatEventStreamValidationError) Reason() string
Reason function returns reason value.
type Platform ¶
type Platform int32
func (Platform) Descriptor ¶
func (Platform) Descriptor() protoreflect.EnumDescriptor
func (Platform) EnumDescriptor
deprecated
func (Platform) Number ¶
func (x Platform) Number() protoreflect.EnumNumber
func (Platform) Type ¶
func (Platform) Type() protoreflect.EnumType
type Pointer ¶
type Pointer struct { // The type of pointer indicates which user's message history state can be // inferred from the pointer value. It is also possible to infer cross-pointer // state. For example, if a chat member has a READ pointer for a message with // ID N, then the DELIVERED pointer must be at least N. Type PointerType `protobuf:"varint,1,opt,name=type,proto3,enum=code.chat.v2.PointerType" json:"type,omitempty"` // Everything at or before this message ID is considered to have the state // inferred by the type of pointer. Value *ChatMessageId `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // The chat member associated with this pointer state MemberId *ChatMemberId `protobuf:"bytes,3,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // contains filtered or unexported fields }
Pointer in a chat indicating a user's message history state in a chat.
func (*Pointer) Descriptor
deprecated
func (*Pointer) GetMemberId ¶
func (x *Pointer) GetMemberId() *ChatMemberId
func (*Pointer) GetType ¶
func (x *Pointer) GetType() PointerType
func (*Pointer) GetValue ¶
func (x *Pointer) GetValue() *ChatMessageId
func (*Pointer) ProtoMessage ¶
func (*Pointer) ProtoMessage()
func (*Pointer) ProtoReflect ¶
func (x *Pointer) ProtoReflect() protoreflect.Message
type PointerType ¶
type PointerType int32
const ( PointerType_UNKNOWN_POINTER_TYPE PointerType = 0 PointerType_SENT PointerType = 1 // Always inferred by OK result in SendMessageResponse or message presence in a chat PointerType_DELIVERED PointerType = 2 PointerType_READ PointerType = 3 )
func (PointerType) Descriptor ¶
func (PointerType) Descriptor() protoreflect.EnumDescriptor
func (PointerType) Enum ¶
func (x PointerType) Enum() *PointerType
func (PointerType) EnumDescriptor
deprecated
func (PointerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PointerType.Descriptor instead.
func (PointerType) Number ¶
func (x PointerType) Number() protoreflect.EnumNumber
func (PointerType) String ¶
func (x PointerType) String() string
func (PointerType) Type ¶
func (PointerType) Type() protoreflect.EnumType
type PointerValidationError ¶
type PointerValidationError struct {
// contains filtered or unexported fields
}
PointerValidationError is the validation error returned by Pointer.Validate if the designated constraints aren't met.
func (PointerValidationError) Cause ¶
func (e PointerValidationError) Cause() error
Cause function returns cause value.
func (PointerValidationError) Error ¶
func (e PointerValidationError) Error() string
Error satisfies the builtin error interface
func (PointerValidationError) ErrorName ¶
func (e PointerValidationError) ErrorName() string
ErrorName returns error name.
func (PointerValidationError) Field ¶
func (e PointerValidationError) Field() string
Field function returns field value.
func (PointerValidationError) Key ¶
func (e PointerValidationError) Key() bool
Key function returns key value.
func (PointerValidationError) Reason ¶
func (e PointerValidationError) Reason() string
Reason function returns reason value.
type RevealIdentityRequest ¶
type RevealIdentityRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MemberId *ChatMemberId `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` Identity *ChatMemberIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*RevealIdentityRequest) Descriptor
deprecated
func (*RevealIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevealIdentityRequest.ProtoReflect.Descriptor instead.
func (*RevealIdentityRequest) GetChatId ¶
func (x *RevealIdentityRequest) GetChatId() *v1.ChatId
func (*RevealIdentityRequest) GetIdentity ¶
func (x *RevealIdentityRequest) GetIdentity() *ChatMemberIdentity
func (*RevealIdentityRequest) GetMemberId ¶
func (x *RevealIdentityRequest) GetMemberId() *ChatMemberId
func (*RevealIdentityRequest) GetOwner ¶
func (x *RevealIdentityRequest) GetOwner() *v1.SolanaAccountId
func (*RevealIdentityRequest) GetSignature ¶
func (x *RevealIdentityRequest) GetSignature() *v1.Signature
func (*RevealIdentityRequest) ProtoMessage ¶
func (*RevealIdentityRequest) ProtoMessage()
func (*RevealIdentityRequest) ProtoReflect ¶
func (x *RevealIdentityRequest) ProtoReflect() protoreflect.Message
func (*RevealIdentityRequest) Reset ¶
func (x *RevealIdentityRequest) Reset()
func (*RevealIdentityRequest) String ¶
func (x *RevealIdentityRequest) String() string
func (*RevealIdentityRequest) Validate ¶
func (m *RevealIdentityRequest) Validate() error
Validate checks the field values on RevealIdentityRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RevealIdentityRequestValidationError ¶
type RevealIdentityRequestValidationError struct {
// contains filtered or unexported fields
}
RevealIdentityRequestValidationError is the validation error returned by RevealIdentityRequest.Validate if the designated constraints aren't met.
func (RevealIdentityRequestValidationError) Cause ¶
func (e RevealIdentityRequestValidationError) Cause() error
Cause function returns cause value.
func (RevealIdentityRequestValidationError) Error ¶
func (e RevealIdentityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RevealIdentityRequestValidationError) ErrorName ¶
func (e RevealIdentityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RevealIdentityRequestValidationError) Field ¶
func (e RevealIdentityRequestValidationError) Field() string
Field function returns field value.
func (RevealIdentityRequestValidationError) Key ¶
func (e RevealIdentityRequestValidationError) Key() bool
Key function returns key value.
func (RevealIdentityRequestValidationError) Reason ¶
func (e RevealIdentityRequestValidationError) Reason() string
Reason function returns reason value.
type RevealIdentityResponse ¶
type RevealIdentityResponse struct { Result RevealIdentityResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v2.RevealIdentityResponse_Result" json:"result,omitempty"` // The chat message that was sent if the RPC was successful Message *ChatMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*RevealIdentityResponse) Descriptor
deprecated
func (*RevealIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevealIdentityResponse.ProtoReflect.Descriptor instead.
func (*RevealIdentityResponse) GetMessage ¶
func (x *RevealIdentityResponse) GetMessage() *ChatMessage
func (*RevealIdentityResponse) GetResult ¶
func (x *RevealIdentityResponse) GetResult() RevealIdentityResponse_Result
func (*RevealIdentityResponse) ProtoMessage ¶
func (*RevealIdentityResponse) ProtoMessage()
func (*RevealIdentityResponse) ProtoReflect ¶
func (x *RevealIdentityResponse) ProtoReflect() protoreflect.Message
func (*RevealIdentityResponse) Reset ¶
func (x *RevealIdentityResponse) Reset()
func (*RevealIdentityResponse) String ¶
func (x *RevealIdentityResponse) String() string
func (*RevealIdentityResponse) Validate ¶
func (m *RevealIdentityResponse) Validate() error
Validate checks the field values on RevealIdentityResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RevealIdentityResponseValidationError ¶
type RevealIdentityResponseValidationError struct {
// contains filtered or unexported fields
}
RevealIdentityResponseValidationError is the validation error returned by RevealIdentityResponse.Validate if the designated constraints aren't met.
func (RevealIdentityResponseValidationError) Cause ¶
func (e RevealIdentityResponseValidationError) Cause() error
Cause function returns cause value.
func (RevealIdentityResponseValidationError) Error ¶
func (e RevealIdentityResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RevealIdentityResponseValidationError) ErrorName ¶
func (e RevealIdentityResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RevealIdentityResponseValidationError) Field ¶
func (e RevealIdentityResponseValidationError) Field() string
Field function returns field value.
func (RevealIdentityResponseValidationError) Key ¶
func (e RevealIdentityResponseValidationError) Key() bool
Key function returns key value.
func (RevealIdentityResponseValidationError) Reason ¶
func (e RevealIdentityResponseValidationError) Reason() string
Reason function returns reason value.
type RevealIdentityResponse_Result ¶
type RevealIdentityResponse_Result int32
const ( RevealIdentityResponse_OK RevealIdentityResponse_Result = 0 RevealIdentityResponse_DENIED RevealIdentityResponse_Result = 1 RevealIdentityResponse_CHAT_NOT_FOUND RevealIdentityResponse_Result = 2 RevealIdentityResponse_DIFFERENT_IDENTITY_REVEALED RevealIdentityResponse_Result = 3 )
func (RevealIdentityResponse_Result) Descriptor ¶
func (RevealIdentityResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (RevealIdentityResponse_Result) Enum ¶
func (x RevealIdentityResponse_Result) Enum() *RevealIdentityResponse_Result
func (RevealIdentityResponse_Result) EnumDescriptor
deprecated
func (RevealIdentityResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use RevealIdentityResponse_Result.Descriptor instead.
func (RevealIdentityResponse_Result) Number ¶
func (x RevealIdentityResponse_Result) Number() protoreflect.EnumNumber
func (RevealIdentityResponse_Result) String ¶
func (x RevealIdentityResponse_Result) String() string
func (RevealIdentityResponse_Result) Type ¶
func (RevealIdentityResponse_Result) Type() protoreflect.EnumType
type SendMessageRequest ¶
type SendMessageRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MemberId *ChatMemberId `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // Allowed content types that can be sent by client: // - TextContent // - ThankYouContent Content []*Content `protobuf:"bytes,3,rep,name=content,proto3" json:"content,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetChatId ¶
func (x *SendMessageRequest) GetChatId() *v1.ChatId
func (*SendMessageRequest) GetContent ¶
func (x *SendMessageRequest) GetContent() []*Content
func (*SendMessageRequest) GetMemberId ¶
func (x *SendMessageRequest) GetMemberId() *ChatMemberId
func (*SendMessageRequest) GetOwner ¶
func (x *SendMessageRequest) GetOwner() *v1.SolanaAccountId
func (*SendMessageRequest) GetSignature ¶
func (x *SendMessageRequest) GetSignature() *v1.Signature
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
func (*SendMessageRequest) Validate ¶
func (m *SendMessageRequest) Validate() error
Validate checks the field values on SendMessageRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SendMessageRequestValidationError ¶
type SendMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendMessageRequestValidationError is the validation error returned by SendMessageRequest.Validate if the designated constraints aren't met.
func (SendMessageRequestValidationError) Cause ¶
func (e SendMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendMessageRequestValidationError) Error ¶
func (e SendMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageRequestValidationError) ErrorName ¶
func (e SendMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageRequestValidationError) Field ¶
func (e SendMessageRequestValidationError) Field() string
Field function returns field value.
func (SendMessageRequestValidationError) Key ¶
func (e SendMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendMessageRequestValidationError) Reason ¶
func (e SendMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendMessageResponse ¶
type SendMessageResponse struct { Result SendMessageResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v2.SendMessageResponse_Result" json:"result,omitempty"` // The chat message that was sent if the RPC was succesful, which includes // server-side metadata like the generated message ID and official timestamp Message *ChatMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*SendMessageResponse) Descriptor
deprecated
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetMessage ¶
func (x *SendMessageResponse) GetMessage() *ChatMessage
func (*SendMessageResponse) GetResult ¶
func (x *SendMessageResponse) GetResult() SendMessageResponse_Result
func (*SendMessageResponse) ProtoMessage ¶
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶
func (x *SendMessageResponse) String() string
func (*SendMessageResponse) Validate ¶
func (m *SendMessageResponse) Validate() error
Validate checks the field values on SendMessageResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SendMessageResponseValidationError ¶
type SendMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendMessageResponseValidationError is the validation error returned by SendMessageResponse.Validate if the designated constraints aren't met.
func (SendMessageResponseValidationError) Cause ¶
func (e SendMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendMessageResponseValidationError) Error ¶
func (e SendMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageResponseValidationError) ErrorName ¶
func (e SendMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageResponseValidationError) Field ¶
func (e SendMessageResponseValidationError) Field() string
Field function returns field value.
func (SendMessageResponseValidationError) Key ¶
func (e SendMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendMessageResponseValidationError) Reason ¶
func (e SendMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendMessageResponse_Result ¶
type SendMessageResponse_Result int32
const ( SendMessageResponse_OK SendMessageResponse_Result = 0 SendMessageResponse_DENIED SendMessageResponse_Result = 1 SendMessageResponse_CHAT_NOT_FOUND SendMessageResponse_Result = 2 SendMessageResponse_INVALID_CHAT_TYPE SendMessageResponse_Result = 3 SendMessageResponse_INVALID_CONTENT_TYPE SendMessageResponse_Result = 4 )
func (SendMessageResponse_Result) Descriptor ¶
func (SendMessageResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (SendMessageResponse_Result) Enum ¶
func (x SendMessageResponse_Result) Enum() *SendMessageResponse_Result
func (SendMessageResponse_Result) EnumDescriptor
deprecated
func (SendMessageResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse_Result.Descriptor instead.
func (SendMessageResponse_Result) Number ¶
func (x SendMessageResponse_Result) Number() protoreflect.EnumNumber
func (SendMessageResponse_Result) String ¶
func (x SendMessageResponse_Result) String() string
func (SendMessageResponse_Result) Type ¶
func (SendMessageResponse_Result) Type() protoreflect.EnumType
type SetMuteStateRequest ¶
type SetMuteStateRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MemberId *ChatMemberId `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` IsMuted bool `protobuf:"varint,3,opt,name=is_muted,json=isMuted,proto3" json:"is_muted,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SetMuteStateRequest) Descriptor
deprecated
func (*SetMuteStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMuteStateRequest.ProtoReflect.Descriptor instead.
func (*SetMuteStateRequest) GetChatId ¶
func (x *SetMuteStateRequest) GetChatId() *v1.ChatId
func (*SetMuteStateRequest) GetIsMuted ¶
func (x *SetMuteStateRequest) GetIsMuted() bool
func (*SetMuteStateRequest) GetMemberId ¶
func (x *SetMuteStateRequest) GetMemberId() *ChatMemberId
func (*SetMuteStateRequest) GetOwner ¶
func (x *SetMuteStateRequest) GetOwner() *v1.SolanaAccountId
func (*SetMuteStateRequest) GetSignature ¶
func (x *SetMuteStateRequest) GetSignature() *v1.Signature
func (*SetMuteStateRequest) ProtoMessage ¶
func (*SetMuteStateRequest) ProtoMessage()
func (*SetMuteStateRequest) ProtoReflect ¶
func (x *SetMuteStateRequest) ProtoReflect() protoreflect.Message
func (*SetMuteStateRequest) Reset ¶
func (x *SetMuteStateRequest) Reset()
func (*SetMuteStateRequest) String ¶
func (x *SetMuteStateRequest) String() string
func (*SetMuteStateRequest) Validate ¶
func (m *SetMuteStateRequest) Validate() error
Validate checks the field values on SetMuteStateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetMuteStateRequestValidationError ¶
type SetMuteStateRequestValidationError struct {
// contains filtered or unexported fields
}
SetMuteStateRequestValidationError is the validation error returned by SetMuteStateRequest.Validate if the designated constraints aren't met.
func (SetMuteStateRequestValidationError) Cause ¶
func (e SetMuteStateRequestValidationError) Cause() error
Cause function returns cause value.
func (SetMuteStateRequestValidationError) Error ¶
func (e SetMuteStateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetMuteStateRequestValidationError) ErrorName ¶
func (e SetMuteStateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetMuteStateRequestValidationError) Field ¶
func (e SetMuteStateRequestValidationError) Field() string
Field function returns field value.
func (SetMuteStateRequestValidationError) Key ¶
func (e SetMuteStateRequestValidationError) Key() bool
Key function returns key value.
func (SetMuteStateRequestValidationError) Reason ¶
func (e SetMuteStateRequestValidationError) Reason() string
Reason function returns reason value.
type SetMuteStateResponse ¶
type SetMuteStateResponse struct { Result SetMuteStateResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v2.SetMuteStateResponse_Result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SetMuteStateResponse) Descriptor
deprecated
func (*SetMuteStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetMuteStateResponse.ProtoReflect.Descriptor instead.
func (*SetMuteStateResponse) GetResult ¶
func (x *SetMuteStateResponse) GetResult() SetMuteStateResponse_Result
func (*SetMuteStateResponse) ProtoMessage ¶
func (*SetMuteStateResponse) ProtoMessage()
func (*SetMuteStateResponse) ProtoReflect ¶
func (x *SetMuteStateResponse) ProtoReflect() protoreflect.Message
func (*SetMuteStateResponse) Reset ¶
func (x *SetMuteStateResponse) Reset()
func (*SetMuteStateResponse) String ¶
func (x *SetMuteStateResponse) String() string
func (*SetMuteStateResponse) Validate ¶
func (m *SetMuteStateResponse) Validate() error
Validate checks the field values on SetMuteStateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetMuteStateResponseValidationError ¶
type SetMuteStateResponseValidationError struct {
// contains filtered or unexported fields
}
SetMuteStateResponseValidationError is the validation error returned by SetMuteStateResponse.Validate if the designated constraints aren't met.
func (SetMuteStateResponseValidationError) Cause ¶
func (e SetMuteStateResponseValidationError) Cause() error
Cause function returns cause value.
func (SetMuteStateResponseValidationError) Error ¶
func (e SetMuteStateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SetMuteStateResponseValidationError) ErrorName ¶
func (e SetMuteStateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SetMuteStateResponseValidationError) Field ¶
func (e SetMuteStateResponseValidationError) Field() string
Field function returns field value.
func (SetMuteStateResponseValidationError) Key ¶
func (e SetMuteStateResponseValidationError) Key() bool
Key function returns key value.
func (SetMuteStateResponseValidationError) Reason ¶
func (e SetMuteStateResponseValidationError) Reason() string
Reason function returns reason value.
type SetMuteStateResponse_Result ¶
type SetMuteStateResponse_Result int32
const ( SetMuteStateResponse_OK SetMuteStateResponse_Result = 0 SetMuteStateResponse_DENIED SetMuteStateResponse_Result = 1 SetMuteStateResponse_CHAT_NOT_FOUND SetMuteStateResponse_Result = 2 SetMuteStateResponse_CANT_MUTE SetMuteStateResponse_Result = 3 )
func (SetMuteStateResponse_Result) Descriptor ¶
func (SetMuteStateResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (SetMuteStateResponse_Result) Enum ¶
func (x SetMuteStateResponse_Result) Enum() *SetMuteStateResponse_Result
func (SetMuteStateResponse_Result) EnumDescriptor
deprecated
func (SetMuteStateResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetMuteStateResponse_Result.Descriptor instead.
func (SetMuteStateResponse_Result) Number ¶
func (x SetMuteStateResponse_Result) Number() protoreflect.EnumNumber
func (SetMuteStateResponse_Result) String ¶
func (x SetMuteStateResponse_Result) String() string
func (SetMuteStateResponse_Result) Type ¶
func (SetMuteStateResponse_Result) Type() protoreflect.EnumType
type SetSubscriptionStateRequest ¶
type SetSubscriptionStateRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MemberId *ChatMemberId `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` IsSubscribed bool `protobuf:"varint,3,opt,name=is_subscribed,json=isSubscribed,proto3" json:"is_subscribed,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SetSubscriptionStateRequest) Descriptor
deprecated
func (*SetSubscriptionStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSubscriptionStateRequest.ProtoReflect.Descriptor instead.
func (*SetSubscriptionStateRequest) GetChatId ¶
func (x *SetSubscriptionStateRequest) GetChatId() *v1.ChatId
func (*SetSubscriptionStateRequest) GetIsSubscribed ¶
func (x *SetSubscriptionStateRequest) GetIsSubscribed() bool
func (*SetSubscriptionStateRequest) GetMemberId ¶
func (x *SetSubscriptionStateRequest) GetMemberId() *ChatMemberId
func (*SetSubscriptionStateRequest) GetOwner ¶
func (x *SetSubscriptionStateRequest) GetOwner() *v1.SolanaAccountId
func (*SetSubscriptionStateRequest) GetSignature ¶
func (x *SetSubscriptionStateRequest) GetSignature() *v1.Signature
func (*SetSubscriptionStateRequest) ProtoMessage ¶
func (*SetSubscriptionStateRequest) ProtoMessage()
func (*SetSubscriptionStateRequest) ProtoReflect ¶
func (x *SetSubscriptionStateRequest) ProtoReflect() protoreflect.Message
func (*SetSubscriptionStateRequest) Reset ¶
func (x *SetSubscriptionStateRequest) Reset()
func (*SetSubscriptionStateRequest) String ¶
func (x *SetSubscriptionStateRequest) String() string
func (*SetSubscriptionStateRequest) Validate ¶
func (m *SetSubscriptionStateRequest) Validate() error
Validate checks the field values on SetSubscriptionStateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetSubscriptionStateRequestValidationError ¶
type SetSubscriptionStateRequestValidationError struct {
// contains filtered or unexported fields
}
SetSubscriptionStateRequestValidationError is the validation error returned by SetSubscriptionStateRequest.Validate if the designated constraints aren't met.
func (SetSubscriptionStateRequestValidationError) Cause ¶
func (e SetSubscriptionStateRequestValidationError) Cause() error
Cause function returns cause value.
func (SetSubscriptionStateRequestValidationError) Error ¶
func (e SetSubscriptionStateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetSubscriptionStateRequestValidationError) ErrorName ¶
func (e SetSubscriptionStateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetSubscriptionStateRequestValidationError) Field ¶
func (e SetSubscriptionStateRequestValidationError) Field() string
Field function returns field value.
func (SetSubscriptionStateRequestValidationError) Key ¶
func (e SetSubscriptionStateRequestValidationError) Key() bool
Key function returns key value.
func (SetSubscriptionStateRequestValidationError) Reason ¶
func (e SetSubscriptionStateRequestValidationError) Reason() string
Reason function returns reason value.
type SetSubscriptionStateResponse ¶
type SetSubscriptionStateResponse struct { Result SetSubscriptionStateResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v2.SetSubscriptionStateResponse_Result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SetSubscriptionStateResponse) Descriptor
deprecated
func (*SetSubscriptionStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetSubscriptionStateResponse.ProtoReflect.Descriptor instead.
func (*SetSubscriptionStateResponse) GetResult ¶
func (x *SetSubscriptionStateResponse) GetResult() SetSubscriptionStateResponse_Result
func (*SetSubscriptionStateResponse) ProtoMessage ¶
func (*SetSubscriptionStateResponse) ProtoMessage()
func (*SetSubscriptionStateResponse) ProtoReflect ¶
func (x *SetSubscriptionStateResponse) ProtoReflect() protoreflect.Message
func (*SetSubscriptionStateResponse) Reset ¶
func (x *SetSubscriptionStateResponse) Reset()
func (*SetSubscriptionStateResponse) String ¶
func (x *SetSubscriptionStateResponse) String() string
func (*SetSubscriptionStateResponse) Validate ¶
func (m *SetSubscriptionStateResponse) Validate() error
Validate checks the field values on SetSubscriptionStateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SetSubscriptionStateResponseValidationError ¶
type SetSubscriptionStateResponseValidationError struct {
// contains filtered or unexported fields
}
SetSubscriptionStateResponseValidationError is the validation error returned by SetSubscriptionStateResponse.Validate if the designated constraints aren't met.
func (SetSubscriptionStateResponseValidationError) Cause ¶
func (e SetSubscriptionStateResponseValidationError) Cause() error
Cause function returns cause value.
func (SetSubscriptionStateResponseValidationError) Error ¶
func (e SetSubscriptionStateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SetSubscriptionStateResponseValidationError) ErrorName ¶
func (e SetSubscriptionStateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SetSubscriptionStateResponseValidationError) Field ¶
func (e SetSubscriptionStateResponseValidationError) Field() string
Field function returns field value.
func (SetSubscriptionStateResponseValidationError) Key ¶
func (e SetSubscriptionStateResponseValidationError) Key() bool
Key function returns key value.
func (SetSubscriptionStateResponseValidationError) Reason ¶
func (e SetSubscriptionStateResponseValidationError) Reason() string
Reason function returns reason value.
type SetSubscriptionStateResponse_Result ¶
type SetSubscriptionStateResponse_Result int32
const ( SetSubscriptionStateResponse_OK SetSubscriptionStateResponse_Result = 0 SetSubscriptionStateResponse_DENIED SetSubscriptionStateResponse_Result = 1 SetSubscriptionStateResponse_CHAT_NOT_FOUND SetSubscriptionStateResponse_Result = 2 SetSubscriptionStateResponse_CANT_UNSUBSCRIBE SetSubscriptionStateResponse_Result = 3 )
func (SetSubscriptionStateResponse_Result) Descriptor ¶
func (SetSubscriptionStateResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (SetSubscriptionStateResponse_Result) Enum ¶
func (x SetSubscriptionStateResponse_Result) Enum() *SetSubscriptionStateResponse_Result
func (SetSubscriptionStateResponse_Result) EnumDescriptor
deprecated
func (SetSubscriptionStateResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetSubscriptionStateResponse_Result.Descriptor instead.
func (SetSubscriptionStateResponse_Result) Number ¶
func (x SetSubscriptionStateResponse_Result) Number() protoreflect.EnumNumber
func (SetSubscriptionStateResponse_Result) String ¶
func (x SetSubscriptionStateResponse_Result) String() string
func (SetSubscriptionStateResponse_Result) Type ¶
func (SetSubscriptionStateResponse_Result) Type() protoreflect.EnumType
type StartChatRequest ¶
type StartChatRequest struct { Owner *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // Types that are assignable to Parameters: // // *StartChatRequest_TipChat Parameters isStartChatRequest_Parameters `protobuf_oneof:"parameters"` // contains filtered or unexported fields }
func (*StartChatRequest) Descriptor
deprecated
func (*StartChatRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartChatRequest.ProtoReflect.Descriptor instead.
func (*StartChatRequest) GetOwner ¶
func (x *StartChatRequest) GetOwner() *v1.SolanaAccountId
func (*StartChatRequest) GetParameters ¶
func (m *StartChatRequest) GetParameters() isStartChatRequest_Parameters
func (*StartChatRequest) GetSignature ¶
func (x *StartChatRequest) GetSignature() *v1.Signature
func (*StartChatRequest) GetTipChat ¶
func (x *StartChatRequest) GetTipChat() *StartTipChatParameters
func (*StartChatRequest) ProtoMessage ¶
func (*StartChatRequest) ProtoMessage()
func (*StartChatRequest) ProtoReflect ¶
func (x *StartChatRequest) ProtoReflect() protoreflect.Message
func (*StartChatRequest) Reset ¶
func (x *StartChatRequest) Reset()
func (*StartChatRequest) String ¶
func (x *StartChatRequest) String() string
func (*StartChatRequest) Validate ¶
func (m *StartChatRequest) Validate() error
Validate checks the field values on StartChatRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StartChatRequestValidationError ¶
type StartChatRequestValidationError struct {
// contains filtered or unexported fields
}
StartChatRequestValidationError is the validation error returned by StartChatRequest.Validate if the designated constraints aren't met.
func (StartChatRequestValidationError) Cause ¶
func (e StartChatRequestValidationError) Cause() error
Cause function returns cause value.
func (StartChatRequestValidationError) Error ¶
func (e StartChatRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StartChatRequestValidationError) ErrorName ¶
func (e StartChatRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StartChatRequestValidationError) Field ¶
func (e StartChatRequestValidationError) Field() string
Field function returns field value.
func (StartChatRequestValidationError) Key ¶
func (e StartChatRequestValidationError) Key() bool
Key function returns key value.
func (StartChatRequestValidationError) Reason ¶
func (e StartChatRequestValidationError) Reason() string
Reason function returns reason value.
type StartChatRequest_TipChat ¶
type StartChatRequest_TipChat struct {
TipChat *StartTipChatParameters `protobuf:"bytes,3,opt,name=tip_chat,json=tipChat,proto3,oneof"` // GroupChatParameters group_chat = 4;
}
type StartChatResponse ¶
type StartChatResponse struct { Result StartChatResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v2.StartChatResponse_Result" json:"result,omitempty"` // The chat to use if the RPC was successful Chat *ChatMetadata `protobuf:"bytes,2,opt,name=chat,proto3" json:"chat,omitempty"` // contains filtered or unexported fields }
func (*StartChatResponse) Descriptor
deprecated
func (*StartChatResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartChatResponse.ProtoReflect.Descriptor instead.
func (*StartChatResponse) GetChat ¶
func (x *StartChatResponse) GetChat() *ChatMetadata
func (*StartChatResponse) GetResult ¶
func (x *StartChatResponse) GetResult() StartChatResponse_Result
func (*StartChatResponse) ProtoMessage ¶
func (*StartChatResponse) ProtoMessage()
func (*StartChatResponse) ProtoReflect ¶
func (x *StartChatResponse) ProtoReflect() protoreflect.Message
func (*StartChatResponse) Reset ¶
func (x *StartChatResponse) Reset()
func (*StartChatResponse) String ¶
func (x *StartChatResponse) String() string
func (*StartChatResponse) Validate ¶
func (m *StartChatResponse) Validate() error
Validate checks the field values on StartChatResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StartChatResponseValidationError ¶
type StartChatResponseValidationError struct {
// contains filtered or unexported fields
}
StartChatResponseValidationError is the validation error returned by StartChatResponse.Validate if the designated constraints aren't met.
func (StartChatResponseValidationError) Cause ¶
func (e StartChatResponseValidationError) Cause() error
Cause function returns cause value.
func (StartChatResponseValidationError) Error ¶
func (e StartChatResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StartChatResponseValidationError) ErrorName ¶
func (e StartChatResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StartChatResponseValidationError) Field ¶
func (e StartChatResponseValidationError) Field() string
Field function returns field value.
func (StartChatResponseValidationError) Key ¶
func (e StartChatResponseValidationError) Key() bool
Key function returns key value.
func (StartChatResponseValidationError) Reason ¶
func (e StartChatResponseValidationError) Reason() string
Reason function returns reason value.
type StartChatResponse_Result ¶
type StartChatResponse_Result int32
const ( StartChatResponse_OK StartChatResponse_Result = 0 StartChatResponse_DENIED StartChatResponse_Result = 1 StartChatResponse_INVALID_PARAMETER StartChatResponse_Result = 2 )
func (StartChatResponse_Result) Descriptor ¶
func (StartChatResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (StartChatResponse_Result) Enum ¶
func (x StartChatResponse_Result) Enum() *StartChatResponse_Result
func (StartChatResponse_Result) EnumDescriptor
deprecated
func (StartChatResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use StartChatResponse_Result.Descriptor instead.
func (StartChatResponse_Result) Number ¶
func (x StartChatResponse_Result) Number() protoreflect.EnumNumber
func (StartChatResponse_Result) String ¶
func (x StartChatResponse_Result) String() string
func (StartChatResponse_Result) Type ¶
func (StartChatResponse_Result) Type() protoreflect.EnumType
type StartTipChatParameters ¶
type StartTipChatParameters struct { // The tip's intent ID, which can be extracted from the reference in // an ExchangeDataContent message content where the verb is RECEIVED_TIP. IntentId *v1.IntentId `protobuf:"bytes,1,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"` // contains filtered or unexported fields }
Starts a two-way chat between a tipper and tippee. Chat members are inferred from the 12 word public keys involved in the intent. Only the tippee can start the chat, and the tipper is anonymous if this is the first between the involved Code users.
func (*StartTipChatParameters) Descriptor
deprecated
func (*StartTipChatParameters) Descriptor() ([]byte, []int)
Deprecated: Use StartTipChatParameters.ProtoReflect.Descriptor instead.
func (*StartTipChatParameters) GetIntentId ¶
func (x *StartTipChatParameters) GetIntentId() *v1.IntentId
func (*StartTipChatParameters) ProtoMessage ¶
func (*StartTipChatParameters) ProtoMessage()
func (*StartTipChatParameters) ProtoReflect ¶
func (x *StartTipChatParameters) ProtoReflect() protoreflect.Message
func (*StartTipChatParameters) Reset ¶
func (x *StartTipChatParameters) Reset()
func (*StartTipChatParameters) String ¶
func (x *StartTipChatParameters) String() string
func (*StartTipChatParameters) Validate ¶
func (m *StartTipChatParameters) Validate() error
Validate checks the field values on StartTipChatParameters with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StartTipChatParametersValidationError ¶
type StartTipChatParametersValidationError struct {
// contains filtered or unexported fields
}
StartTipChatParametersValidationError is the validation error returned by StartTipChatParameters.Validate if the designated constraints aren't met.
func (StartTipChatParametersValidationError) Cause ¶
func (e StartTipChatParametersValidationError) Cause() error
Cause function returns cause value.
func (StartTipChatParametersValidationError) Error ¶
func (e StartTipChatParametersValidationError) Error() string
Error satisfies the builtin error interface
func (StartTipChatParametersValidationError) ErrorName ¶
func (e StartTipChatParametersValidationError) ErrorName() string
ErrorName returns error name.
func (StartTipChatParametersValidationError) Field ¶
func (e StartTipChatParametersValidationError) Field() string
Field function returns field value.
func (StartTipChatParametersValidationError) Key ¶
func (e StartTipChatParametersValidationError) Key() bool
Key function returns key value.
func (StartTipChatParametersValidationError) Reason ¶
func (e StartTipChatParametersValidationError) Reason() string
Reason function returns reason value.
type StreamChatEventsRequest ¶
type StreamChatEventsRequest struct { // Types that are assignable to Type: // // *StreamChatEventsRequest_OpenStream // *StreamChatEventsRequest_Pong Type isStreamChatEventsRequest_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*StreamChatEventsRequest) Descriptor
deprecated
func (*StreamChatEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamChatEventsRequest.ProtoReflect.Descriptor instead.
func (*StreamChatEventsRequest) GetOpenStream ¶
func (x *StreamChatEventsRequest) GetOpenStream() *OpenChatEventStream
func (*StreamChatEventsRequest) GetPong ¶
func (x *StreamChatEventsRequest) GetPong() *v1.ClientPong
func (*StreamChatEventsRequest) GetType ¶
func (m *StreamChatEventsRequest) GetType() isStreamChatEventsRequest_Type
func (*StreamChatEventsRequest) ProtoMessage ¶
func (*StreamChatEventsRequest) ProtoMessage()
func (*StreamChatEventsRequest) ProtoReflect ¶
func (x *StreamChatEventsRequest) ProtoReflect() protoreflect.Message
func (*StreamChatEventsRequest) Reset ¶
func (x *StreamChatEventsRequest) Reset()
func (*StreamChatEventsRequest) String ¶
func (x *StreamChatEventsRequest) String() string
func (*StreamChatEventsRequest) Validate ¶
func (m *StreamChatEventsRequest) Validate() error
Validate checks the field values on StreamChatEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamChatEventsRequestValidationError ¶
type StreamChatEventsRequestValidationError struct {
// contains filtered or unexported fields
}
StreamChatEventsRequestValidationError is the validation error returned by StreamChatEventsRequest.Validate if the designated constraints aren't met.
func (StreamChatEventsRequestValidationError) Cause ¶
func (e StreamChatEventsRequestValidationError) Cause() error
Cause function returns cause value.
func (StreamChatEventsRequestValidationError) Error ¶
func (e StreamChatEventsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamChatEventsRequestValidationError) ErrorName ¶
func (e StreamChatEventsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamChatEventsRequestValidationError) Field ¶
func (e StreamChatEventsRequestValidationError) Field() string
Field function returns field value.
func (StreamChatEventsRequestValidationError) Key ¶
func (e StreamChatEventsRequestValidationError) Key() bool
Key function returns key value.
func (StreamChatEventsRequestValidationError) Reason ¶
func (e StreamChatEventsRequestValidationError) Reason() string
Reason function returns reason value.
type StreamChatEventsRequest_OpenStream ¶
type StreamChatEventsRequest_OpenStream struct {
OpenStream *OpenChatEventStream `protobuf:"bytes,1,opt,name=open_stream,json=openStream,proto3,oneof"`
}
type StreamChatEventsRequest_Pong ¶
type StreamChatEventsRequest_Pong struct {
Pong *v1.ClientPong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}
type StreamChatEventsResponse ¶
type StreamChatEventsResponse struct { // Types that are assignable to Type: // // *StreamChatEventsResponse_Events // *StreamChatEventsResponse_Ping // *StreamChatEventsResponse_Error Type isStreamChatEventsResponse_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*StreamChatEventsResponse) Descriptor
deprecated
func (*StreamChatEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamChatEventsResponse.ProtoReflect.Descriptor instead.
func (*StreamChatEventsResponse) GetError ¶
func (x *StreamChatEventsResponse) GetError() *ChatStreamEventError
func (*StreamChatEventsResponse) GetEvents ¶
func (x *StreamChatEventsResponse) GetEvents() *ChatStreamEventBatch
func (*StreamChatEventsResponse) GetPing ¶
func (x *StreamChatEventsResponse) GetPing() *v1.ServerPing
func (*StreamChatEventsResponse) GetType ¶
func (m *StreamChatEventsResponse) GetType() isStreamChatEventsResponse_Type
func (*StreamChatEventsResponse) ProtoMessage ¶
func (*StreamChatEventsResponse) ProtoMessage()
func (*StreamChatEventsResponse) ProtoReflect ¶
func (x *StreamChatEventsResponse) ProtoReflect() protoreflect.Message
func (*StreamChatEventsResponse) Reset ¶
func (x *StreamChatEventsResponse) Reset()
func (*StreamChatEventsResponse) String ¶
func (x *StreamChatEventsResponse) String() string
func (*StreamChatEventsResponse) Validate ¶
func (m *StreamChatEventsResponse) Validate() error
Validate checks the field values on StreamChatEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamChatEventsResponseValidationError ¶
type StreamChatEventsResponseValidationError struct {
// contains filtered or unexported fields
}
StreamChatEventsResponseValidationError is the validation error returned by StreamChatEventsResponse.Validate if the designated constraints aren't met.
func (StreamChatEventsResponseValidationError) Cause ¶
func (e StreamChatEventsResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamChatEventsResponseValidationError) Error ¶
func (e StreamChatEventsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamChatEventsResponseValidationError) ErrorName ¶
func (e StreamChatEventsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamChatEventsResponseValidationError) Field ¶
func (e StreamChatEventsResponseValidationError) Field() string
Field function returns field value.
func (StreamChatEventsResponseValidationError) Key ¶
func (e StreamChatEventsResponseValidationError) Key() bool
Key function returns key value.
func (StreamChatEventsResponseValidationError) Reason ¶
func (e StreamChatEventsResponseValidationError) Reason() string
Reason function returns reason value.
type StreamChatEventsResponse_Error ¶
type StreamChatEventsResponse_Error struct {
Error *ChatStreamEventError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type StreamChatEventsResponse_Events ¶
type StreamChatEventsResponse_Events struct {
Events *ChatStreamEventBatch `protobuf:"bytes,1,opt,name=events,proto3,oneof"`
}
type StreamChatEventsResponse_Ping ¶
type StreamChatEventsResponse_Ping struct {
Ping *v1.ServerPing `protobuf:"bytes,2,opt,name=ping,proto3,oneof"`
}
type TextContent ¶
type TextContent struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
Raw text content
func (*TextContent) Descriptor
deprecated
func (*TextContent) Descriptor() ([]byte, []int)
Deprecated: Use TextContent.ProtoReflect.Descriptor instead.
func (*TextContent) GetText ¶
func (x *TextContent) GetText() string
func (*TextContent) ProtoMessage ¶
func (*TextContent) ProtoMessage()
func (*TextContent) ProtoReflect ¶
func (x *TextContent) ProtoReflect() protoreflect.Message
func (*TextContent) Reset ¶
func (x *TextContent) Reset()
func (*TextContent) String ¶
func (x *TextContent) String() string
func (*TextContent) Validate ¶
func (m *TextContent) Validate() error
Validate checks the field values on TextContent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TextContentValidationError ¶
type TextContentValidationError struct {
// contains filtered or unexported fields
}
TextContentValidationError is the validation error returned by TextContent.Validate if the designated constraints aren't met.
func (TextContentValidationError) Cause ¶
func (e TextContentValidationError) Cause() error
Cause function returns cause value.
func (TextContentValidationError) Error ¶
func (e TextContentValidationError) Error() string
Error satisfies the builtin error interface
func (TextContentValidationError) ErrorName ¶
func (e TextContentValidationError) ErrorName() string
ErrorName returns error name.
func (TextContentValidationError) Field ¶
func (e TextContentValidationError) Field() string
Field function returns field value.
func (TextContentValidationError) Key ¶
func (e TextContentValidationError) Key() bool
Key function returns key value.
func (TextContentValidationError) Reason ¶
func (e TextContentValidationError) Reason() string
Reason function returns reason value.
type ThankYouContent ¶
type ThankYouContent struct { // The tip intent that is being thanked. TipIntent *v1.IntentId `protobuf:"bytes,1,opt,name=tip_intent,json=tipIntent,proto3" json:"tip_intent,omitempty"` // contains filtered or unexported fields }
Thank you content that is used to thank Code users for tips
func (*ThankYouContent) Descriptor
deprecated
func (*ThankYouContent) Descriptor() ([]byte, []int)
Deprecated: Use ThankYouContent.ProtoReflect.Descriptor instead.
func (*ThankYouContent) GetTipIntent ¶
func (x *ThankYouContent) GetTipIntent() *v1.IntentId
func (*ThankYouContent) ProtoMessage ¶
func (*ThankYouContent) ProtoMessage()
func (*ThankYouContent) ProtoReflect ¶
func (x *ThankYouContent) ProtoReflect() protoreflect.Message
func (*ThankYouContent) Reset ¶
func (x *ThankYouContent) Reset()
func (*ThankYouContent) String ¶
func (x *ThankYouContent) String() string
func (*ThankYouContent) Validate ¶
func (m *ThankYouContent) Validate() error
Validate checks the field values on ThankYouContent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ThankYouContentValidationError ¶
type ThankYouContentValidationError struct {
// contains filtered or unexported fields
}
ThankYouContentValidationError is the validation error returned by ThankYouContent.Validate if the designated constraints aren't met.
func (ThankYouContentValidationError) Cause ¶
func (e ThankYouContentValidationError) Cause() error
Cause function returns cause value.
func (ThankYouContentValidationError) Error ¶
func (e ThankYouContentValidationError) Error() string
Error satisfies the builtin error interface
func (ThankYouContentValidationError) ErrorName ¶
func (e ThankYouContentValidationError) ErrorName() string
ErrorName returns error name.
func (ThankYouContentValidationError) Field ¶
func (e ThankYouContentValidationError) Field() string
Field function returns field value.
func (ThankYouContentValidationError) Key ¶
func (e ThankYouContentValidationError) Key() bool
Key function returns key value.
func (ThankYouContentValidationError) Reason ¶
func (e ThankYouContentValidationError) Reason() string
Reason function returns reason value.
type UnimplementedChatServer ¶
type UnimplementedChatServer struct { }
UnimplementedChatServer must be embedded to have forward compatible implementations.
func (UnimplementedChatServer) AdvancePointer ¶
func (UnimplementedChatServer) AdvancePointer(context.Context, *AdvancePointerRequest) (*AdvancePointerResponse, error)
func (UnimplementedChatServer) GetChats ¶
func (UnimplementedChatServer) GetChats(context.Context, *GetChatsRequest) (*GetChatsResponse, error)
func (UnimplementedChatServer) GetMessages ¶
func (UnimplementedChatServer) GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
func (UnimplementedChatServer) NotifyIsTyping ¶ added in v1.17.1
func (UnimplementedChatServer) NotifyIsTyping(context.Context, *NotifyIsTypingRequest) (*NotifyIsTypingResponse, error)
func (UnimplementedChatServer) RevealIdentity ¶
func (UnimplementedChatServer) RevealIdentity(context.Context, *RevealIdentityRequest) (*RevealIdentityResponse, error)
func (UnimplementedChatServer) SendMessage ¶
func (UnimplementedChatServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
func (UnimplementedChatServer) SetMuteState ¶
func (UnimplementedChatServer) SetMuteState(context.Context, *SetMuteStateRequest) (*SetMuteStateResponse, error)
func (UnimplementedChatServer) SetSubscriptionState ¶
func (UnimplementedChatServer) SetSubscriptionState(context.Context, *SetSubscriptionStateRequest) (*SetSubscriptionStateResponse, error)
func (UnimplementedChatServer) StartChat ¶
func (UnimplementedChatServer) StartChat(context.Context, *StartChatRequest) (*StartChatResponse, error)
func (UnimplementedChatServer) StreamChatEvents ¶
func (UnimplementedChatServer) StreamChatEvents(Chat_StreamChatEventsServer) error
type UnsafeChatServer ¶
type UnsafeChatServer interface {
// contains filtered or unexported methods
}
UnsafeChatServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChatServer will result in compilation errors.