Documentation ¶
Index ¶
- Variables
- func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer)
- type AdvancePointerRequest
- func (*AdvancePointerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancePointerRequest) GetChatId() *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 ChatId
- type ChatIdValidationError
- 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 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) GetSender() *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() *ChatId
- func (x *ChatMetadata) GetCursor() *Cursor
- func (x *ChatMetadata) GetDomain() *v1.Domain
- func (x *ChatMetadata) GetIsMuted() bool
- func (x *ChatMetadata) GetIsSubscribed() bool
- func (x *ChatMetadata) GetIsVerified() bool
- func (x *ChatMetadata) GetLocalized() *ServerLocalizedContent
- func (x *ChatMetadata) GetNumUnread() uint32
- func (x *ChatMetadata) GetReadPointer() *Pointer
- func (m *ChatMetadata) GetTitle() isChatMetadata_Title
- 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 ChatMetadata_Domain
- type ChatMetadata_Localized
- type ChatServer
- type ChatStreamEvent
- func (*ChatStreamEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ChatStreamEvent) GetMessages() []*ChatMessage
- func (x *ChatStreamEvent) GetPointers() []*Pointer
- 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 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 Chat_StreamChatEventsClient
- type Chat_StreamChatEventsServer
- type Content
- func (*Content) Descriptor() ([]byte, []int)deprecated
- func (x *Content) GetExchangeData() *ExchangeDataContent
- func (x *Content) GetNaclBox() *NaclBoxEncryptedContent
- func (x *Content) GetServerLocalized() *ServerLocalizedContent
- 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_NaclBox
- type Content_ServerLocalized
- 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) GetPartial() *v2.ExchangeDataWithoutRate
- 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_Partial
- 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() *ChatId
- func (x *GetMessagesRequest) GetCursor() *Cursor
- func (x *GetMessagesRequest) GetDirection() GetMessagesRequest_Direction
- 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 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 OpenChatEventStream
- func (*OpenChatEventStream) Descriptor() ([]byte, []int)deprecated
- func (x *OpenChatEventStream) GetChatId() *ChatId
- 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 Pointer
- func (*Pointer) Descriptor() ([]byte, []int)deprecated
- func (x *Pointer) GetKind() Pointer_Kind
- func (x *Pointer) GetUser() *ChatMemberId
- 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 PointerValidationError
- type Pointer_Kind
- func (Pointer_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Pointer_Kind) Enum() *Pointer_Kind
- func (Pointer_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Pointer_Kind) Number() protoreflect.EnumNumber
- func (x Pointer_Kind) String() string
- func (Pointer_Kind) Type() protoreflect.EnumType
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetChatId() *ChatId
- func (x *SendMessageRequest) GetContent() []*Content
- 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 ServerLocalizedContent
- func (*ServerLocalizedContent) Descriptor() ([]byte, []int)deprecated
- func (x *ServerLocalizedContent) GetKeyOrText() string
- func (*ServerLocalizedContent) ProtoMessage()
- func (x *ServerLocalizedContent) ProtoReflect() protoreflect.Message
- func (x *ServerLocalizedContent) Reset()
- func (x *ServerLocalizedContent) String() string
- func (m *ServerLocalizedContent) Validate() error
- type ServerLocalizedContentValidationError
- func (e ServerLocalizedContentValidationError) Cause() error
- func (e ServerLocalizedContentValidationError) Error() string
- func (e ServerLocalizedContentValidationError) ErrorName() string
- func (e ServerLocalizedContentValidationError) Field() string
- func (e ServerLocalizedContentValidationError) Key() bool
- func (e ServerLocalizedContentValidationError) Reason() string
- type SetMuteStateRequest
- func (*SetMuteStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMuteStateRequest) GetChatId() *ChatId
- func (x *SetMuteStateRequest) GetIsMuted() bool
- 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() *ChatId
- func (x *SetSubscriptionStateRequest) GetIsSubscribed() bool
- 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 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) 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_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
- 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) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
- func (UnimplementedChatServer) SetMuteState(context.Context, *SetMuteStateRequest) (*SetMuteStateResponse, error)
- func (UnimplementedChatServer) SetSubscriptionState(context.Context, *SetSubscriptionStateRequest) (*SetSubscriptionStateResponse, error)
- func (UnimplementedChatServer) StreamChatEvents(Chat_StreamChatEventsServer) error
- type UnsafeChatServer
Constants ¶
This section is empty.
Variables ¶
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: "NOT_FOUND", } GetMessagesResponse_Result_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, } )
Enum value maps for GetMessagesResponse_Result.
var ( AdvancePointerResponse_Result_name = map[int32]string{ 0: "OK", 1: "CHAT_NOT_FOUND", 2: "MESSAGE_NOT_FOUND", } AdvancePointerResponse_Result_value = map[string]int32{ "OK": 0, "CHAT_NOT_FOUND": 1, "MESSAGE_NOT_FOUND": 2, } )
Enum value maps for AdvancePointerResponse_Result.
var ( SetMuteStateResponse_Result_name = map[int32]string{ 0: "OK", 1: "CHAT_NOT_FOUND", 2: "CANT_MUTE", } SetMuteStateResponse_Result_value = map[string]int32{ "OK": 0, "CHAT_NOT_FOUND": 1, "CANT_MUTE": 2, } )
Enum value maps for SetMuteStateResponse_Result.
var ( SetSubscriptionStateResponse_Result_name = map[int32]string{ 0: "OK", 1: "CHAT_NOT_FOUND", 2: "CANT_UNSUBSCRIBE", } SetSubscriptionStateResponse_Result_value = map[string]int32{ "OK": 0, "CHAT_NOT_FOUND": 1, "CANT_UNSUBSCRIBE": 2, } )
Enum value maps for SetSubscriptionStateResponse_Result.
var ( SendMessageResponse_Result_name = map[int32]string{ 0: "OK", } SendMessageResponse_Result_value = map[string]int32{ "OK": 0, } )
Enum value maps for SendMessageResponse_Result.
var ( Pointer_Kind_name = map[int32]string{ 0: "UNKNOWN", 1: "READ", 2: "DELIVERED", 3: "SENT", } Pointer_Kind_value = map[string]int32{ "UNKNOWN": 0, "READ": 1, "DELIVERED": 2, "SENT": 3, } )
Enum value maps for Pointer_Kind.
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.v1.Chat", HandlerType: (*ChatServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetChats", Handler: _Chat_GetChats_Handler, }, { MethodName: "GetMessages", Handler: _Chat_GetMessages_Handler, }, { MethodName: "AdvancePointer", Handler: _Chat_AdvancePointer_Handler, }, { MethodName: "SetMuteState", Handler: _Chat_SetMuteState_Handler, }, { MethodName: "SetSubscriptionState", Handler: _Chat_SetSubscriptionState_Handler, }, { MethodName: "SendMessage", Handler: _Chat_SendMessage_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamChatEvents", Handler: _Chat_StreamChatEvents_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "chat/v1/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_v1_chat_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChatServer ¶
func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer)
Types ¶
type AdvancePointerRequest ¶
type AdvancePointerRequest struct { ChatId *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() *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.v1.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_CHAT_NOT_FOUND AdvancePointerResponse_Result = 1 AdvancePointerResponse_MESSAGE_NOT_FOUND AdvancePointerResponse_Result = 2 )
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 GetChats(ctx context.Context, in *GetChatsRequest, opts ...grpc.CallOption) (*GetChatsResponse, error) // GetMessages gets the set of messages for a chat GetMessages(ctx context.Context, in *GetMessagesRequest, opts ...grpc.CallOption) (*GetMessagesResponse, error) // AdvancePointer advances a pointer in chat history AdvancePointer(ctx context.Context, in *AdvancePointerRequest, opts ...grpc.CallOption) (*AdvancePointerResponse, error) // SetMuteState configures the mute state of a chat SetMuteState(ctx context.Context, in *SetMuteStateRequest, opts ...grpc.CallOption) (*SetMuteStateResponse, error) // SetSubscriptionState configures the susbscription state of a chat SetSubscriptionState(ctx context.Context, in *SetSubscriptionStateRequest, opts ...grpc.CallOption) (*SetSubscriptionStateResponse, error) StreamChatEvents(ctx context.Context, opts ...grpc.CallOption) (Chat_StreamChatEventsClient, error) SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, 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 ChatId ¶
type ChatId struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ChatId) Descriptor
deprecated
func (*ChatId) ProtoMessage ¶
func (*ChatId) ProtoMessage()
func (*ChatId) ProtoReflect ¶
func (x *ChatId) ProtoReflect() protoreflect.Message
type ChatIdValidationError ¶
type ChatIdValidationError struct {
// contains filtered or unexported fields
}
ChatIdValidationError is the validation error returned by ChatId.Validate if the designated constraints aren't met.
func (ChatIdValidationError) Cause ¶
func (e ChatIdValidationError) Cause() error
Cause function returns cause value.
func (ChatIdValidationError) Error ¶
func (e ChatIdValidationError) Error() string
Error satisfies the builtin error interface
func (ChatIdValidationError) ErrorName ¶
func (e ChatIdValidationError) ErrorName() string
ErrorName returns error name.
func (ChatIdValidationError) Field ¶
func (e ChatIdValidationError) Field() string
Field function returns field value.
func (ChatIdValidationError) Key ¶
func (e ChatIdValidationError) Key() bool
Key function returns key value.
func (ChatIdValidationError) Reason ¶
func (e ChatIdValidationError) Reason() string
Reason function returns reason value.
type ChatMemberId ¶ added in v1.17.0
type ChatMemberId struct { // todo: Public key for now Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ChatMemberId) Descriptor
deprecated
added in
v1.17.0
func (*ChatMemberId) Descriptor() ([]byte, []int)
Deprecated: Use ChatMemberId.ProtoReflect.Descriptor instead.
func (*ChatMemberId) GetValue ¶ added in v1.17.0
func (x *ChatMemberId) GetValue() []byte
func (*ChatMemberId) ProtoMessage ¶ added in v1.17.0
func (*ChatMemberId) ProtoMessage()
func (*ChatMemberId) ProtoReflect ¶ added in v1.17.0
func (x *ChatMemberId) ProtoReflect() protoreflect.Message
func (*ChatMemberId) Reset ¶ added in v1.17.0
func (x *ChatMemberId) Reset()
func (*ChatMemberId) String ¶ added in v1.17.0
func (x *ChatMemberId) String() string
func (*ChatMemberId) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e ChatMemberIdValidationError) Cause() error
Cause function returns cause value.
func (ChatMemberIdValidationError) Error ¶ added in v1.17.0
func (e ChatMemberIdValidationError) Error() string
Error satisfies the builtin error interface
func (ChatMemberIdValidationError) ErrorName ¶ added in v1.17.0
func (e ChatMemberIdValidationError) ErrorName() string
ErrorName returns error name.
func (ChatMemberIdValidationError) Field ¶ added in v1.17.0
func (e ChatMemberIdValidationError) Field() string
Field function returns field value.
func (ChatMemberIdValidationError) Key ¶ added in v1.17.0
func (e ChatMemberIdValidationError) Key() bool
Key function returns key value.
func (ChatMemberIdValidationError) Reason ¶ added in v1.17.0
func (e ChatMemberIdValidationError) Reason() string
Reason function returns reason value.
type ChatMessage ¶
type ChatMessage struct { // Unique ID for this message MessageId *ChatMessageId `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // Timestamp this message was generated at Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,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"` // Cursor value for this message for reference in subsequent GetMessagesRequest Cursor *Cursor `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` Sender *ChatMemberId `protobuf:"bytes,5,opt,name=sender,proto3" json:"sender,omitempty"` // contains filtered or unexported fields }
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) GetSender ¶ added in v1.17.0
func (x *ChatMessage) GetSender() *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 { 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 { ChatId *ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // Recommended chat title inferred by the type of chat // // Types that are assignable to Title: // // *ChatMetadata_Localized // *ChatMetadata_Domain Title isChatMetadata_Title `protobuf_oneof:"title"` // Pointer in the chat indicating the most recently read message by the user ReadPointer *Pointer `protobuf:"bytes,4,opt,name=read_pointer,json=readPointer,proto3" json:"read_pointer,omitempty"` // Estimated number of unread messages in this chat NumUnread uint32 `protobuf:"varint,5,opt,name=num_unread,json=numUnread,proto3" json:"num_unread,omitempty"` // Has the user muted this chat? IsMuted bool `protobuf:"varint,6,opt,name=is_muted,json=isMuted,proto3" json:"is_muted,omitempty"` // Is the user subscribed to this chat? IsSubscribed bool `protobuf:"varint,7,opt,name=is_subscribed,json=isSubscribed,proto3" json:"is_subscribed,omitempty"` // Can the user mute this chat? CanMute bool `protobuf:"varint,8,opt,name=can_mute,json=canMute,proto3" json:"can_mute,omitempty"` // Can the user unsubscribe from this chat? CanUnsubscribe bool `protobuf:"varint,9,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,10,opt,name=cursor,proto3" json:"cursor,omitempty"` // Is this a verified chat? // // Note: It's possible to have two chats with the same title, but with // different verification statuses. They should be treated separately. IsVerified bool `protobuf:"varint,11,opt,name=is_verified,json=isVerified,proto3" json:"is_verified,omitempty"` // contains filtered or unexported fields }
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() *ChatId
func (*ChatMetadata) GetCursor ¶
func (x *ChatMetadata) GetCursor() *Cursor
func (*ChatMetadata) GetDomain ¶
func (x *ChatMetadata) GetDomain() *v1.Domain
func (*ChatMetadata) GetIsMuted ¶
func (x *ChatMetadata) GetIsMuted() bool
func (*ChatMetadata) GetIsSubscribed ¶
func (x *ChatMetadata) GetIsSubscribed() bool
func (*ChatMetadata) GetIsVerified ¶
func (x *ChatMetadata) GetIsVerified() bool
func (*ChatMetadata) GetLocalized ¶
func (x *ChatMetadata) GetLocalized() *ServerLocalizedContent
func (*ChatMetadata) GetNumUnread ¶
func (x *ChatMetadata) GetNumUnread() uint32
func (*ChatMetadata) GetReadPointer ¶
func (x *ChatMetadata) GetReadPointer() *Pointer
func (*ChatMetadata) GetTitle ¶
func (m *ChatMetadata) GetTitle() isChatMetadata_Title
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 ChatMetadata_Domain ¶
type ChatMetadata_Localized ¶
type ChatMetadata_Localized struct {
Localized *ServerLocalizedContent `protobuf:"bytes,2,opt,name=localized,proto3,oneof"`
}
type ChatServer ¶
type ChatServer interface { // GetChats gets the set of chats for an owner account GetChats(context.Context, *GetChatsRequest) (*GetChatsResponse, error) // GetMessages gets the set of messages for a chat GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error) // AdvancePointer advances a pointer in chat history AdvancePointer(context.Context, *AdvancePointerRequest) (*AdvancePointerResponse, error) // SetMuteState configures the mute state of a chat SetMuteState(context.Context, *SetMuteStateRequest) (*SetMuteStateResponse, error) // SetSubscriptionState configures the susbscription state of a chat SetSubscriptionState(context.Context, *SetSubscriptionStateRequest) (*SetSubscriptionStateResponse, error) StreamChatEvents(Chat_StreamChatEventsServer) error SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error) // contains filtered or unexported methods }
ChatServer is the server API for Chat service. All implementations must embed UnimplementedChatServer for forward compatibility
type ChatStreamEvent ¶ added in v1.17.0
type ChatStreamEvent struct { Messages []*ChatMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` Pointers []*Pointer `protobuf:"bytes,2,rep,name=pointers,proto3" json:"pointers,omitempty"` // contains filtered or unexported fields }
func (*ChatStreamEvent) Descriptor
deprecated
added in
v1.17.0
func (*ChatStreamEvent) Descriptor() ([]byte, []int)
Deprecated: Use ChatStreamEvent.ProtoReflect.Descriptor instead.
func (*ChatStreamEvent) GetMessages ¶ added in v1.17.0
func (x *ChatStreamEvent) GetMessages() []*ChatMessage
func (*ChatStreamEvent) GetPointers ¶ added in v1.17.0
func (x *ChatStreamEvent) GetPointers() []*Pointer
func (*ChatStreamEvent) ProtoMessage ¶ added in v1.17.0
func (*ChatStreamEvent) ProtoMessage()
func (*ChatStreamEvent) ProtoReflect ¶ added in v1.17.0
func (x *ChatStreamEvent) ProtoReflect() protoreflect.Message
func (*ChatStreamEvent) Reset ¶ added in v1.17.0
func (x *ChatStreamEvent) Reset()
func (*ChatStreamEvent) String ¶ added in v1.17.0
func (x *ChatStreamEvent) String() string
func (*ChatStreamEvent) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
type ChatStreamEventBatch struct { Events []*ChatStreamEvent `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*ChatStreamEventBatch) Descriptor
deprecated
added in
v1.17.0
func (*ChatStreamEventBatch) Descriptor() ([]byte, []int)
Deprecated: Use ChatStreamEventBatch.ProtoReflect.Descriptor instead.
func (*ChatStreamEventBatch) GetEvents ¶ added in v1.17.0
func (x *ChatStreamEventBatch) GetEvents() []*ChatStreamEvent
func (*ChatStreamEventBatch) ProtoMessage ¶ added in v1.17.0
func (*ChatStreamEventBatch) ProtoMessage()
func (*ChatStreamEventBatch) ProtoReflect ¶ added in v1.17.0
func (x *ChatStreamEventBatch) ProtoReflect() protoreflect.Message
func (*ChatStreamEventBatch) Reset ¶ added in v1.17.0
func (x *ChatStreamEventBatch) Reset()
func (*ChatStreamEventBatch) String ¶ added in v1.17.0
func (x *ChatStreamEventBatch) String() string
func (*ChatStreamEventBatch) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e ChatStreamEventBatchValidationError) Cause() error
Cause function returns cause value.
func (ChatStreamEventBatchValidationError) Error ¶ added in v1.17.0
func (e ChatStreamEventBatchValidationError) Error() string
Error satisfies the builtin error interface
func (ChatStreamEventBatchValidationError) ErrorName ¶ added in v1.17.0
func (e ChatStreamEventBatchValidationError) ErrorName() string
ErrorName returns error name.
func (ChatStreamEventBatchValidationError) Field ¶ added in v1.17.0
func (e ChatStreamEventBatchValidationError) Field() string
Field function returns field value.
func (ChatStreamEventBatchValidationError) Key ¶ added in v1.17.0
func (e ChatStreamEventBatchValidationError) Key() bool
Key function returns key value.
func (ChatStreamEventBatchValidationError) Reason ¶ added in v1.17.0
func (e ChatStreamEventBatchValidationError) Reason() string
Reason function returns reason value.
type ChatStreamEventValidationError ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e ChatStreamEventValidationError) Cause() error
Cause function returns cause value.
func (ChatStreamEventValidationError) Error ¶ added in v1.17.0
func (e ChatStreamEventValidationError) Error() string
Error satisfies the builtin error interface
func (ChatStreamEventValidationError) ErrorName ¶ added in v1.17.0
func (e ChatStreamEventValidationError) ErrorName() string
ErrorName returns error name.
func (ChatStreamEventValidationError) Field ¶ added in v1.17.0
func (e ChatStreamEventValidationError) Field() string
Field function returns field value.
func (ChatStreamEventValidationError) Key ¶ added in v1.17.0
func (e ChatStreamEventValidationError) Key() bool
Key function returns key value.
func (ChatStreamEventValidationError) Reason ¶ added in v1.17.0
func (e ChatStreamEventValidationError) Reason() string
Reason function returns reason value.
type Chat_StreamChatEventsClient ¶ added in v1.17.0
type Chat_StreamChatEventsClient interface { Send(*StreamChatEventsRequest) error Recv() (*StreamChatEventsResponse, error) grpc.ClientStream }
type Chat_StreamChatEventsServer ¶ added in v1.17.0
type Chat_StreamChatEventsServer interface { Send(*StreamChatEventsResponse) error Recv() (*StreamChatEventsRequest, error) grpc.ServerStream }
type Content ¶
type Content struct { // Types that are assignable to Type: // // *Content_ServerLocalized // *Content_ExchangeData // *Content_NaclBox // *Content_Text // *Content_ThankYou Type isContent_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Content) Descriptor
deprecated
func (*Content) GetExchangeData ¶
func (x *Content) GetExchangeData() *ExchangeDataContent
func (*Content) GetNaclBox ¶
func (x *Content) GetNaclBox() *NaclBoxEncryptedContent
func (*Content) GetServerLocalized ¶ added in v1.17.0
func (x *Content) GetServerLocalized() *ServerLocalizedContent
func (*Content) GetText ¶ added in v1.17.0
func (x *Content) GetText() *TextContent
func (*Content) GetThankYou ¶ added in v1.17.0
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,2,opt,name=exchange_data,json=exchangeData,proto3,oneof"`
}
type Content_NaclBox ¶
type Content_NaclBox struct {
NaclBox *NaclBoxEncryptedContent `protobuf:"bytes,3,opt,name=nacl_box,json=naclBox,proto3,oneof"`
}
type Content_ServerLocalized ¶ added in v1.17.0
type Content_ServerLocalized struct {
ServerLocalized *ServerLocalizedContent `protobuf:"bytes,1,opt,name=server_localized,json=serverLocalized,proto3,oneof"`
}
type Content_Text ¶ added in v1.17.0
type Content_Text struct {
Text *TextContent `protobuf:"bytes,4,opt,name=text,proto3,oneof"`
}
type Content_ThankYou ¶ added in v1.17.0
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.
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 ExchangeDataContent_Verb `protobuf:"varint,1,opt,name=verb,proto3,enum=code.chat.v1.ExchangeDataContent_Verb" json:"verb,omitempty"` // Types that are assignable to ExchangeData: // // *ExchangeDataContent_Exact // *ExchangeDataContent_Partial ExchangeData isExchangeDataContent_ExchangeData `protobuf_oneof:"exchange_data"` // contains filtered or unexported fields }
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) GetPartial ¶
func (x *ExchangeDataContent) GetPartial() *v2.ExchangeDataWithoutRate
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.v1.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.v1.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 *ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` PageSize uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Cursor *Cursor `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"` Direction GetMessagesRequest_Direction `protobuf:"varint,6,opt,name=direction,proto3,enum=code.chat.v1.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() *ChatId
func (*GetMessagesRequest) GetCursor ¶
func (x *GetMessagesRequest) GetCursor() *Cursor
func (*GetMessagesRequest) GetDirection ¶
func (x *GetMessagesRequest) GetDirection() GetMessagesRequest_Direction
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.v1.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_NOT_FOUND GetMessagesResponse_Result = 1 )
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 NaclBoxEncryptedContent ¶
type NaclBoxEncryptedContent struct { PeerPublicKey *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=peer_public_key,json=peerPublicKey,proto3" json:"peer_public_key,omitempty"` Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` EncryptedPayload []byte `protobuf:"bytes,3,opt,name=encrypted_payload,json=encryptedPayload,proto3" json:"encrypted_payload,omitempty"` // contains filtered or unexported fields }
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 OpenChatEventStream ¶ added in v1.17.0
type OpenChatEventStream struct { ChatId *ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` Owner *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Signature *v1.Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*OpenChatEventStream) Descriptor
deprecated
added in
v1.17.0
func (*OpenChatEventStream) Descriptor() ([]byte, []int)
Deprecated: Use OpenChatEventStream.ProtoReflect.Descriptor instead.
func (*OpenChatEventStream) GetChatId ¶ added in v1.17.0
func (x *OpenChatEventStream) GetChatId() *ChatId
func (*OpenChatEventStream) GetOwner ¶ added in v1.17.0
func (x *OpenChatEventStream) GetOwner() *v1.SolanaAccountId
func (*OpenChatEventStream) GetSignature ¶ added in v1.17.0
func (x *OpenChatEventStream) GetSignature() *v1.Signature
func (*OpenChatEventStream) ProtoMessage ¶ added in v1.17.0
func (*OpenChatEventStream) ProtoMessage()
func (*OpenChatEventStream) ProtoReflect ¶ added in v1.17.0
func (x *OpenChatEventStream) ProtoReflect() protoreflect.Message
func (*OpenChatEventStream) Reset ¶ added in v1.17.0
func (x *OpenChatEventStream) Reset()
func (*OpenChatEventStream) String ¶ added in v1.17.0
func (x *OpenChatEventStream) String() string
func (*OpenChatEventStream) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e OpenChatEventStreamValidationError) Cause() error
Cause function returns cause value.
func (OpenChatEventStreamValidationError) Error ¶ added in v1.17.0
func (e OpenChatEventStreamValidationError) Error() string
Error satisfies the builtin error interface
func (OpenChatEventStreamValidationError) ErrorName ¶ added in v1.17.0
func (e OpenChatEventStreamValidationError) ErrorName() string
ErrorName returns error name.
func (OpenChatEventStreamValidationError) Field ¶ added in v1.17.0
func (e OpenChatEventStreamValidationError) Field() string
Field function returns field value.
func (OpenChatEventStreamValidationError) Key ¶ added in v1.17.0
func (e OpenChatEventStreamValidationError) Key() bool
Key function returns key value.
func (OpenChatEventStreamValidationError) Reason ¶ added in v1.17.0
func (e OpenChatEventStreamValidationError) Reason() string
Reason function returns reason value.
type Pointer ¶
type Pointer struct { Kind Pointer_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=code.chat.v1.Pointer_Kind" json:"kind,omitempty"` Value *ChatMessageId `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` User *ChatMemberId `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*Pointer) Descriptor
deprecated
func (*Pointer) GetKind ¶
func (x *Pointer) GetKind() Pointer_Kind
func (*Pointer) GetUser ¶ added in v1.17.0
func (x *Pointer) GetUser() *ChatMemberId
func (*Pointer) GetValue ¶
func (x *Pointer) GetValue() *ChatMessageId
func (*Pointer) ProtoMessage ¶
func (*Pointer) ProtoMessage()
func (*Pointer) ProtoReflect ¶
func (x *Pointer) ProtoReflect() protoreflect.Message
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 Pointer_Kind ¶
type Pointer_Kind int32
const ( Pointer_UNKNOWN Pointer_Kind = 0 Pointer_READ Pointer_Kind = 1 Pointer_DELIVERED Pointer_Kind = 2 Pointer_SENT Pointer_Kind = 3 // Probably always inferred by OK result in SendMessageResponse )
func (Pointer_Kind) Descriptor ¶
func (Pointer_Kind) Descriptor() protoreflect.EnumDescriptor
func (Pointer_Kind) Enum ¶
func (x Pointer_Kind) Enum() *Pointer_Kind
func (Pointer_Kind) EnumDescriptor
deprecated
func (Pointer_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Pointer_Kind.Descriptor instead.
func (Pointer_Kind) Number ¶
func (x Pointer_Kind) Number() protoreflect.EnumNumber
func (Pointer_Kind) String ¶
func (x Pointer_Kind) String() string
func (Pointer_Kind) Type ¶
func (Pointer_Kind) Type() protoreflect.EnumType
type SendMessageRequest ¶ added in v1.17.0
type SendMessageRequest 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"` ChatId *ChatId `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // todo: What field type should this be? Maybe the chat message itself with fields missing? Content []*Content `protobuf:"bytes,4,rep,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*SendMessageRequest) Descriptor
deprecated
added in
v1.17.0
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetChatId ¶ added in v1.17.0
func (x *SendMessageRequest) GetChatId() *ChatId
func (*SendMessageRequest) GetContent ¶ added in v1.17.0
func (x *SendMessageRequest) GetContent() []*Content
func (*SendMessageRequest) GetOwner ¶ added in v1.17.0
func (x *SendMessageRequest) GetOwner() *v1.SolanaAccountId
func (*SendMessageRequest) GetSignature ¶ added in v1.17.0
func (x *SendMessageRequest) GetSignature() *v1.Signature
func (*SendMessageRequest) ProtoMessage ¶ added in v1.17.0
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶ added in v1.17.0
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶ added in v1.17.0
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶ added in v1.17.0
func (x *SendMessageRequest) String() string
func (*SendMessageRequest) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e SendMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendMessageRequestValidationError) Error ¶ added in v1.17.0
func (e SendMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageRequestValidationError) ErrorName ¶ added in v1.17.0
func (e SendMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageRequestValidationError) Field ¶ added in v1.17.0
func (e SendMessageRequestValidationError) Field() string
Field function returns field value.
func (SendMessageRequestValidationError) Key ¶ added in v1.17.0
func (e SendMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendMessageRequestValidationError) Reason ¶ added in v1.17.0
func (e SendMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendMessageResponse ¶ added in v1.17.0
type SendMessageResponse struct { Result SendMessageResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.chat.v1.SendMessageResponse_Result" json:"result,omitempty"` Message *ChatMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*SendMessageResponse) Descriptor
deprecated
added in
v1.17.0
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetMessage ¶ added in v1.17.0
func (x *SendMessageResponse) GetMessage() *ChatMessage
func (*SendMessageResponse) GetResult ¶ added in v1.17.0
func (x *SendMessageResponse) GetResult() SendMessageResponse_Result
func (*SendMessageResponse) ProtoMessage ¶ added in v1.17.0
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶ added in v1.17.0
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶ added in v1.17.0
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶ added in v1.17.0
func (x *SendMessageResponse) String() string
func (*SendMessageResponse) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e SendMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendMessageResponseValidationError) Error ¶ added in v1.17.0
func (e SendMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageResponseValidationError) ErrorName ¶ added in v1.17.0
func (e SendMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageResponseValidationError) Field ¶ added in v1.17.0
func (e SendMessageResponseValidationError) Field() string
Field function returns field value.
func (SendMessageResponseValidationError) Key ¶ added in v1.17.0
func (e SendMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendMessageResponseValidationError) Reason ¶ added in v1.17.0
func (e SendMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendMessageResponse_Result ¶ added in v1.17.0
type SendMessageResponse_Result int32
const (
SendMessageResponse_OK SendMessageResponse_Result = 0
)
func (SendMessageResponse_Result) Descriptor ¶ added in v1.17.0
func (SendMessageResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (SendMessageResponse_Result) Enum ¶ added in v1.17.0
func (x SendMessageResponse_Result) Enum() *SendMessageResponse_Result
func (SendMessageResponse_Result) EnumDescriptor
deprecated
added in
v1.17.0
func (SendMessageResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse_Result.Descriptor instead.
func (SendMessageResponse_Result) Number ¶ added in v1.17.0
func (x SendMessageResponse_Result) Number() protoreflect.EnumNumber
func (SendMessageResponse_Result) String ¶ added in v1.17.0
func (x SendMessageResponse_Result) String() string
func (SendMessageResponse_Result) Type ¶ added in v1.17.0
func (SendMessageResponse_Result) Type() protoreflect.EnumType
type ServerLocalizedContent ¶ added in v1.17.0
type ServerLocalizedContent struct { // When server-side localization is in place, clients will always see the // localized text. KeyOrText string `protobuf:"bytes,1,opt,name=key_or_text,json=keyOrText,proto3" json:"key_or_text,omitempty"` // contains filtered or unexported fields }
func (*ServerLocalizedContent) Descriptor
deprecated
added in
v1.17.0
func (*ServerLocalizedContent) Descriptor() ([]byte, []int)
Deprecated: Use ServerLocalizedContent.ProtoReflect.Descriptor instead.
func (*ServerLocalizedContent) GetKeyOrText ¶ added in v1.17.0
func (x *ServerLocalizedContent) GetKeyOrText() string
func (*ServerLocalizedContent) ProtoMessage ¶ added in v1.17.0
func (*ServerLocalizedContent) ProtoMessage()
func (*ServerLocalizedContent) ProtoReflect ¶ added in v1.17.0
func (x *ServerLocalizedContent) ProtoReflect() protoreflect.Message
func (*ServerLocalizedContent) Reset ¶ added in v1.17.0
func (x *ServerLocalizedContent) Reset()
func (*ServerLocalizedContent) String ¶ added in v1.17.0
func (x *ServerLocalizedContent) String() string
func (*ServerLocalizedContent) Validate ¶ added in v1.17.0
func (m *ServerLocalizedContent) Validate() error
Validate checks the field values on ServerLocalizedContent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ServerLocalizedContentValidationError ¶ added in v1.17.0
type ServerLocalizedContentValidationError struct {
// contains filtered or unexported fields
}
ServerLocalizedContentValidationError is the validation error returned by ServerLocalizedContent.Validate if the designated constraints aren't met.
func (ServerLocalizedContentValidationError) Cause ¶ added in v1.17.0
func (e ServerLocalizedContentValidationError) Cause() error
Cause function returns cause value.
func (ServerLocalizedContentValidationError) Error ¶ added in v1.17.0
func (e ServerLocalizedContentValidationError) Error() string
Error satisfies the builtin error interface
func (ServerLocalizedContentValidationError) ErrorName ¶ added in v1.17.0
func (e ServerLocalizedContentValidationError) ErrorName() string
ErrorName returns error name.
func (ServerLocalizedContentValidationError) Field ¶ added in v1.17.0
func (e ServerLocalizedContentValidationError) Field() string
Field function returns field value.
func (ServerLocalizedContentValidationError) Key ¶ added in v1.17.0
func (e ServerLocalizedContentValidationError) Key() bool
Key function returns key value.
func (ServerLocalizedContentValidationError) Reason ¶ added in v1.17.0
func (e ServerLocalizedContentValidationError) Reason() string
Reason function returns reason value.
type SetMuteStateRequest ¶
type SetMuteStateRequest struct { ChatId *ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` IsMuted bool `protobuf:"varint,2,opt,name=is_muted,json=isMuted,proto3" json:"is_muted,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 (*SetMuteStateRequest) Descriptor
deprecated
func (*SetMuteStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMuteStateRequest.ProtoReflect.Descriptor instead.
func (*SetMuteStateRequest) GetChatId ¶
func (x *SetMuteStateRequest) GetChatId() *ChatId
func (*SetMuteStateRequest) GetIsMuted ¶
func (x *SetMuteStateRequest) GetIsMuted() bool
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.v1.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_CHAT_NOT_FOUND SetMuteStateResponse_Result = 1 SetMuteStateResponse_CANT_MUTE SetMuteStateResponse_Result = 2 )
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 *ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` IsSubscribed bool `protobuf:"varint,2,opt,name=is_subscribed,json=isSubscribed,proto3" json:"is_subscribed,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 (*SetSubscriptionStateRequest) Descriptor
deprecated
func (*SetSubscriptionStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSubscriptionStateRequest.ProtoReflect.Descriptor instead.
func (*SetSubscriptionStateRequest) GetChatId ¶
func (x *SetSubscriptionStateRequest) GetChatId() *ChatId
func (*SetSubscriptionStateRequest) GetIsSubscribed ¶
func (x *SetSubscriptionStateRequest) GetIsSubscribed() bool
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.v1.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_CHAT_NOT_FOUND SetSubscriptionStateResponse_Result = 1 SetSubscriptionStateResponse_CANT_UNSUBSCRIBE SetSubscriptionStateResponse_Result = 2 )
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 StreamChatEventsRequest ¶ added in v1.17.0
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
added in
v1.17.0
func (*StreamChatEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamChatEventsRequest.ProtoReflect.Descriptor instead.
func (*StreamChatEventsRequest) GetOpenStream ¶ added in v1.17.0
func (x *StreamChatEventsRequest) GetOpenStream() *OpenChatEventStream
func (*StreamChatEventsRequest) GetPong ¶ added in v1.17.0
func (x *StreamChatEventsRequest) GetPong() *v1.ClientPong
func (*StreamChatEventsRequest) GetType ¶ added in v1.17.0
func (m *StreamChatEventsRequest) GetType() isStreamChatEventsRequest_Type
func (*StreamChatEventsRequest) ProtoMessage ¶ added in v1.17.0
func (*StreamChatEventsRequest) ProtoMessage()
func (*StreamChatEventsRequest) ProtoReflect ¶ added in v1.17.0
func (x *StreamChatEventsRequest) ProtoReflect() protoreflect.Message
func (*StreamChatEventsRequest) Reset ¶ added in v1.17.0
func (x *StreamChatEventsRequest) Reset()
func (*StreamChatEventsRequest) String ¶ added in v1.17.0
func (x *StreamChatEventsRequest) String() string
func (*StreamChatEventsRequest) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e StreamChatEventsRequestValidationError) Cause() error
Cause function returns cause value.
func (StreamChatEventsRequestValidationError) Error ¶ added in v1.17.0
func (e StreamChatEventsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamChatEventsRequestValidationError) ErrorName ¶ added in v1.17.0
func (e StreamChatEventsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamChatEventsRequestValidationError) Field ¶ added in v1.17.0
func (e StreamChatEventsRequestValidationError) Field() string
Field function returns field value.
func (StreamChatEventsRequestValidationError) Key ¶ added in v1.17.0
func (e StreamChatEventsRequestValidationError) Key() bool
Key function returns key value.
func (StreamChatEventsRequestValidationError) Reason ¶ added in v1.17.0
func (e StreamChatEventsRequestValidationError) Reason() string
Reason function returns reason value.
type StreamChatEventsRequest_OpenStream ¶ added in v1.17.0
type StreamChatEventsRequest_OpenStream struct {
OpenStream *OpenChatEventStream `protobuf:"bytes,1,opt,name=open_stream,json=openStream,proto3,oneof"`
}
type StreamChatEventsRequest_Pong ¶ added in v1.17.0
type StreamChatEventsRequest_Pong struct {
Pong *v1.ClientPong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}
type StreamChatEventsResponse ¶ added in v1.17.0
type StreamChatEventsResponse struct { // Types that are assignable to Type: // // *StreamChatEventsResponse_Events // *StreamChatEventsResponse_Ping Type isStreamChatEventsResponse_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*StreamChatEventsResponse) Descriptor
deprecated
added in
v1.17.0
func (*StreamChatEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamChatEventsResponse.ProtoReflect.Descriptor instead.
func (*StreamChatEventsResponse) GetEvents ¶ added in v1.17.0
func (x *StreamChatEventsResponse) GetEvents() *ChatStreamEventBatch
func (*StreamChatEventsResponse) GetPing ¶ added in v1.17.0
func (x *StreamChatEventsResponse) GetPing() *v1.ServerPing
func (*StreamChatEventsResponse) GetType ¶ added in v1.17.0
func (m *StreamChatEventsResponse) GetType() isStreamChatEventsResponse_Type
func (*StreamChatEventsResponse) ProtoMessage ¶ added in v1.17.0
func (*StreamChatEventsResponse) ProtoMessage()
func (*StreamChatEventsResponse) ProtoReflect ¶ added in v1.17.0
func (x *StreamChatEventsResponse) ProtoReflect() protoreflect.Message
func (*StreamChatEventsResponse) Reset ¶ added in v1.17.0
func (x *StreamChatEventsResponse) Reset()
func (*StreamChatEventsResponse) String ¶ added in v1.17.0
func (x *StreamChatEventsResponse) String() string
func (*StreamChatEventsResponse) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e StreamChatEventsResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamChatEventsResponseValidationError) Error ¶ added in v1.17.0
func (e StreamChatEventsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamChatEventsResponseValidationError) ErrorName ¶ added in v1.17.0
func (e StreamChatEventsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamChatEventsResponseValidationError) Field ¶ added in v1.17.0
func (e StreamChatEventsResponseValidationError) Field() string
Field function returns field value.
func (StreamChatEventsResponseValidationError) Key ¶ added in v1.17.0
func (e StreamChatEventsResponseValidationError) Key() bool
Key function returns key value.
func (StreamChatEventsResponseValidationError) Reason ¶ added in v1.17.0
func (e StreamChatEventsResponseValidationError) Reason() string
Reason function returns reason value.
type StreamChatEventsResponse_Events ¶ added in v1.17.0
type StreamChatEventsResponse_Events struct {
Events *ChatStreamEventBatch `protobuf:"bytes,1,opt,name=events,proto3,oneof"`
}
type StreamChatEventsResponse_Ping ¶ added in v1.17.0
type StreamChatEventsResponse_Ping struct {
Ping *v1.ServerPing `protobuf:"bytes,2,opt,name=ping,proto3,oneof"`
}
type TextContent ¶ added in v1.17.0
type TextContent struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*TextContent) Descriptor
deprecated
added in
v1.17.0
func (*TextContent) Descriptor() ([]byte, []int)
Deprecated: Use TextContent.ProtoReflect.Descriptor instead.
func (*TextContent) GetText ¶ added in v1.17.0
func (x *TextContent) GetText() string
func (*TextContent) ProtoMessage ¶ added in v1.17.0
func (*TextContent) ProtoMessage()
func (*TextContent) ProtoReflect ¶ added in v1.17.0
func (x *TextContent) ProtoReflect() protoreflect.Message
func (*TextContent) Reset ¶ added in v1.17.0
func (x *TextContent) Reset()
func (*TextContent) String ¶ added in v1.17.0
func (x *TextContent) String() string
func (*TextContent) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e TextContentValidationError) Cause() error
Cause function returns cause value.
func (TextContentValidationError) Error ¶ added in v1.17.0
func (e TextContentValidationError) Error() string
Error satisfies the builtin error interface
func (TextContentValidationError) ErrorName ¶ added in v1.17.0
func (e TextContentValidationError) ErrorName() string
ErrorName returns error name.
func (TextContentValidationError) Field ¶ added in v1.17.0
func (e TextContentValidationError) Field() string
Field function returns field value.
func (TextContentValidationError) Key ¶ added in v1.17.0
func (e TextContentValidationError) Key() bool
Key function returns key value.
func (TextContentValidationError) Reason ¶ added in v1.17.0
func (e TextContentValidationError) Reason() string
Reason function returns reason value.
type ThankYouContent ¶ added in v1.17.0
type ThankYouContent struct {
// contains filtered or unexported fields
}
func (*ThankYouContent) Descriptor
deprecated
added in
v1.17.0
func (*ThankYouContent) Descriptor() ([]byte, []int)
Deprecated: Use ThankYouContent.ProtoReflect.Descriptor instead.
func (*ThankYouContent) ProtoMessage ¶ added in v1.17.0
func (*ThankYouContent) ProtoMessage()
func (*ThankYouContent) ProtoReflect ¶ added in v1.17.0
func (x *ThankYouContent) ProtoReflect() protoreflect.Message
func (*ThankYouContent) Reset ¶ added in v1.17.0
func (x *ThankYouContent) Reset()
func (*ThankYouContent) String ¶ added in v1.17.0
func (x *ThankYouContent) String() string
func (*ThankYouContent) Validate ¶ added in v1.17.0
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 ¶ added in v1.17.0
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 ¶ added in v1.17.0
func (e ThankYouContentValidationError) Cause() error
Cause function returns cause value.
func (ThankYouContentValidationError) Error ¶ added in v1.17.0
func (e ThankYouContentValidationError) Error() string
Error satisfies the builtin error interface
func (ThankYouContentValidationError) ErrorName ¶ added in v1.17.0
func (e ThankYouContentValidationError) ErrorName() string
ErrorName returns error name.
func (ThankYouContentValidationError) Field ¶ added in v1.17.0
func (e ThankYouContentValidationError) Field() string
Field function returns field value.
func (ThankYouContentValidationError) Key ¶ added in v1.17.0
func (e ThankYouContentValidationError) Key() bool
Key function returns key value.
func (ThankYouContentValidationError) Reason ¶ added in v1.17.0
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) SendMessage ¶ added in v1.17.0
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) StreamChatEvents ¶ added in v1.17.0
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.