Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)
- type ActionableAnnouncementContent
- func (*ActionableAnnouncementContent) Descriptor() ([]byte, []int)deprecated
- func (x *ActionableAnnouncementContent) GetAction() *ActionableAnnouncementContent_Action
- func (x *ActionableAnnouncementContent) GetKeyOrText() string
- func (*ActionableAnnouncementContent) ProtoMessage()
- func (x *ActionableAnnouncementContent) ProtoReflect() protoreflect.Message
- func (x *ActionableAnnouncementContent) Reset()
- func (x *ActionableAnnouncementContent) String() string
- func (m *ActionableAnnouncementContent) Validate() error
- func (m *ActionableAnnouncementContent) ValidateAll() error
- type ActionableAnnouncementContentMultiError
- type ActionableAnnouncementContentValidationError
- func (e ActionableAnnouncementContentValidationError) Cause() error
- func (e ActionableAnnouncementContentValidationError) Error() string
- func (e ActionableAnnouncementContentValidationError) ErrorName() string
- func (e ActionableAnnouncementContentValidationError) Field() string
- func (e ActionableAnnouncementContentValidationError) Key() bool
- func (e ActionableAnnouncementContentValidationError) Reason() string
- type ActionableAnnouncementContent_Action
- func (*ActionableAnnouncementContent_Action) Descriptor() ([]byte, []int)deprecated
- func (x *ActionableAnnouncementContent_Action) GetShareRoomLink() *ActionableAnnouncementContent_Action_ShareRoomLink
- func (m *ActionableAnnouncementContent_Action) GetType() isActionableAnnouncementContent_Action_Type
- func (*ActionableAnnouncementContent_Action) ProtoMessage()
- func (x *ActionableAnnouncementContent_Action) ProtoReflect() protoreflect.Message
- func (x *ActionableAnnouncementContent_Action) Reset()
- func (x *ActionableAnnouncementContent_Action) String() string
- func (m *ActionableAnnouncementContent_Action) Validate() error
- func (m *ActionableAnnouncementContent_Action) ValidateAll() error
- type ActionableAnnouncementContent_ActionMultiError
- type ActionableAnnouncementContent_ActionValidationError
- func (e ActionableAnnouncementContent_ActionValidationError) Cause() error
- func (e ActionableAnnouncementContent_ActionValidationError) Error() string
- func (e ActionableAnnouncementContent_ActionValidationError) ErrorName() string
- func (e ActionableAnnouncementContent_ActionValidationError) Field() string
- func (e ActionableAnnouncementContent_ActionValidationError) Key() bool
- func (e ActionableAnnouncementContent_ActionValidationError) Reason() string
- type ActionableAnnouncementContent_Action_ShareRoomLink
- func (*ActionableAnnouncementContent_Action_ShareRoomLink) Descriptor() ([]byte, []int)deprecated
- func (*ActionableAnnouncementContent_Action_ShareRoomLink) ProtoMessage()
- func (x *ActionableAnnouncementContent_Action_ShareRoomLink) ProtoReflect() protoreflect.Message
- func (x *ActionableAnnouncementContent_Action_ShareRoomLink) Reset()
- func (x *ActionableAnnouncementContent_Action_ShareRoomLink) String() string
- func (m *ActionableAnnouncementContent_Action_ShareRoomLink) Validate() error
- func (m *ActionableAnnouncementContent_Action_ShareRoomLink) ValidateAll() error
- type ActionableAnnouncementContent_Action_ShareRoomLinkMultiError
- type ActionableAnnouncementContent_Action_ShareRoomLinkValidationError
- func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Cause() error
- func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Error() string
- func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) ErrorName() string
- func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Field() string
- func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Key() bool
- func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Reason() string
- type ActionableAnnouncementContent_Action_ShareRoomLink_
- type AdvancePointerRequest
- func (*AdvancePointerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancePointerRequest) GetAuth() *v1.Auth
- func (x *AdvancePointerRequest) GetChatId() *v1.ChatId
- func (x *AdvancePointerRequest) GetPointer() *Pointer
- func (*AdvancePointerRequest) ProtoMessage()
- func (x *AdvancePointerRequest) ProtoReflect() protoreflect.Message
- func (x *AdvancePointerRequest) Reset()
- func (x *AdvancePointerRequest) String() string
- func (m *AdvancePointerRequest) Validate() error
- func (m *AdvancePointerRequest) ValidateAll() error
- type AdvancePointerRequestMultiError
- 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
- func (m *AdvancePointerResponse) ValidateAll() error
- type AdvancePointerResponseMultiError
- 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 Content
- func (*Content) Descriptor() ([]byte, []int)deprecated
- func (x *Content) GetActionableAnnouncement() *ActionableAnnouncementContent
- func (x *Content) GetDeleted() *DeleteMessageContent
- func (x *Content) GetLocalizedAnnouncement() *LocalizedAnnouncementContent
- func (x *Content) GetReaction() *ReactionContent
- func (x *Content) GetReply() *ReplyContent
- func (x *Content) GetReview() *ReviewContent
- func (x *Content) GetText() *TextContent
- func (x *Content) GetTip() *TipContent
- 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
- func (m *Content) ValidateAll() error
- type ContentMultiError
- type ContentValidationError
- type Content_ActionableAnnouncement
- type Content_Deleted
- type Content_LocalizedAnnouncement
- type Content_Reaction
- type Content_Reply
- type Content_Review
- type Content_Text
- type Content_Tip
- type DeleteMessageContent
- func (*DeleteMessageContent) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMessageContent) GetOriginalMessageId() *MessageId
- func (*DeleteMessageContent) ProtoMessage()
- func (x *DeleteMessageContent) ProtoReflect() protoreflect.Message
- func (x *DeleteMessageContent) Reset()
- func (x *DeleteMessageContent) String() string
- func (m *DeleteMessageContent) Validate() error
- func (m *DeleteMessageContent) ValidateAll() error
- type DeleteMessageContentMultiError
- type DeleteMessageContentValidationError
- func (e DeleteMessageContentValidationError) Cause() error
- func (e DeleteMessageContentValidationError) Error() string
- func (e DeleteMessageContentValidationError) ErrorName() string
- func (e DeleteMessageContentValidationError) Field() string
- func (e DeleteMessageContentValidationError) Key() bool
- func (e DeleteMessageContentValidationError) Reason() string
- type GetMessageRequest
- func (*GetMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessageRequest) GetAuth() *v1.Auth
- func (x *GetMessageRequest) GetChatId() *v1.ChatId
- func (x *GetMessageRequest) GetMessageId() *MessageId
- func (*GetMessageRequest) ProtoMessage()
- func (x *GetMessageRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessageRequest) Reset()
- func (x *GetMessageRequest) String() string
- func (m *GetMessageRequest) Validate() error
- func (m *GetMessageRequest) ValidateAll() error
- type GetMessageRequestMultiError
- type GetMessageRequestValidationError
- func (e GetMessageRequestValidationError) Cause() error
- func (e GetMessageRequestValidationError) Error() string
- func (e GetMessageRequestValidationError) ErrorName() string
- func (e GetMessageRequestValidationError) Field() string
- func (e GetMessageRequestValidationError) Key() bool
- func (e GetMessageRequestValidationError) Reason() string
- type GetMessageResponse
- func (*GetMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessageResponse) GetMessage() *Message
- func (x *GetMessageResponse) GetResult() GetMessageResponse_Result
- func (*GetMessageResponse) ProtoMessage()
- func (x *GetMessageResponse) ProtoReflect() protoreflect.Message
- func (x *GetMessageResponse) Reset()
- func (x *GetMessageResponse) String() string
- func (m *GetMessageResponse) Validate() error
- func (m *GetMessageResponse) ValidateAll() error
- type GetMessageResponseMultiError
- type GetMessageResponseValidationError
- func (e GetMessageResponseValidationError) Cause() error
- func (e GetMessageResponseValidationError) Error() string
- func (e GetMessageResponseValidationError) ErrorName() string
- func (e GetMessageResponseValidationError) Field() string
- func (e GetMessageResponseValidationError) Key() bool
- func (e GetMessageResponseValidationError) Reason() string
- type GetMessageResponse_Result
- func (GetMessageResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetMessageResponse_Result) Enum() *GetMessageResponse_Result
- func (GetMessageResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetMessageResponse_Result) Number() protoreflect.EnumNumber
- func (x GetMessageResponse_Result) String() string
- func (GetMessageResponse_Result) Type() protoreflect.EnumType
- type GetMessagesRequest
- func (*GetMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesRequest) GetAuth() *v1.Auth
- func (x *GetMessagesRequest) GetChatId() *v1.ChatId
- func (x *GetMessagesRequest) GetMessageIds() *MessageIdBatch
- func (x *GetMessagesRequest) GetOptions() *v1.QueryOptions
- func (m *GetMessagesRequest) GetQuery() isGetMessagesRequest_Query
- func (*GetMessagesRequest) ProtoMessage()
- func (x *GetMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessagesRequest) Reset()
- func (x *GetMessagesRequest) String() string
- func (m *GetMessagesRequest) Validate() error
- func (m *GetMessagesRequest) ValidateAll() error
- type GetMessagesRequestMultiError
- 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_MessageIds
- type GetMessagesRequest_Options
- type GetMessagesResponse
- func (*GetMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesResponse) GetMessages() []*Message
- 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
- func (m *GetMessagesResponse) ValidateAll() error
- type GetMessagesResponseMultiError
- 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 IsTyping
- func (*IsTyping) Descriptor() ([]byte, []int)deprecated
- func (x *IsTyping) GetIsTyping() bool
- func (x *IsTyping) GetTypingState() TypingState
- func (x *IsTyping) GetUserId() *v1.UserId
- func (*IsTyping) ProtoMessage()
- func (x *IsTyping) ProtoReflect() protoreflect.Message
- func (x *IsTyping) Reset()
- func (x *IsTyping) String() string
- func (m *IsTyping) Validate() error
- func (m *IsTyping) ValidateAll() error
- type IsTypingBatch
- func (*IsTypingBatch) Descriptor() ([]byte, []int)deprecated
- func (x *IsTypingBatch) GetIsTypingNotifications() []*IsTyping
- func (*IsTypingBatch) ProtoMessage()
- func (x *IsTypingBatch) ProtoReflect() protoreflect.Message
- func (x *IsTypingBatch) Reset()
- func (x *IsTypingBatch) String() string
- func (m *IsTypingBatch) Validate() error
- func (m *IsTypingBatch) ValidateAll() error
- type IsTypingBatchMultiError
- type IsTypingBatchValidationError
- func (e IsTypingBatchValidationError) Cause() error
- func (e IsTypingBatchValidationError) Error() string
- func (e IsTypingBatchValidationError) ErrorName() string
- func (e IsTypingBatchValidationError) Field() string
- func (e IsTypingBatchValidationError) Key() bool
- func (e IsTypingBatchValidationError) Reason() string
- type IsTypingMultiError
- type IsTypingValidationError
- type LocalizedAnnouncementContent
- func (*LocalizedAnnouncementContent) Descriptor() ([]byte, []int)deprecated
- func (x *LocalizedAnnouncementContent) GetKeyOrText() string
- func (*LocalizedAnnouncementContent) ProtoMessage()
- func (x *LocalizedAnnouncementContent) ProtoReflect() protoreflect.Message
- func (x *LocalizedAnnouncementContent) Reset()
- func (x *LocalizedAnnouncementContent) String() string
- func (m *LocalizedAnnouncementContent) Validate() error
- func (m *LocalizedAnnouncementContent) ValidateAll() error
- type LocalizedAnnouncementContentMultiError
- type LocalizedAnnouncementContentValidationError
- func (e LocalizedAnnouncementContentValidationError) Cause() error
- func (e LocalizedAnnouncementContentValidationError) Error() string
- func (e LocalizedAnnouncementContentValidationError) ErrorName() string
- func (e LocalizedAnnouncementContentValidationError) Field() string
- func (e LocalizedAnnouncementContentValidationError) Key() bool
- func (e LocalizedAnnouncementContentValidationError) Reason() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetContent() []*Content
- func (x *Message) GetMessageId() *MessageId
- func (x *Message) GetSenderId() *v1.UserId
- func (x *Message) GetTs() *timestamppb.Timestamp
- func (x *Message) GetWasSenderOffStage() bool
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- func (m *Message) Validate() error
- func (m *Message) ValidateAll() error
- type MessageBatch
- func (*MessageBatch) Descriptor() ([]byte, []int)deprecated
- func (x *MessageBatch) GetMessages() []*Message
- func (*MessageBatch) ProtoMessage()
- func (x *MessageBatch) ProtoReflect() protoreflect.Message
- func (x *MessageBatch) Reset()
- func (x *MessageBatch) String() string
- func (m *MessageBatch) Validate() error
- func (m *MessageBatch) ValidateAll() error
- type MessageBatchMultiError
- type MessageBatchValidationError
- func (e MessageBatchValidationError) Cause() error
- func (e MessageBatchValidationError) Error() string
- func (e MessageBatchValidationError) ErrorName() string
- func (e MessageBatchValidationError) Field() string
- func (e MessageBatchValidationError) Key() bool
- func (e MessageBatchValidationError) Reason() string
- type MessageId
- func (*MessageId) Descriptor() ([]byte, []int)deprecated
- func (x *MessageId) GetValue() []byte
- func (*MessageId) ProtoMessage()
- func (x *MessageId) ProtoReflect() protoreflect.Message
- func (x *MessageId) Reset()
- func (x *MessageId) String() string
- func (m *MessageId) Validate() error
- func (m *MessageId) ValidateAll() error
- type MessageIdBatch
- func (*MessageIdBatch) Descriptor() ([]byte, []int)deprecated
- func (x *MessageIdBatch) GetMessageIds() []*MessageId
- func (*MessageIdBatch) ProtoMessage()
- func (x *MessageIdBatch) ProtoReflect() protoreflect.Message
- func (x *MessageIdBatch) Reset()
- func (x *MessageIdBatch) String() string
- func (m *MessageIdBatch) Validate() error
- func (m *MessageIdBatch) ValidateAll() error
- type MessageIdBatchMultiError
- type MessageIdBatchValidationError
- func (e MessageIdBatchValidationError) Cause() error
- func (e MessageIdBatchValidationError) Error() string
- func (e MessageIdBatchValidationError) ErrorName() string
- func (e MessageIdBatchValidationError) Field() string
- func (e MessageIdBatchValidationError) Key() bool
- func (e MessageIdBatchValidationError) Reason() string
- type MessageIdMultiError
- type MessageIdValidationError
- type MessageMultiError
- type MessageValidationError
- type MessagingClient
- type MessagingServer
- type Messaging_StreamMessagesClient
- type Messaging_StreamMessagesServer
- type NotifyIsTypingRequest
- func (*NotifyIsTypingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyIsTypingRequest) GetAuth() *v1.Auth
- func (x *NotifyIsTypingRequest) GetChatId() *v1.ChatId
- func (x *NotifyIsTypingRequest) GetIsTyping() bool
- func (x *NotifyIsTypingRequest) GetTypingState() TypingState
- func (*NotifyIsTypingRequest) ProtoMessage()
- func (x *NotifyIsTypingRequest) ProtoReflect() protoreflect.Message
- func (x *NotifyIsTypingRequest) Reset()
- func (x *NotifyIsTypingRequest) String() string
- func (m *NotifyIsTypingRequest) Validate() error
- func (m *NotifyIsTypingRequest) ValidateAll() error
- type NotifyIsTypingRequestMultiError
- type NotifyIsTypingRequestValidationError
- func (e NotifyIsTypingRequestValidationError) Cause() error
- func (e NotifyIsTypingRequestValidationError) Error() string
- func (e NotifyIsTypingRequestValidationError) ErrorName() string
- func (e NotifyIsTypingRequestValidationError) Field() string
- func (e NotifyIsTypingRequestValidationError) Key() bool
- func (e NotifyIsTypingRequestValidationError) Reason() string
- type NotifyIsTypingResponse
- func (*NotifyIsTypingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyIsTypingResponse) GetResult() NotifyIsTypingResponse_Result
- func (*NotifyIsTypingResponse) ProtoMessage()
- func (x *NotifyIsTypingResponse) ProtoReflect() protoreflect.Message
- func (x *NotifyIsTypingResponse) Reset()
- func (x *NotifyIsTypingResponse) String() string
- func (m *NotifyIsTypingResponse) Validate() error
- func (m *NotifyIsTypingResponse) ValidateAll() error
- type NotifyIsTypingResponseMultiError
- type NotifyIsTypingResponseValidationError
- func (e NotifyIsTypingResponseValidationError) Cause() error
- func (e NotifyIsTypingResponseValidationError) Error() string
- func (e NotifyIsTypingResponseValidationError) ErrorName() string
- func (e NotifyIsTypingResponseValidationError) Field() string
- func (e NotifyIsTypingResponseValidationError) Key() bool
- func (e NotifyIsTypingResponseValidationError) Reason() string
- type NotifyIsTypingResponse_Result
- func (NotifyIsTypingResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x NotifyIsTypingResponse_Result) Enum() *NotifyIsTypingResponse_Result
- func (NotifyIsTypingResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotifyIsTypingResponse_Result) Number() protoreflect.EnumNumber
- func (x NotifyIsTypingResponse_Result) String() string
- func (NotifyIsTypingResponse_Result) Type() protoreflect.EnumType
- type Pointer
- func (*Pointer) Descriptor() ([]byte, []int)deprecated
- func (x *Pointer) GetType() Pointer_Type
- func (x *Pointer) GetValue() *MessageId
- func (*Pointer) ProtoMessage()
- func (x *Pointer) ProtoReflect() protoreflect.Message
- func (x *Pointer) Reset()
- func (x *Pointer) String() string
- func (m *Pointer) Validate() error
- func (m *Pointer) ValidateAll() error
- type PointerMultiError
- type PointerUpdate
- func (*PointerUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *PointerUpdate) GetMember() *v1.UserId
- func (x *PointerUpdate) GetPointer() *Pointer
- func (*PointerUpdate) ProtoMessage()
- func (x *PointerUpdate) ProtoReflect() protoreflect.Message
- func (x *PointerUpdate) Reset()
- func (x *PointerUpdate) String() string
- func (m *PointerUpdate) Validate() error
- func (m *PointerUpdate) ValidateAll() error
- type PointerUpdateBatch
- func (*PointerUpdateBatch) Descriptor() ([]byte, []int)deprecated
- func (x *PointerUpdateBatch) GetPointerUpdates() []*PointerUpdate
- func (*PointerUpdateBatch) ProtoMessage()
- func (x *PointerUpdateBatch) ProtoReflect() protoreflect.Message
- func (x *PointerUpdateBatch) Reset()
- func (x *PointerUpdateBatch) String() string
- func (m *PointerUpdateBatch) Validate() error
- func (m *PointerUpdateBatch) ValidateAll() error
- type PointerUpdateBatchMultiError
- type PointerUpdateBatchValidationError
- func (e PointerUpdateBatchValidationError) Cause() error
- func (e PointerUpdateBatchValidationError) Error() string
- func (e PointerUpdateBatchValidationError) ErrorName() string
- func (e PointerUpdateBatchValidationError) Field() string
- func (e PointerUpdateBatchValidationError) Key() bool
- func (e PointerUpdateBatchValidationError) Reason() string
- type PointerUpdateMultiError
- type PointerUpdateValidationError
- func (e PointerUpdateValidationError) Cause() error
- func (e PointerUpdateValidationError) Error() string
- func (e PointerUpdateValidationError) ErrorName() string
- func (e PointerUpdateValidationError) Field() string
- func (e PointerUpdateValidationError) Key() bool
- func (e PointerUpdateValidationError) Reason() string
- type PointerValidationError
- type Pointer_Type
- func (Pointer_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Pointer_Type) Enum() *Pointer_Type
- func (Pointer_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Pointer_Type) Number() protoreflect.EnumNumber
- func (x Pointer_Type) String() string
- func (Pointer_Type) Type() protoreflect.EnumType
- type ReactionContent
- func (*ReactionContent) Descriptor() ([]byte, []int)deprecated
- func (x *ReactionContent) GetEmoji() string
- func (x *ReactionContent) GetOriginalMessageId() *MessageId
- func (*ReactionContent) ProtoMessage()
- func (x *ReactionContent) ProtoReflect() protoreflect.Message
- func (x *ReactionContent) Reset()
- func (x *ReactionContent) String() string
- func (m *ReactionContent) Validate() error
- func (m *ReactionContent) ValidateAll() error
- type ReactionContentMultiError
- type ReactionContentValidationError
- func (e ReactionContentValidationError) Cause() error
- func (e ReactionContentValidationError) Error() string
- func (e ReactionContentValidationError) ErrorName() string
- func (e ReactionContentValidationError) Field() string
- func (e ReactionContentValidationError) Key() bool
- func (e ReactionContentValidationError) Reason() string
- type ReplyContent
- func (*ReplyContent) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyContent) GetOriginalMessageId() *MessageId
- func (x *ReplyContent) GetReplyText() string
- func (*ReplyContent) ProtoMessage()
- func (x *ReplyContent) ProtoReflect() protoreflect.Message
- func (x *ReplyContent) Reset()
- func (x *ReplyContent) String() string
- func (m *ReplyContent) Validate() error
- func (m *ReplyContent) ValidateAll() error
- type ReplyContentMultiError
- type ReplyContentValidationError
- func (e ReplyContentValidationError) Cause() error
- func (e ReplyContentValidationError) Error() string
- func (e ReplyContentValidationError) ErrorName() string
- func (e ReplyContentValidationError) Field() string
- func (e ReplyContentValidationError) Key() bool
- func (e ReplyContentValidationError) Reason() string
- type ReviewContent
- func (*ReviewContent) Descriptor() ([]byte, []int)deprecated
- func (x *ReviewContent) GetIsApproved() bool
- func (x *ReviewContent) GetOriginalMessageId() *MessageId
- func (*ReviewContent) ProtoMessage()
- func (x *ReviewContent) ProtoReflect() protoreflect.Message
- func (x *ReviewContent) Reset()
- func (x *ReviewContent) String() string
- func (m *ReviewContent) Validate() error
- func (m *ReviewContent) ValidateAll() error
- type ReviewContentMultiError
- type ReviewContentValidationError
- func (e ReviewContentValidationError) Cause() error
- func (e ReviewContentValidationError) Error() string
- func (e ReviewContentValidationError) ErrorName() string
- func (e ReviewContentValidationError) Field() string
- func (e ReviewContentValidationError) Key() bool
- func (e ReviewContentValidationError) Reason() string
- type SendMessageAsListenerPaymentMetadata
- func (*SendMessageAsListenerPaymentMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageAsListenerPaymentMetadata) GetChatId() *v1.ChatId
- func (x *SendMessageAsListenerPaymentMetadata) GetUserId() *v1.UserId
- func (*SendMessageAsListenerPaymentMetadata) ProtoMessage()
- func (x *SendMessageAsListenerPaymentMetadata) ProtoReflect() protoreflect.Message
- func (x *SendMessageAsListenerPaymentMetadata) Reset()
- func (x *SendMessageAsListenerPaymentMetadata) String() string
- func (m *SendMessageAsListenerPaymentMetadata) Validate() error
- func (m *SendMessageAsListenerPaymentMetadata) ValidateAll() error
- type SendMessageAsListenerPaymentMetadataMultiError
- type SendMessageAsListenerPaymentMetadataValidationError
- func (e SendMessageAsListenerPaymentMetadataValidationError) Cause() error
- func (e SendMessageAsListenerPaymentMetadataValidationError) Error() string
- func (e SendMessageAsListenerPaymentMetadataValidationError) ErrorName() string
- func (e SendMessageAsListenerPaymentMetadataValidationError) Field() string
- func (e SendMessageAsListenerPaymentMetadataValidationError) Key() bool
- func (e SendMessageAsListenerPaymentMetadataValidationError) Reason() string
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetAuth() *v1.Auth
- func (x *SendMessageRequest) GetChatId() *v1.ChatId
- func (x *SendMessageRequest) GetContent() []*Content
- func (x *SendMessageRequest) GetPaymentIntent() *v1.IntentId
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- func (m *SendMessageRequest) Validate() error
- func (m *SendMessageRequest) ValidateAll() error
- type SendMessageRequestMultiError
- 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() *Message
- 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
- func (m *SendMessageResponse) ValidateAll() error
- type SendMessageResponseMultiError
- 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 SendTipMessagePaymentMetadata
- func (*SendTipMessagePaymentMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SendTipMessagePaymentMetadata) GetChatId() *v1.ChatId
- func (x *SendTipMessagePaymentMetadata) GetMessageId() *MessageId
- func (x *SendTipMessagePaymentMetadata) GetTipperId() *v1.UserId
- func (*SendTipMessagePaymentMetadata) ProtoMessage()
- func (x *SendTipMessagePaymentMetadata) ProtoReflect() protoreflect.Message
- func (x *SendTipMessagePaymentMetadata) Reset()
- func (x *SendTipMessagePaymentMetadata) String() string
- func (m *SendTipMessagePaymentMetadata) Validate() error
- func (m *SendTipMessagePaymentMetadata) ValidateAll() error
- type SendTipMessagePaymentMetadataMultiError
- type SendTipMessagePaymentMetadataValidationError
- func (e SendTipMessagePaymentMetadataValidationError) Cause() error
- func (e SendTipMessagePaymentMetadataValidationError) Error() string
- func (e SendTipMessagePaymentMetadataValidationError) ErrorName() string
- func (e SendTipMessagePaymentMetadataValidationError) Field() string
- func (e SendTipMessagePaymentMetadataValidationError) Key() bool
- func (e SendTipMessagePaymentMetadataValidationError) Reason() string
- type StreamMessagesRequest
- func (*StreamMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMessagesRequest) GetParams() *StreamMessagesRequest_Params
- func (x *StreamMessagesRequest) GetPong() *v1.ClientPong
- func (m *StreamMessagesRequest) GetType() isStreamMessagesRequest_Type
- func (*StreamMessagesRequest) ProtoMessage()
- func (x *StreamMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *StreamMessagesRequest) Reset()
- func (x *StreamMessagesRequest) String() string
- func (m *StreamMessagesRequest) Validate() error
- func (m *StreamMessagesRequest) ValidateAll() error
- type StreamMessagesRequestMultiError
- type StreamMessagesRequestValidationError
- func (e StreamMessagesRequestValidationError) Cause() error
- func (e StreamMessagesRequestValidationError) Error() string
- func (e StreamMessagesRequestValidationError) ErrorName() string
- func (e StreamMessagesRequestValidationError) Field() string
- func (e StreamMessagesRequestValidationError) Key() bool
- func (e StreamMessagesRequestValidationError) Reason() string
- type StreamMessagesRequest_Params
- func (*StreamMessagesRequest_Params) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMessagesRequest_Params) GetAuth() *v1.Auth
- func (x *StreamMessagesRequest_Params) GetChatId() *v1.ChatId
- func (x *StreamMessagesRequest_Params) GetLastKnownMessageId() *MessageId
- func (x *StreamMessagesRequest_Params) GetLatestOnly() bool
- func (m *StreamMessagesRequest_Params) GetResume() isStreamMessagesRequest_Params_Resume
- func (*StreamMessagesRequest_Params) ProtoMessage()
- func (x *StreamMessagesRequest_Params) ProtoReflect() protoreflect.Message
- func (x *StreamMessagesRequest_Params) Reset()
- func (x *StreamMessagesRequest_Params) String() string
- func (m *StreamMessagesRequest_Params) Validate() error
- func (m *StreamMessagesRequest_Params) ValidateAll() error
- type StreamMessagesRequest_ParamsMultiError
- type StreamMessagesRequest_ParamsValidationError
- func (e StreamMessagesRequest_ParamsValidationError) Cause() error
- func (e StreamMessagesRequest_ParamsValidationError) Error() string
- func (e StreamMessagesRequest_ParamsValidationError) ErrorName() string
- func (e StreamMessagesRequest_ParamsValidationError) Field() string
- func (e StreamMessagesRequest_ParamsValidationError) Key() bool
- func (e StreamMessagesRequest_ParamsValidationError) Reason() string
- type StreamMessagesRequest_Params_
- type StreamMessagesRequest_Params_LastKnownMessageId
- type StreamMessagesRequest_Params_LatestOnly
- type StreamMessagesRequest_Pong
- type StreamMessagesResponse
- func (*StreamMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMessagesResponse) GetError() *StreamMessagesResponse_StreamError
- func (x *StreamMessagesResponse) GetIsTypingNotifications() *IsTypingBatch
- func (x *StreamMessagesResponse) GetMessages() *MessageBatch
- func (x *StreamMessagesResponse) GetPing() *v1.ServerPing
- func (x *StreamMessagesResponse) GetPointerUpdates() *PointerUpdateBatch
- func (m *StreamMessagesResponse) GetType() isStreamMessagesResponse_Type
- func (*StreamMessagesResponse) ProtoMessage()
- func (x *StreamMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *StreamMessagesResponse) Reset()
- func (x *StreamMessagesResponse) String() string
- func (m *StreamMessagesResponse) Validate() error
- func (m *StreamMessagesResponse) ValidateAll() error
- type StreamMessagesResponseMultiError
- type StreamMessagesResponseValidationError
- func (e StreamMessagesResponseValidationError) Cause() error
- func (e StreamMessagesResponseValidationError) Error() string
- func (e StreamMessagesResponseValidationError) ErrorName() string
- func (e StreamMessagesResponseValidationError) Field() string
- func (e StreamMessagesResponseValidationError) Key() bool
- func (e StreamMessagesResponseValidationError) Reason() string
- type StreamMessagesResponse_Error
- type StreamMessagesResponse_IsTypingNotifications
- type StreamMessagesResponse_Messages
- type StreamMessagesResponse_Ping
- type StreamMessagesResponse_PointerUpdates
- type StreamMessagesResponse_StreamError
- func (*StreamMessagesResponse_StreamError) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMessagesResponse_StreamError) GetCode() StreamMessagesResponse_StreamError_Code
- func (*StreamMessagesResponse_StreamError) ProtoMessage()
- func (x *StreamMessagesResponse_StreamError) ProtoReflect() protoreflect.Message
- func (x *StreamMessagesResponse_StreamError) Reset()
- func (x *StreamMessagesResponse_StreamError) String() string
- func (m *StreamMessagesResponse_StreamError) Validate() error
- func (m *StreamMessagesResponse_StreamError) ValidateAll() error
- type StreamMessagesResponse_StreamErrorMultiError
- type StreamMessagesResponse_StreamErrorValidationError
- func (e StreamMessagesResponse_StreamErrorValidationError) Cause() error
- func (e StreamMessagesResponse_StreamErrorValidationError) Error() string
- func (e StreamMessagesResponse_StreamErrorValidationError) ErrorName() string
- func (e StreamMessagesResponse_StreamErrorValidationError) Field() string
- func (e StreamMessagesResponse_StreamErrorValidationError) Key() bool
- func (e StreamMessagesResponse_StreamErrorValidationError) Reason() string
- type StreamMessagesResponse_StreamError_Code
- func (StreamMessagesResponse_StreamError_Code) Descriptor() protoreflect.EnumDescriptor
- func (x StreamMessagesResponse_StreamError_Code) Enum() *StreamMessagesResponse_StreamError_Code
- func (StreamMessagesResponse_StreamError_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamMessagesResponse_StreamError_Code) Number() protoreflect.EnumNumber
- func (x StreamMessagesResponse_StreamError_Code) String() string
- func (StreamMessagesResponse_StreamError_Code) Type() protoreflect.EnumType
- type TextContent
- func (*TextContent) Descriptor() ([]byte, []int)deprecated
- func (x *TextContent) GetText() string
- func (*TextContent) ProtoMessage()
- func (x *TextContent) ProtoReflect() protoreflect.Message
- func (x *TextContent) Reset()
- func (x *TextContent) String() string
- func (m *TextContent) Validate() error
- func (m *TextContent) ValidateAll() error
- type TextContentMultiError
- 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 TipContent
- func (*TipContent) Descriptor() ([]byte, []int)deprecated
- func (x *TipContent) GetOriginalMessageId() *MessageId
- func (x *TipContent) GetTipAmount() *v1.PaymentAmount
- func (*TipContent) ProtoMessage()
- func (x *TipContent) ProtoReflect() protoreflect.Message
- func (x *TipContent) Reset()
- func (x *TipContent) String() string
- func (m *TipContent) Validate() error
- func (m *TipContent) ValidateAll() error
- type TipContentMultiError
- type TipContentValidationError
- type TypingState
- func (TypingState) Descriptor() protoreflect.EnumDescriptor
- func (x TypingState) Enum() *TypingState
- func (TypingState) EnumDescriptor() ([]byte, []int)deprecated
- func (x TypingState) Number() protoreflect.EnumNumber
- func (x TypingState) String() string
- func (TypingState) Type() protoreflect.EnumType
- type UnimplementedMessagingServer
- func (UnimplementedMessagingServer) AdvancePointer(context.Context, *AdvancePointerRequest) (*AdvancePointerResponse, error)
- func (UnimplementedMessagingServer) GetMessage(context.Context, *GetMessageRequest) (*GetMessageResponse, error)
- func (UnimplementedMessagingServer) GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
- func (UnimplementedMessagingServer) NotifyIsTyping(context.Context, *NotifyIsTypingRequest) (*NotifyIsTypingResponse, error)
- func (UnimplementedMessagingServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
- func (UnimplementedMessagingServer) StreamMessages(grpc.BidiStreamingServer[StreamMessagesRequest, StreamMessagesResponse]) error
- type UnsafeMessagingServer
Constants ¶
const ( Messaging_StreamMessages_FullMethodName = "/flipchat.messaging.v1.Messaging/StreamMessages" Messaging_GetMessage_FullMethodName = "/flipchat.messaging.v1.Messaging/GetMessage" Messaging_GetMessages_FullMethodName = "/flipchat.messaging.v1.Messaging/GetMessages" Messaging_SendMessage_FullMethodName = "/flipchat.messaging.v1.Messaging/SendMessage" Messaging_AdvancePointer_FullMethodName = "/flipchat.messaging.v1.Messaging/AdvancePointer" Messaging_NotifyIsTyping_FullMethodName = "/flipchat.messaging.v1.Messaging/NotifyIsTyping" )
Variables ¶
var ( StreamMessagesResponse_StreamError_Code_name = map[int32]string{ 0: "DENIED", } StreamMessagesResponse_StreamError_Code_value = map[string]int32{ "DENIED": 0, } )
Enum value maps for StreamMessagesResponse_StreamError_Code.
var ( GetMessageResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "NOT_FOUND", } GetMessageResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "NOT_FOUND": 2, } )
Enum value maps for GetMessageResponse_Result.
var ( GetMessagesResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", } GetMessagesResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, } )
Enum value maps for GetMessagesResponse_Result.
var ( SendMessageResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", } SendMessageResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, } )
Enum value maps for SendMessageResponse_Result.
var ( AdvancePointerResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "MESSAGE_NOT_FOUND", } AdvancePointerResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "MESSAGE_NOT_FOUND": 2, } )
Enum value maps for AdvancePointerResponse_Result.
var ( NotifyIsTypingResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", } NotifyIsTypingResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, } )
Enum value maps for NotifyIsTypingResponse_Result.
var ( TypingState_name = map[int32]string{ 0: "UNKNOWN_TYPING_STATE", 1: "STARTED_TYPING", 2: "STILL_TYPING", 3: "STOPPED_TYPING", 4: "TYPING_TIMED_OUT", } TypingState_value = map[string]int32{ "UNKNOWN_TYPING_STATE": 0, "STARTED_TYPING": 1, "STILL_TYPING": 2, "STOPPED_TYPING": 3, "TYPING_TIMED_OUT": 4, } )
Enum value maps for TypingState.
var ( Pointer_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "SENT", 2: "DELIVERED", 3: "READ", } Pointer_Type_value = map[string]int32{ "UNKNOWN": 0, "SENT": 1, "DELIVERED": 2, "READ": 3, } )
Enum value maps for Pointer_Type.
var File_messaging_v1_messaging_service_proto protoreflect.FileDescriptor
var File_messaging_v1_model_proto protoreflect.FileDescriptor
var Messaging_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipchat.messaging.v1.Messaging", HandlerType: (*MessagingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMessage", Handler: _Messaging_GetMessage_Handler, }, { MethodName: "GetMessages", Handler: _Messaging_GetMessages_Handler, }, { MethodName: "SendMessage", Handler: _Messaging_SendMessage_Handler, }, { MethodName: "AdvancePointer", Handler: _Messaging_AdvancePointer_Handler, }, { MethodName: "NotifyIsTyping", Handler: _Messaging_NotifyIsTyping_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamMessages", Handler: _Messaging_StreamMessages_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "messaging/v1/messaging_service.proto", }
Messaging_ServiceDesc is the grpc.ServiceDesc for Messaging service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMessagingServer ¶
func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)
Types ¶
type ActionableAnnouncementContent ¶
type ActionableAnnouncementContent struct { KeyOrText string `protobuf:"bytes,1,opt,name=key_or_text,json=keyOrText,proto3" json:"key_or_text,omitempty"` // An action that can be taken by a user Action *ActionableAnnouncementContent_Action `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
ActionableAnnouncementContent is like LocalizedAnnouncementContent, but contains additional metadata for actions
func (*ActionableAnnouncementContent) Descriptor
deprecated
func (*ActionableAnnouncementContent) Descriptor() ([]byte, []int)
Deprecated: Use ActionableAnnouncementContent.ProtoReflect.Descriptor instead.
func (*ActionableAnnouncementContent) GetAction ¶
func (x *ActionableAnnouncementContent) GetAction() *ActionableAnnouncementContent_Action
func (*ActionableAnnouncementContent) GetKeyOrText ¶
func (x *ActionableAnnouncementContent) GetKeyOrText() string
func (*ActionableAnnouncementContent) ProtoMessage ¶
func (*ActionableAnnouncementContent) ProtoMessage()
func (*ActionableAnnouncementContent) ProtoReflect ¶
func (x *ActionableAnnouncementContent) ProtoReflect() protoreflect.Message
func (*ActionableAnnouncementContent) Reset ¶
func (x *ActionableAnnouncementContent) Reset()
func (*ActionableAnnouncementContent) String ¶
func (x *ActionableAnnouncementContent) String() string
func (*ActionableAnnouncementContent) Validate ¶
func (m *ActionableAnnouncementContent) Validate() error
Validate checks the field values on ActionableAnnouncementContent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ActionableAnnouncementContent) ValidateAll ¶
func (m *ActionableAnnouncementContent) ValidateAll() error
ValidateAll checks the field values on ActionableAnnouncementContent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActionableAnnouncementContentMultiError, or nil if none found.
type ActionableAnnouncementContentMultiError ¶
type ActionableAnnouncementContentMultiError []error
ActionableAnnouncementContentMultiError is an error wrapping multiple validation errors returned by ActionableAnnouncementContent.ValidateAll() if the designated constraints aren't met.
func (ActionableAnnouncementContentMultiError) AllErrors ¶
func (m ActionableAnnouncementContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActionableAnnouncementContentMultiError) Error ¶
func (m ActionableAnnouncementContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActionableAnnouncementContentValidationError ¶
type ActionableAnnouncementContentValidationError struct {
// contains filtered or unexported fields
}
ActionableAnnouncementContentValidationError is the validation error returned by ActionableAnnouncementContent.Validate if the designated constraints aren't met.
func (ActionableAnnouncementContentValidationError) Cause ¶
func (e ActionableAnnouncementContentValidationError) Cause() error
Cause function returns cause value.
func (ActionableAnnouncementContentValidationError) Error ¶
func (e ActionableAnnouncementContentValidationError) Error() string
Error satisfies the builtin error interface
func (ActionableAnnouncementContentValidationError) ErrorName ¶
func (e ActionableAnnouncementContentValidationError) ErrorName() string
ErrorName returns error name.
func (ActionableAnnouncementContentValidationError) Field ¶
func (e ActionableAnnouncementContentValidationError) Field() string
Field function returns field value.
func (ActionableAnnouncementContentValidationError) Key ¶
func (e ActionableAnnouncementContentValidationError) Key() bool
Key function returns key value.
func (ActionableAnnouncementContentValidationError) Reason ¶
func (e ActionableAnnouncementContentValidationError) Reason() string
Reason function returns reason value.
type ActionableAnnouncementContent_Action ¶
type ActionableAnnouncementContent_Action struct { // Types that are assignable to Type: // // *ActionableAnnouncementContent_Action_ShareRoomLink_ Type isActionableAnnouncementContent_Action_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*ActionableAnnouncementContent_Action) Descriptor
deprecated
func (*ActionableAnnouncementContent_Action) Descriptor() ([]byte, []int)
Deprecated: Use ActionableAnnouncementContent_Action.ProtoReflect.Descriptor instead.
func (*ActionableAnnouncementContent_Action) GetShareRoomLink ¶
func (x *ActionableAnnouncementContent_Action) GetShareRoomLink() *ActionableAnnouncementContent_Action_ShareRoomLink
func (*ActionableAnnouncementContent_Action) GetType ¶
func (m *ActionableAnnouncementContent_Action) GetType() isActionableAnnouncementContent_Action_Type
func (*ActionableAnnouncementContent_Action) ProtoMessage ¶
func (*ActionableAnnouncementContent_Action) ProtoMessage()
func (*ActionableAnnouncementContent_Action) ProtoReflect ¶
func (x *ActionableAnnouncementContent_Action) ProtoReflect() protoreflect.Message
func (*ActionableAnnouncementContent_Action) Reset ¶
func (x *ActionableAnnouncementContent_Action) Reset()
func (*ActionableAnnouncementContent_Action) String ¶
func (x *ActionableAnnouncementContent_Action) String() string
func (*ActionableAnnouncementContent_Action) Validate ¶
func (m *ActionableAnnouncementContent_Action) Validate() error
Validate checks the field values on ActionableAnnouncementContent_Action with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ActionableAnnouncementContent_Action) ValidateAll ¶
func (m *ActionableAnnouncementContent_Action) ValidateAll() error
ValidateAll checks the field values on ActionableAnnouncementContent_Action with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActionableAnnouncementContent_ActionMultiError, or nil if none found.
type ActionableAnnouncementContent_ActionMultiError ¶
type ActionableAnnouncementContent_ActionMultiError []error
ActionableAnnouncementContent_ActionMultiError is an error wrapping multiple validation errors returned by ActionableAnnouncementContent_Action.ValidateAll() if the designated constraints aren't met.
func (ActionableAnnouncementContent_ActionMultiError) AllErrors ¶
func (m ActionableAnnouncementContent_ActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActionableAnnouncementContent_ActionMultiError) Error ¶
func (m ActionableAnnouncementContent_ActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActionableAnnouncementContent_ActionValidationError ¶
type ActionableAnnouncementContent_ActionValidationError struct {
// contains filtered or unexported fields
}
ActionableAnnouncementContent_ActionValidationError is the validation error returned by ActionableAnnouncementContent_Action.Validate if the designated constraints aren't met.
func (ActionableAnnouncementContent_ActionValidationError) Cause ¶
func (e ActionableAnnouncementContent_ActionValidationError) Cause() error
Cause function returns cause value.
func (ActionableAnnouncementContent_ActionValidationError) Error ¶
func (e ActionableAnnouncementContent_ActionValidationError) Error() string
Error satisfies the builtin error interface
func (ActionableAnnouncementContent_ActionValidationError) ErrorName ¶
func (e ActionableAnnouncementContent_ActionValidationError) ErrorName() string
ErrorName returns error name.
func (ActionableAnnouncementContent_ActionValidationError) Field ¶
func (e ActionableAnnouncementContent_ActionValidationError) Field() string
Field function returns field value.
func (ActionableAnnouncementContent_ActionValidationError) Key ¶
func (e ActionableAnnouncementContent_ActionValidationError) Key() bool
Key function returns key value.
func (ActionableAnnouncementContent_ActionValidationError) Reason ¶
func (e ActionableAnnouncementContent_ActionValidationError) Reason() string
Reason function returns reason value.
type ActionableAnnouncementContent_Action_ShareRoomLink ¶
type ActionableAnnouncementContent_Action_ShareRoomLink struct {
// contains filtered or unexported fields
}
Displays a button to share a link to a room
func (*ActionableAnnouncementContent_Action_ShareRoomLink) Descriptor
deprecated
func (*ActionableAnnouncementContent_Action_ShareRoomLink) Descriptor() ([]byte, []int)
Deprecated: Use ActionableAnnouncementContent_Action_ShareRoomLink.ProtoReflect.Descriptor instead.
func (*ActionableAnnouncementContent_Action_ShareRoomLink) ProtoMessage ¶
func (*ActionableAnnouncementContent_Action_ShareRoomLink) ProtoMessage()
func (*ActionableAnnouncementContent_Action_ShareRoomLink) ProtoReflect ¶
func (x *ActionableAnnouncementContent_Action_ShareRoomLink) ProtoReflect() protoreflect.Message
func (*ActionableAnnouncementContent_Action_ShareRoomLink) Reset ¶
func (x *ActionableAnnouncementContent_Action_ShareRoomLink) Reset()
func (*ActionableAnnouncementContent_Action_ShareRoomLink) String ¶
func (x *ActionableAnnouncementContent_Action_ShareRoomLink) String() string
func (*ActionableAnnouncementContent_Action_ShareRoomLink) Validate ¶
func (m *ActionableAnnouncementContent_Action_ShareRoomLink) Validate() error
Validate checks the field values on ActionableAnnouncementContent_Action_ShareRoomLink with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ActionableAnnouncementContent_Action_ShareRoomLink) ValidateAll ¶
func (m *ActionableAnnouncementContent_Action_ShareRoomLink) ValidateAll() error
ValidateAll checks the field values on ActionableAnnouncementContent_Action_ShareRoomLink with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActionableAnnouncementContent_Action_ShareRoomLinkMultiError, or nil if none found.
type ActionableAnnouncementContent_Action_ShareRoomLinkMultiError ¶
type ActionableAnnouncementContent_Action_ShareRoomLinkMultiError []error
ActionableAnnouncementContent_Action_ShareRoomLinkMultiError is an error wrapping multiple validation errors returned by ActionableAnnouncementContent_Action_ShareRoomLink.ValidateAll() if the designated constraints aren't met.
func (ActionableAnnouncementContent_Action_ShareRoomLinkMultiError) AllErrors ¶
func (m ActionableAnnouncementContent_Action_ShareRoomLinkMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActionableAnnouncementContent_Action_ShareRoomLinkMultiError) Error ¶
func (m ActionableAnnouncementContent_Action_ShareRoomLinkMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActionableAnnouncementContent_Action_ShareRoomLinkValidationError ¶
type ActionableAnnouncementContent_Action_ShareRoomLinkValidationError struct {
// contains filtered or unexported fields
}
ActionableAnnouncementContent_Action_ShareRoomLinkValidationError is the validation error returned by ActionableAnnouncementContent_Action_ShareRoomLink.Validate if the designated constraints aren't met.
func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Cause ¶
func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Cause() error
Cause function returns cause value.
func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Error ¶
func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Error() string
Error satisfies the builtin error interface
func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) ErrorName ¶
func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) ErrorName() string
ErrorName returns error name.
func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Field ¶
func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Field() string
Field function returns field value.
func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Key ¶
Key function returns key value.
func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Reason ¶
func (e ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Reason() string
Reason function returns reason value.
type ActionableAnnouncementContent_Action_ShareRoomLink_ ¶
type ActionableAnnouncementContent_Action_ShareRoomLink_ struct {
}type AdvancePointerRequest ¶
type AdvancePointerRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"` Auth *v1.Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*AdvancePointerRequest) Descriptor
deprecated
func (*AdvancePointerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdvancePointerRequest.ProtoReflect.Descriptor instead.
func (*AdvancePointerRequest) GetAuth ¶
func (x *AdvancePointerRequest) GetAuth() *v1.Auth
func (*AdvancePointerRequest) GetChatId ¶
func (x *AdvancePointerRequest) GetChatId() *v1.ChatId
func (*AdvancePointerRequest) GetPointer ¶
func (x *AdvancePointerRequest) GetPointer() *Pointer
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, the first error encountered is returned, or nil if there are no violations.
func (*AdvancePointerRequest) ValidateAll ¶
func (m *AdvancePointerRequest) ValidateAll() error
ValidateAll checks the field values on AdvancePointerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdvancePointerRequestMultiError, or nil if none found.
type AdvancePointerRequestMultiError ¶
type AdvancePointerRequestMultiError []error
AdvancePointerRequestMultiError is an error wrapping multiple validation errors returned by AdvancePointerRequest.ValidateAll() if the designated constraints aren't met.
func (AdvancePointerRequestMultiError) AllErrors ¶
func (m AdvancePointerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdvancePointerRequestMultiError) Error ¶
func (m AdvancePointerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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=flipchat.messaging.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, the first error encountered is returned, or nil if there are no violations.
func (*AdvancePointerResponse) ValidateAll ¶
func (m *AdvancePointerResponse) ValidateAll() error
ValidateAll checks the field values on AdvancePointerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AdvancePointerResponseMultiError, or nil if none found.
type AdvancePointerResponseMultiError ¶
type AdvancePointerResponseMultiError []error
AdvancePointerResponseMultiError is an error wrapping multiple validation errors returned by AdvancePointerResponse.ValidateAll() if the designated constraints aren't met.
func (AdvancePointerResponseMultiError) AllErrors ¶
func (m AdvancePointerResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdvancePointerResponseMultiError) Error ¶
func (m AdvancePointerResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AdvancePointerResponseValidationError ¶
type AdvancePointerResponseValidationError struct {
// contains filtered or unexported fields
}
AdvancePointerResponseValidationError is the validation error returned by AdvancePointerResponse.Validate if the designated constraints aren't met.
func (AdvancePointerResponseValidationError) Cause ¶
func (e AdvancePointerResponseValidationError) Cause() error
Cause function returns cause value.
func (AdvancePointerResponseValidationError) Error ¶
func (e AdvancePointerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AdvancePointerResponseValidationError) ErrorName ¶
func (e AdvancePointerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AdvancePointerResponseValidationError) Field ¶
func (e AdvancePointerResponseValidationError) Field() string
Field function returns field value.
func (AdvancePointerResponseValidationError) Key ¶
func (e AdvancePointerResponseValidationError) Key() bool
Key function returns key value.
func (AdvancePointerResponseValidationError) Reason ¶
func (e AdvancePointerResponseValidationError) Reason() string
Reason function returns reason value.
type AdvancePointerResponse_Result ¶
type AdvancePointerResponse_Result int32
const ( AdvancePointerResponse_OK AdvancePointerResponse_Result = 0 AdvancePointerResponse_DENIED AdvancePointerResponse_Result = 1 AdvancePointerResponse_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 Content ¶
type Content struct { // Types that are assignable to Type: // // *Content_Text // *Content_LocalizedAnnouncement // *Content_Reaction // *Content_Reply // *Content_Tip // *Content_Deleted // *Content_Review // *Content_ActionableAnnouncement Type isContent_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Content for a chat message
func (*Content) Descriptor
deprecated
func (*Content) GetActionableAnnouncement ¶
func (x *Content) GetActionableAnnouncement() *ActionableAnnouncementContent
func (*Content) GetDeleted ¶
func (x *Content) GetDeleted() *DeleteMessageContent
func (*Content) GetLocalizedAnnouncement ¶
func (x *Content) GetLocalizedAnnouncement() *LocalizedAnnouncementContent
func (*Content) GetReaction ¶
func (x *Content) GetReaction() *ReactionContent
func (*Content) GetReply ¶
func (x *Content) GetReply() *ReplyContent
func (*Content) GetReview ¶
func (x *Content) GetReview() *ReviewContent
func (*Content) GetText ¶
func (x *Content) GetText() *TextContent
func (*Content) GetTip ¶
func (x *Content) GetTip() *TipContent
func (*Content) ProtoMessage ¶
func (*Content) ProtoMessage()
func (*Content) ProtoReflect ¶
func (x *Content) ProtoReflect() protoreflect.Message
func (*Content) Validate ¶
Validate checks the field values on Content with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Content) ValidateAll ¶
ValidateAll checks the field values on Content with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContentMultiError, or nil if none found.
type ContentMultiError ¶
type ContentMultiError []error
ContentMultiError is an error wrapping multiple validation errors returned by Content.ValidateAll() if the designated constraints aren't met.
func (ContentMultiError) AllErrors ¶
func (m ContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContentMultiError) Error ¶
func (m ContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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_ActionableAnnouncement ¶
type Content_ActionableAnnouncement struct {
ActionableAnnouncement *ActionableAnnouncementContent `protobuf:"bytes,10,opt,name=actionable_announcement,json=actionableAnnouncement,proto3,oneof"`
}
type Content_Deleted ¶
type Content_Deleted struct {
Deleted *DeleteMessageContent `protobuf:"bytes,8,opt,name=deleted,proto3,oneof"`
}
type Content_LocalizedAnnouncement ¶
type Content_LocalizedAnnouncement struct {
LocalizedAnnouncement *LocalizedAnnouncementContent `protobuf:"bytes,2,opt,name=localized_announcement,json=localizedAnnouncement,proto3,oneof"`
}
type Content_Reaction ¶
type Content_Reaction struct {
Reaction *ReactionContent `protobuf:"bytes,5,opt,name=reaction,proto3,oneof"`
}
type Content_Reply ¶
type Content_Reply struct {
Reply *ReplyContent `protobuf:"bytes,6,opt,name=reply,proto3,oneof"`
}
type Content_Review ¶
type Content_Review struct {
Review *ReviewContent `protobuf:"bytes,9,opt,name=review,proto3,oneof"`
}
type Content_Text ¶
type Content_Text struct {
Text *TextContent `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type Content_Tip ¶
type Content_Tip struct {
Tip *TipContent `protobuf:"bytes,7,opt,name=tip,proto3,oneof"`
}
type DeleteMessageContent ¶
type DeleteMessageContent struct { // The message ID of the message that was deleted OriginalMessageId *MessageId `protobuf:"bytes,1,opt,name=original_message_id,json=originalMessageId,proto3" json:"original_message_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMessageContent) Descriptor
deprecated
func (*DeleteMessageContent) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMessageContent.ProtoReflect.Descriptor instead.
func (*DeleteMessageContent) GetOriginalMessageId ¶
func (x *DeleteMessageContent) GetOriginalMessageId() *MessageId
func (*DeleteMessageContent) ProtoMessage ¶
func (*DeleteMessageContent) ProtoMessage()
func (*DeleteMessageContent) ProtoReflect ¶
func (x *DeleteMessageContent) ProtoReflect() protoreflect.Message
func (*DeleteMessageContent) Reset ¶
func (x *DeleteMessageContent) Reset()
func (*DeleteMessageContent) String ¶
func (x *DeleteMessageContent) String() string
func (*DeleteMessageContent) Validate ¶
func (m *DeleteMessageContent) Validate() error
Validate checks the field values on DeleteMessageContent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteMessageContent) ValidateAll ¶
func (m *DeleteMessageContent) ValidateAll() error
ValidateAll checks the field values on DeleteMessageContent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteMessageContentMultiError, or nil if none found.
type DeleteMessageContentMultiError ¶
type DeleteMessageContentMultiError []error
DeleteMessageContentMultiError is an error wrapping multiple validation errors returned by DeleteMessageContent.ValidateAll() if the designated constraints aren't met.
func (DeleteMessageContentMultiError) AllErrors ¶
func (m DeleteMessageContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteMessageContentMultiError) Error ¶
func (m DeleteMessageContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteMessageContentValidationError ¶
type DeleteMessageContentValidationError struct {
// contains filtered or unexported fields
}
DeleteMessageContentValidationError is the validation error returned by DeleteMessageContent.Validate if the designated constraints aren't met.
func (DeleteMessageContentValidationError) Cause ¶
func (e DeleteMessageContentValidationError) Cause() error
Cause function returns cause value.
func (DeleteMessageContentValidationError) Error ¶
func (e DeleteMessageContentValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteMessageContentValidationError) ErrorName ¶
func (e DeleteMessageContentValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteMessageContentValidationError) Field ¶
func (e DeleteMessageContentValidationError) Field() string
Field function returns field value.
func (DeleteMessageContentValidationError) Key ¶
func (e DeleteMessageContentValidationError) Key() bool
Key function returns key value.
func (DeleteMessageContentValidationError) Reason ¶
func (e DeleteMessageContentValidationError) Reason() string
Reason function returns reason value.
type GetMessageRequest ¶
type GetMessageRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MessageId *MessageId `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Auth *v1.Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*GetMessageRequest) Descriptor
deprecated
func (*GetMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessageRequest.ProtoReflect.Descriptor instead.
func (*GetMessageRequest) GetAuth ¶
func (x *GetMessageRequest) GetAuth() *v1.Auth
func (*GetMessageRequest) GetChatId ¶
func (x *GetMessageRequest) GetChatId() *v1.ChatId
func (*GetMessageRequest) GetMessageId ¶
func (x *GetMessageRequest) GetMessageId() *MessageId
func (*GetMessageRequest) ProtoMessage ¶
func (*GetMessageRequest) ProtoMessage()
func (*GetMessageRequest) ProtoReflect ¶
func (x *GetMessageRequest) ProtoReflect() protoreflect.Message
func (*GetMessageRequest) Reset ¶
func (x *GetMessageRequest) Reset()
func (*GetMessageRequest) String ¶
func (x *GetMessageRequest) String() string
func (*GetMessageRequest) Validate ¶
func (m *GetMessageRequest) Validate() error
Validate checks the field values on GetMessageRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetMessageRequest) ValidateAll ¶
func (m *GetMessageRequest) ValidateAll() error
ValidateAll checks the field values on GetMessageRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMessageRequestMultiError, or nil if none found.
type GetMessageRequestMultiError ¶
type GetMessageRequestMultiError []error
GetMessageRequestMultiError is an error wrapping multiple validation errors returned by GetMessageRequest.ValidateAll() if the designated constraints aren't met.
func (GetMessageRequestMultiError) AllErrors ¶
func (m GetMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMessageRequestMultiError) Error ¶
func (m GetMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMessageRequestValidationError ¶
type GetMessageRequestValidationError struct {
// contains filtered or unexported fields
}
GetMessageRequestValidationError is the validation error returned by GetMessageRequest.Validate if the designated constraints aren't met.
func (GetMessageRequestValidationError) Cause ¶
func (e GetMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMessageRequestValidationError) Error ¶
func (e GetMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMessageRequestValidationError) ErrorName ¶
func (e GetMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMessageRequestValidationError) Field ¶
func (e GetMessageRequestValidationError) Field() string
Field function returns field value.
func (GetMessageRequestValidationError) Key ¶
func (e GetMessageRequestValidationError) Key() bool
Key function returns key value.
func (GetMessageRequestValidationError) Reason ¶
func (e GetMessageRequestValidationError) Reason() string
Reason function returns reason value.
type GetMessageResponse ¶
type GetMessageResponse struct { Result GetMessageResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.messaging.v1.GetMessageResponse_Result" json:"result,omitempty"` Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*GetMessageResponse) Descriptor
deprecated
func (*GetMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMessageResponse.ProtoReflect.Descriptor instead.
func (*GetMessageResponse) GetMessage ¶
func (x *GetMessageResponse) GetMessage() *Message
func (*GetMessageResponse) GetResult ¶
func (x *GetMessageResponse) GetResult() GetMessageResponse_Result
func (*GetMessageResponse) ProtoMessage ¶
func (*GetMessageResponse) ProtoMessage()
func (*GetMessageResponse) ProtoReflect ¶
func (x *GetMessageResponse) ProtoReflect() protoreflect.Message
func (*GetMessageResponse) Reset ¶
func (x *GetMessageResponse) Reset()
func (*GetMessageResponse) String ¶
func (x *GetMessageResponse) String() string
func (*GetMessageResponse) Validate ¶
func (m *GetMessageResponse) Validate() error
Validate checks the field values on GetMessageResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetMessageResponse) ValidateAll ¶
func (m *GetMessageResponse) ValidateAll() error
ValidateAll checks the field values on GetMessageResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMessageResponseMultiError, or nil if none found.
type GetMessageResponseMultiError ¶
type GetMessageResponseMultiError []error
GetMessageResponseMultiError is an error wrapping multiple validation errors returned by GetMessageResponse.ValidateAll() if the designated constraints aren't met.
func (GetMessageResponseMultiError) AllErrors ¶
func (m GetMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMessageResponseMultiError) Error ¶
func (m GetMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMessageResponseValidationError ¶
type GetMessageResponseValidationError struct {
// contains filtered or unexported fields
}
GetMessageResponseValidationError is the validation error returned by GetMessageResponse.Validate if the designated constraints aren't met.
func (GetMessageResponseValidationError) Cause ¶
func (e GetMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMessageResponseValidationError) Error ¶
func (e GetMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMessageResponseValidationError) ErrorName ¶
func (e GetMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMessageResponseValidationError) Field ¶
func (e GetMessageResponseValidationError) Field() string
Field function returns field value.
func (GetMessageResponseValidationError) Key ¶
func (e GetMessageResponseValidationError) Key() bool
Key function returns key value.
func (GetMessageResponseValidationError) Reason ¶
func (e GetMessageResponseValidationError) Reason() string
Reason function returns reason value.
type GetMessageResponse_Result ¶
type GetMessageResponse_Result int32
const ( GetMessageResponse_OK GetMessageResponse_Result = 0 GetMessageResponse_DENIED GetMessageResponse_Result = 1 GetMessageResponse_NOT_FOUND GetMessageResponse_Result = 2 )
func (GetMessageResponse_Result) Descriptor ¶
func (GetMessageResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetMessageResponse_Result) Enum ¶
func (x GetMessageResponse_Result) Enum() *GetMessageResponse_Result
func (GetMessageResponse_Result) EnumDescriptor
deprecated
func (GetMessageResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetMessageResponse_Result.Descriptor instead.
func (GetMessageResponse_Result) Number ¶
func (x GetMessageResponse_Result) Number() protoreflect.EnumNumber
func (GetMessageResponse_Result) String ¶
func (x GetMessageResponse_Result) String() string
func (GetMessageResponse_Result) Type ¶
func (GetMessageResponse_Result) Type() protoreflect.EnumType
type GetMessagesRequest ¶
type GetMessagesRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // If not set, defaults to an ascending query option without a page token and server-defined limit // // Types that are assignable to Query: // // *GetMessagesRequest_Options // *GetMessagesRequest_MessageIds Query isGetMessagesRequest_Query `protobuf_oneof:"query"` Auth *v1.Auth `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*GetMessagesRequest) Descriptor
deprecated
func (*GetMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetMessagesRequest) GetAuth ¶
func (x *GetMessagesRequest) GetAuth() *v1.Auth
func (*GetMessagesRequest) GetChatId ¶
func (x *GetMessagesRequest) GetChatId() *v1.ChatId
func (*GetMessagesRequest) GetMessageIds ¶
func (x *GetMessagesRequest) GetMessageIds() *MessageIdBatch
func (*GetMessagesRequest) GetOptions ¶
func (x *GetMessagesRequest) GetOptions() *v1.QueryOptions
func (*GetMessagesRequest) GetQuery ¶
func (m *GetMessagesRequest) GetQuery() isGetMessagesRequest_Query
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, the first error encountered is returned, or nil if there are no violations.
func (*GetMessagesRequest) ValidateAll ¶
func (m *GetMessagesRequest) ValidateAll() error
ValidateAll checks the field values on GetMessagesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMessagesRequestMultiError, or nil if none found.
type GetMessagesRequestMultiError ¶
type GetMessagesRequestMultiError []error
GetMessagesRequestMultiError is an error wrapping multiple validation errors returned by GetMessagesRequest.ValidateAll() if the designated constraints aren't met.
func (GetMessagesRequestMultiError) AllErrors ¶
func (m GetMessagesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMessagesRequestMultiError) Error ¶
func (m GetMessagesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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_MessageIds ¶
type GetMessagesRequest_MessageIds struct {
MessageIds *MessageIdBatch `protobuf:"bytes,3,opt,name=message_ids,json=messageIds,proto3,oneof"`
}
type GetMessagesRequest_Options ¶
type GetMessagesRequest_Options struct {
Options *v1.QueryOptions `protobuf:"bytes,2,opt,name=options,proto3,oneof"`
}
type GetMessagesResponse ¶
type GetMessagesResponse struct { Result GetMessagesResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.messaging.v1.GetMessagesResponse_Result" json:"result,omitempty"` Messages []*Message `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() []*Message
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, the first error encountered is returned, or nil if there are no violations.
func (*GetMessagesResponse) ValidateAll ¶
func (m *GetMessagesResponse) ValidateAll() error
ValidateAll checks the field values on GetMessagesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMessagesResponseMultiError, or nil if none found.
type GetMessagesResponseMultiError ¶
type GetMessagesResponseMultiError []error
GetMessagesResponseMultiError is an error wrapping multiple validation errors returned by GetMessagesResponse.ValidateAll() if the designated constraints aren't met.
func (GetMessagesResponseMultiError) AllErrors ¶
func (m GetMessagesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMessagesResponseMultiError) Error ¶
func (m GetMessagesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMessagesResponseValidationError ¶
type GetMessagesResponseValidationError struct {
// contains filtered or unexported fields
}
GetMessagesResponseValidationError is the validation error returned by GetMessagesResponse.Validate if the designated constraints aren't met.
func (GetMessagesResponseValidationError) Cause ¶
func (e GetMessagesResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMessagesResponseValidationError) Error ¶
func (e GetMessagesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMessagesResponseValidationError) ErrorName ¶
func (e GetMessagesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMessagesResponseValidationError) Field ¶
func (e GetMessagesResponseValidationError) Field() string
Field function returns field value.
func (GetMessagesResponseValidationError) Key ¶
func (e GetMessagesResponseValidationError) Key() bool
Key function returns key value.
func (GetMessagesResponseValidationError) Reason ¶
func (e GetMessagesResponseValidationError) Reason() string
Reason function returns reason value.
type GetMessagesResponse_Result ¶
type GetMessagesResponse_Result int32
const ( GetMessagesResponse_OK GetMessagesResponse_Result = 0 GetMessagesResponse_DENIED GetMessagesResponse_Result = 1 )
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 IsTyping ¶
type IsTyping struct { UserId *v1.UserId `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Deprecated: Use typing_state instead IsTyping bool `protobuf:"varint,2,opt,name=is_typing,json=isTyping,proto3" json:"is_typing,omitempty"` TypingState TypingState `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IsTyping) Descriptor
deprecated
func (*IsTyping) GetIsTyping ¶
func (*IsTyping) GetTypingState ¶ added in v1.1.0
func (x *IsTyping) GetTypingState() TypingState
func (*IsTyping) ProtoMessage ¶
func (*IsTyping) ProtoMessage()
func (*IsTyping) ProtoReflect ¶
func (x *IsTyping) ProtoReflect() protoreflect.Message
func (*IsTyping) Validate ¶
Validate checks the field values on IsTyping with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IsTyping) ValidateAll ¶
ValidateAll checks the field values on IsTyping with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsTypingMultiError, or nil if none found.
type IsTypingBatch ¶ added in v1.1.0
type IsTypingBatch struct { IsTypingNotifications []*IsTyping `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IsTypingBatch) Descriptor
deprecated
added in
v1.1.0
func (*IsTypingBatch) Descriptor() ([]byte, []int)
Deprecated: Use IsTypingBatch.ProtoReflect.Descriptor instead.
func (*IsTypingBatch) GetIsTypingNotifications ¶ added in v1.1.0
func (x *IsTypingBatch) GetIsTypingNotifications() []*IsTyping
func (*IsTypingBatch) ProtoMessage ¶ added in v1.1.0
func (*IsTypingBatch) ProtoMessage()
func (*IsTypingBatch) ProtoReflect ¶ added in v1.1.0
func (x *IsTypingBatch) ProtoReflect() protoreflect.Message
func (*IsTypingBatch) Reset ¶ added in v1.1.0
func (x *IsTypingBatch) Reset()
func (*IsTypingBatch) String ¶ added in v1.1.0
func (x *IsTypingBatch) String() string
func (*IsTypingBatch) Validate ¶ added in v1.1.0
func (m *IsTypingBatch) Validate() error
Validate checks the field values on IsTypingBatch with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IsTypingBatch) ValidateAll ¶ added in v1.1.0
func (m *IsTypingBatch) ValidateAll() error
ValidateAll checks the field values on IsTypingBatch with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IsTypingBatchMultiError, or nil if none found.
type IsTypingBatchMultiError ¶ added in v1.1.0
type IsTypingBatchMultiError []error
IsTypingBatchMultiError is an error wrapping multiple validation errors returned by IsTypingBatch.ValidateAll() if the designated constraints aren't met.
func (IsTypingBatchMultiError) AllErrors ¶ added in v1.1.0
func (m IsTypingBatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsTypingBatchMultiError) Error ¶ added in v1.1.0
func (m IsTypingBatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsTypingBatchValidationError ¶ added in v1.1.0
type IsTypingBatchValidationError struct {
// contains filtered or unexported fields
}
IsTypingBatchValidationError is the validation error returned by IsTypingBatch.Validate if the designated constraints aren't met.
func (IsTypingBatchValidationError) Cause ¶ added in v1.1.0
func (e IsTypingBatchValidationError) Cause() error
Cause function returns cause value.
func (IsTypingBatchValidationError) Error ¶ added in v1.1.0
func (e IsTypingBatchValidationError) Error() string
Error satisfies the builtin error interface
func (IsTypingBatchValidationError) ErrorName ¶ added in v1.1.0
func (e IsTypingBatchValidationError) ErrorName() string
ErrorName returns error name.
func (IsTypingBatchValidationError) Field ¶ added in v1.1.0
func (e IsTypingBatchValidationError) Field() string
Field function returns field value.
func (IsTypingBatchValidationError) Key ¶ added in v1.1.0
func (e IsTypingBatchValidationError) Key() bool
Key function returns key value.
func (IsTypingBatchValidationError) Reason ¶ added in v1.1.0
func (e IsTypingBatchValidationError) Reason() string
Reason function returns reason value.
type IsTypingMultiError ¶
type IsTypingMultiError []error
IsTypingMultiError is an error wrapping multiple validation errors returned by IsTyping.ValidateAll() if the designated constraints aren't met.
func (IsTypingMultiError) AllErrors ¶
func (m IsTypingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsTypingMultiError) Error ¶
func (m IsTypingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsTypingValidationError ¶
type IsTypingValidationError struct {
// contains filtered or unexported fields
}
IsTypingValidationError is the validation error returned by IsTyping.Validate if the designated constraints aren't met.
func (IsTypingValidationError) Cause ¶
func (e IsTypingValidationError) Cause() error
Cause function returns cause value.
func (IsTypingValidationError) Error ¶
func (e IsTypingValidationError) Error() string
Error satisfies the builtin error interface
func (IsTypingValidationError) ErrorName ¶
func (e IsTypingValidationError) ErrorName() string
ErrorName returns error name.
func (IsTypingValidationError) Field ¶
func (e IsTypingValidationError) Field() string
Field function returns field value.
func (IsTypingValidationError) Key ¶
func (e IsTypingValidationError) Key() bool
Key function returns key value.
func (IsTypingValidationError) Reason ¶
func (e IsTypingValidationError) Reason() string
Reason function returns reason value.
type LocalizedAnnouncementContent ¶
type LocalizedAnnouncementContent struct { KeyOrText string `protobuf:"bytes,1,opt,name=key_or_text,json=keyOrText,proto3" json:"key_or_text,omitempty"` // contains filtered or unexported fields }
LocalizedAnnouncementContent content is an annoucement that is either a localization key that should be translated on client, or a server-side translated piece of text.
func (*LocalizedAnnouncementContent) Descriptor
deprecated
func (*LocalizedAnnouncementContent) Descriptor() ([]byte, []int)
Deprecated: Use LocalizedAnnouncementContent.ProtoReflect.Descriptor instead.
func (*LocalizedAnnouncementContent) GetKeyOrText ¶
func (x *LocalizedAnnouncementContent) GetKeyOrText() string
func (*LocalizedAnnouncementContent) ProtoMessage ¶
func (*LocalizedAnnouncementContent) ProtoMessage()
func (*LocalizedAnnouncementContent) ProtoReflect ¶
func (x *LocalizedAnnouncementContent) ProtoReflect() protoreflect.Message
func (*LocalizedAnnouncementContent) Reset ¶
func (x *LocalizedAnnouncementContent) Reset()
func (*LocalizedAnnouncementContent) String ¶
func (x *LocalizedAnnouncementContent) String() string
func (*LocalizedAnnouncementContent) Validate ¶
func (m *LocalizedAnnouncementContent) Validate() error
Validate checks the field values on LocalizedAnnouncementContent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LocalizedAnnouncementContent) ValidateAll ¶
func (m *LocalizedAnnouncementContent) ValidateAll() error
ValidateAll checks the field values on LocalizedAnnouncementContent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocalizedAnnouncementContentMultiError, or nil if none found.
type LocalizedAnnouncementContentMultiError ¶
type LocalizedAnnouncementContentMultiError []error
LocalizedAnnouncementContentMultiError is an error wrapping multiple validation errors returned by LocalizedAnnouncementContent.ValidateAll() if the designated constraints aren't met.
func (LocalizedAnnouncementContentMultiError) AllErrors ¶
func (m LocalizedAnnouncementContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LocalizedAnnouncementContentMultiError) Error ¶
func (m LocalizedAnnouncementContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LocalizedAnnouncementContentValidationError ¶
type LocalizedAnnouncementContentValidationError struct {
// contains filtered or unexported fields
}
LocalizedAnnouncementContentValidationError is the validation error returned by LocalizedAnnouncementContent.Validate if the designated constraints aren't met.
func (LocalizedAnnouncementContentValidationError) Cause ¶
func (e LocalizedAnnouncementContentValidationError) Cause() error
Cause function returns cause value.
func (LocalizedAnnouncementContentValidationError) Error ¶
func (e LocalizedAnnouncementContentValidationError) Error() string
Error satisfies the builtin error interface
func (LocalizedAnnouncementContentValidationError) ErrorName ¶
func (e LocalizedAnnouncementContentValidationError) ErrorName() string
ErrorName returns error name.
func (LocalizedAnnouncementContentValidationError) Field ¶
func (e LocalizedAnnouncementContentValidationError) Field() string
Field function returns field value.
func (LocalizedAnnouncementContentValidationError) Key ¶
func (e LocalizedAnnouncementContentValidationError) Key() bool
Key function returns key value.
func (LocalizedAnnouncementContentValidationError) Reason ¶
func (e LocalizedAnnouncementContentValidationError) Reason() string
Reason function returns reason value.
type Message ¶
type Message struct { // Globally unique ID for this message MessageId *MessageId `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // The chat member that sent the message. For NOTIFICATION chats, this field // is omitted since the chat has exactly 1 member. SenderId *v1.UserId `protobuf:"bytes,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` // Message content, which is currently guaranteed to have exactly one item. Content []*Content `protobuf:"bytes,3,rep,name=content,proto3" json:"content,omitempty"` // Timestamp this message was generated at. This value is also encoded in // any time-based UUID message IDs. Ts *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ts,proto3" json:"ts,omitempty"` // If sender_id is provided, were they off stage at the time of sending // this message WasSenderOffStage bool `protobuf:"varint,5,opt,name=was_sender_off_stage,json=wasSenderOffStage,proto3" json:"was_sender_off_stage,omitempty"` // contains filtered or unexported fields }
A message in a chat
func (*Message) Descriptor
deprecated
func (*Message) GetContent ¶
func (*Message) GetMessageId ¶
func (*Message) GetSenderId ¶
func (*Message) GetTs ¶
func (x *Message) GetTs() *timestamppb.Timestamp
func (*Message) GetWasSenderOffStage ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) Validate ¶
Validate checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message) ValidateAll ¶
ValidateAll checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageMultiError, or nil if none found.
type MessageBatch ¶
type MessageBatch struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*MessageBatch) Descriptor
deprecated
func (*MessageBatch) Descriptor() ([]byte, []int)
Deprecated: Use MessageBatch.ProtoReflect.Descriptor instead.
func (*MessageBatch) GetMessages ¶
func (x *MessageBatch) GetMessages() []*Message
func (*MessageBatch) ProtoMessage ¶
func (*MessageBatch) ProtoMessage()
func (*MessageBatch) ProtoReflect ¶
func (x *MessageBatch) ProtoReflect() protoreflect.Message
func (*MessageBatch) Reset ¶
func (x *MessageBatch) Reset()
func (*MessageBatch) String ¶
func (x *MessageBatch) String() string
func (*MessageBatch) Validate ¶
func (m *MessageBatch) Validate() error
Validate checks the field values on MessageBatch with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageBatch) ValidateAll ¶
func (m *MessageBatch) ValidateAll() error
ValidateAll checks the field values on MessageBatch with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageBatchMultiError, or nil if none found.
type MessageBatchMultiError ¶
type MessageBatchMultiError []error
MessageBatchMultiError is an error wrapping multiple validation errors returned by MessageBatch.ValidateAll() if the designated constraints aren't met.
func (MessageBatchMultiError) AllErrors ¶
func (m MessageBatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageBatchMultiError) Error ¶
func (m MessageBatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageBatchValidationError ¶
type MessageBatchValidationError struct {
// contains filtered or unexported fields
}
MessageBatchValidationError is the validation error returned by MessageBatch.Validate if the designated constraints aren't met.
func (MessageBatchValidationError) Cause ¶
func (e MessageBatchValidationError) Cause() error
Cause function returns cause value.
func (MessageBatchValidationError) Error ¶
func (e MessageBatchValidationError) Error() string
Error satisfies the builtin error interface
func (MessageBatchValidationError) ErrorName ¶
func (e MessageBatchValidationError) ErrorName() string
ErrorName returns error name.
func (MessageBatchValidationError) Field ¶
func (e MessageBatchValidationError) Field() string
Field function returns field value.
func (MessageBatchValidationError) Key ¶
func (e MessageBatchValidationError) Key() bool
Key function returns key value.
func (MessageBatchValidationError) Reason ¶
func (e MessageBatchValidationError) Reason() string
Reason function returns reason value.
type MessageId ¶
type MessageId struct { // A lexicographically sortable ID that can be used to sort source of // chat history. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*MessageId) Descriptor
deprecated
func (*MessageId) ProtoMessage ¶
func (*MessageId) ProtoMessage()
func (*MessageId) ProtoReflect ¶
func (x *MessageId) ProtoReflect() protoreflect.Message
func (*MessageId) Validate ¶
Validate checks the field values on MessageId with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageId) ValidateAll ¶
ValidateAll checks the field values on MessageId with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageIdMultiError, or nil if none found.
type MessageIdBatch ¶
type MessageIdBatch struct { MessageIds []*MessageId `protobuf:"bytes,1,rep,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"` // contains filtered or unexported fields }
func (*MessageIdBatch) Descriptor
deprecated
func (*MessageIdBatch) Descriptor() ([]byte, []int)
Deprecated: Use MessageIdBatch.ProtoReflect.Descriptor instead.
func (*MessageIdBatch) GetMessageIds ¶
func (x *MessageIdBatch) GetMessageIds() []*MessageId
func (*MessageIdBatch) ProtoMessage ¶
func (*MessageIdBatch) ProtoMessage()
func (*MessageIdBatch) ProtoReflect ¶
func (x *MessageIdBatch) ProtoReflect() protoreflect.Message
func (*MessageIdBatch) Reset ¶
func (x *MessageIdBatch) Reset()
func (*MessageIdBatch) String ¶
func (x *MessageIdBatch) String() string
func (*MessageIdBatch) Validate ¶
func (m *MessageIdBatch) Validate() error
Validate checks the field values on MessageIdBatch with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageIdBatch) ValidateAll ¶
func (m *MessageIdBatch) ValidateAll() error
ValidateAll checks the field values on MessageIdBatch with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageIdBatchMultiError, or nil if none found.
type MessageIdBatchMultiError ¶
type MessageIdBatchMultiError []error
MessageIdBatchMultiError is an error wrapping multiple validation errors returned by MessageIdBatch.ValidateAll() if the designated constraints aren't met.
func (MessageIdBatchMultiError) AllErrors ¶
func (m MessageIdBatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageIdBatchMultiError) Error ¶
func (m MessageIdBatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageIdBatchValidationError ¶
type MessageIdBatchValidationError struct {
// contains filtered or unexported fields
}
MessageIdBatchValidationError is the validation error returned by MessageIdBatch.Validate if the designated constraints aren't met.
func (MessageIdBatchValidationError) Cause ¶
func (e MessageIdBatchValidationError) Cause() error
Cause function returns cause value.
func (MessageIdBatchValidationError) Error ¶
func (e MessageIdBatchValidationError) Error() string
Error satisfies the builtin error interface
func (MessageIdBatchValidationError) ErrorName ¶
func (e MessageIdBatchValidationError) ErrorName() string
ErrorName returns error name.
func (MessageIdBatchValidationError) Field ¶
func (e MessageIdBatchValidationError) Field() string
Field function returns field value.
func (MessageIdBatchValidationError) Key ¶
func (e MessageIdBatchValidationError) Key() bool
Key function returns key value.
func (MessageIdBatchValidationError) Reason ¶
func (e MessageIdBatchValidationError) Reason() string
Reason function returns reason value.
type MessageIdMultiError ¶
type MessageIdMultiError []error
MessageIdMultiError is an error wrapping multiple validation errors returned by MessageId.ValidateAll() if the designated constraints aren't met.
func (MessageIdMultiError) AllErrors ¶
func (m MessageIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageIdMultiError) Error ¶
func (m MessageIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageIdValidationError ¶
type MessageIdValidationError struct {
// contains filtered or unexported fields
}
MessageIdValidationError is the validation error returned by MessageId.Validate if the designated constraints aren't met.
func (MessageIdValidationError) Cause ¶
func (e MessageIdValidationError) Cause() error
Cause function returns cause value.
func (MessageIdValidationError) Error ¶
func (e MessageIdValidationError) Error() string
Error satisfies the builtin error interface
func (MessageIdValidationError) ErrorName ¶
func (e MessageIdValidationError) ErrorName() string
ErrorName returns error name.
func (MessageIdValidationError) Field ¶
func (e MessageIdValidationError) Field() string
Field function returns field value.
func (MessageIdValidationError) Key ¶
func (e MessageIdValidationError) Key() bool
Key function returns key value.
func (MessageIdValidationError) Reason ¶
func (e MessageIdValidationError) Reason() string
Reason function returns reason value.
type MessageMultiError ¶
type MessageMultiError []error
MessageMultiError is an error wrapping multiple validation errors returned by Message.ValidateAll() if the designated constraints aren't met.
func (MessageMultiError) AllErrors ¶
func (m MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageMultiError) Error ¶
func (m MessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageValidationError ¶
type MessageValidationError struct {
// contains filtered or unexported fields
}
MessageValidationError is the validation error returned by Message.Validate if the designated constraints aren't met.
func (MessageValidationError) Cause ¶
func (e MessageValidationError) Cause() error
Cause function returns cause value.
func (MessageValidationError) Error ¶
func (e MessageValidationError) Error() string
Error satisfies the builtin error interface
func (MessageValidationError) ErrorName ¶
func (e MessageValidationError) ErrorName() string
ErrorName returns error name.
func (MessageValidationError) Field ¶
func (e MessageValidationError) Field() string
Field function returns field value.
func (MessageValidationError) Key ¶
func (e MessageValidationError) Key() bool
Key function returns key value.
func (MessageValidationError) Reason ¶
func (e MessageValidationError) Reason() string
Reason function returns reason value.
type MessagingClient ¶
type MessagingClient interface { // StreamMessages streams all messages/message states (eg. pointers, typing, etc) // for the requested chat. StreamMessages(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StreamMessagesRequest, StreamMessagesResponse], error) // GetMessage gets a single message in a chat GetMessage(ctx context.Context, in *GetMessageRequest, opts ...grpc.CallOption) (*GetMessageResponse, error) // GetMessages gets the set of messages for a chat using a paged and batched APIs GetMessages(ctx context.Context, in *GetMessagesRequest, opts ...grpc.CallOption) (*GetMessagesResponse, error) // SendMessage sends a message to a chat. SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error) // AdvancePointer advances a pointer in message history for a chat member. AdvancePointer(ctx context.Context, in *AdvancePointerRequest, opts ...grpc.CallOption) (*AdvancePointerResponse, error) // NotifyIsTypingRequest notifies a chat that the sending member is typing. // // These requests are transient, and may be dropped at any point. NotifyIsTyping(ctx context.Context, in *NotifyIsTypingRequest, opts ...grpc.CallOption) (*NotifyIsTypingResponse, error) }
MessagingClient is the client API for Messaging 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 NewMessagingClient ¶
func NewMessagingClient(cc grpc.ClientConnInterface) MessagingClient
type MessagingServer ¶
type MessagingServer interface { // StreamMessages streams all messages/message states (eg. pointers, typing, etc) // for the requested chat. StreamMessages(grpc.BidiStreamingServer[StreamMessagesRequest, StreamMessagesResponse]) error // GetMessage gets a single message in a chat GetMessage(context.Context, *GetMessageRequest) (*GetMessageResponse, error) // GetMessages gets the set of messages for a chat using a paged and batched APIs GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error) // SendMessage sends a message to a chat. SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error) // AdvancePointer advances a pointer in message history for a chat member. AdvancePointer(context.Context, *AdvancePointerRequest) (*AdvancePointerResponse, error) // NotifyIsTypingRequest notifies a chat that the sending member is typing. // // These requests are transient, and may be dropped at any point. NotifyIsTyping(context.Context, *NotifyIsTypingRequest) (*NotifyIsTypingResponse, error) // contains filtered or unexported methods }
MessagingServer is the server API for Messaging service. All implementations must embed UnimplementedMessagingServer for forward compatibility.
type Messaging_StreamMessagesClient ¶
type Messaging_StreamMessagesClient = grpc.BidiStreamingClient[StreamMessagesRequest, StreamMessagesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Messaging_StreamMessagesServer ¶
type Messaging_StreamMessagesServer = grpc.BidiStreamingServer[StreamMessagesRequest, StreamMessagesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type NotifyIsTypingRequest ¶
type NotifyIsTypingRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // Deprecated: Use typing_state instead IsTyping bool `protobuf:"varint,2,opt,name=is_typing,json=isTyping,proto3" json:"is_typing,omitempty"` TypingState TypingState `` /* 134-byte string literal not displayed */ Auth *v1.Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*NotifyIsTypingRequest) Descriptor
deprecated
func (*NotifyIsTypingRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotifyIsTypingRequest.ProtoReflect.Descriptor instead.
func (*NotifyIsTypingRequest) GetAuth ¶
func (x *NotifyIsTypingRequest) GetAuth() *v1.Auth
func (*NotifyIsTypingRequest) GetChatId ¶
func (x *NotifyIsTypingRequest) GetChatId() *v1.ChatId
func (*NotifyIsTypingRequest) GetIsTyping ¶
func (x *NotifyIsTypingRequest) GetIsTyping() bool
func (*NotifyIsTypingRequest) GetTypingState ¶ added in v1.1.0
func (x *NotifyIsTypingRequest) GetTypingState() TypingState
func (*NotifyIsTypingRequest) ProtoMessage ¶
func (*NotifyIsTypingRequest) ProtoMessage()
func (*NotifyIsTypingRequest) ProtoReflect ¶
func (x *NotifyIsTypingRequest) ProtoReflect() protoreflect.Message
func (*NotifyIsTypingRequest) Reset ¶
func (x *NotifyIsTypingRequest) Reset()
func (*NotifyIsTypingRequest) String ¶
func (x *NotifyIsTypingRequest) String() string
func (*NotifyIsTypingRequest) Validate ¶
func (m *NotifyIsTypingRequest) Validate() error
Validate checks the field values on NotifyIsTypingRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NotifyIsTypingRequest) ValidateAll ¶
func (m *NotifyIsTypingRequest) ValidateAll() error
ValidateAll checks the field values on NotifyIsTypingRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NotifyIsTypingRequestMultiError, or nil if none found.
type NotifyIsTypingRequestMultiError ¶
type NotifyIsTypingRequestMultiError []error
NotifyIsTypingRequestMultiError is an error wrapping multiple validation errors returned by NotifyIsTypingRequest.ValidateAll() if the designated constraints aren't met.
func (NotifyIsTypingRequestMultiError) AllErrors ¶
func (m NotifyIsTypingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotifyIsTypingRequestMultiError) Error ¶
func (m NotifyIsTypingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotifyIsTypingRequestValidationError ¶
type NotifyIsTypingRequestValidationError struct {
// contains filtered or unexported fields
}
NotifyIsTypingRequestValidationError is the validation error returned by NotifyIsTypingRequest.Validate if the designated constraints aren't met.
func (NotifyIsTypingRequestValidationError) Cause ¶
func (e NotifyIsTypingRequestValidationError) Cause() error
Cause function returns cause value.
func (NotifyIsTypingRequestValidationError) Error ¶
func (e NotifyIsTypingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (NotifyIsTypingRequestValidationError) ErrorName ¶
func (e NotifyIsTypingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (NotifyIsTypingRequestValidationError) Field ¶
func (e NotifyIsTypingRequestValidationError) Field() string
Field function returns field value.
func (NotifyIsTypingRequestValidationError) Key ¶
func (e NotifyIsTypingRequestValidationError) Key() bool
Key function returns key value.
func (NotifyIsTypingRequestValidationError) Reason ¶
func (e NotifyIsTypingRequestValidationError) Reason() string
Reason function returns reason value.
type NotifyIsTypingResponse ¶
type NotifyIsTypingResponse struct { Result NotifyIsTypingResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.messaging.v1.NotifyIsTypingResponse_Result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*NotifyIsTypingResponse) Descriptor
deprecated
func (*NotifyIsTypingResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotifyIsTypingResponse.ProtoReflect.Descriptor instead.
func (*NotifyIsTypingResponse) GetResult ¶
func (x *NotifyIsTypingResponse) GetResult() NotifyIsTypingResponse_Result
func (*NotifyIsTypingResponse) ProtoMessage ¶
func (*NotifyIsTypingResponse) ProtoMessage()
func (*NotifyIsTypingResponse) ProtoReflect ¶
func (x *NotifyIsTypingResponse) ProtoReflect() protoreflect.Message
func (*NotifyIsTypingResponse) Reset ¶
func (x *NotifyIsTypingResponse) Reset()
func (*NotifyIsTypingResponse) String ¶
func (x *NotifyIsTypingResponse) String() string
func (*NotifyIsTypingResponse) Validate ¶
func (m *NotifyIsTypingResponse) Validate() error
Validate checks the field values on NotifyIsTypingResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NotifyIsTypingResponse) ValidateAll ¶
func (m *NotifyIsTypingResponse) ValidateAll() error
ValidateAll checks the field values on NotifyIsTypingResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NotifyIsTypingResponseMultiError, or nil if none found.
type NotifyIsTypingResponseMultiError ¶
type NotifyIsTypingResponseMultiError []error
NotifyIsTypingResponseMultiError is an error wrapping multiple validation errors returned by NotifyIsTypingResponse.ValidateAll() if the designated constraints aren't met.
func (NotifyIsTypingResponseMultiError) AllErrors ¶
func (m NotifyIsTypingResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotifyIsTypingResponseMultiError) Error ¶
func (m NotifyIsTypingResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotifyIsTypingResponseValidationError ¶
type NotifyIsTypingResponseValidationError struct {
// contains filtered or unexported fields
}
NotifyIsTypingResponseValidationError is the validation error returned by NotifyIsTypingResponse.Validate if the designated constraints aren't met.
func (NotifyIsTypingResponseValidationError) Cause ¶
func (e NotifyIsTypingResponseValidationError) Cause() error
Cause function returns cause value.
func (NotifyIsTypingResponseValidationError) Error ¶
func (e NotifyIsTypingResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NotifyIsTypingResponseValidationError) ErrorName ¶
func (e NotifyIsTypingResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NotifyIsTypingResponseValidationError) Field ¶
func (e NotifyIsTypingResponseValidationError) Field() string
Field function returns field value.
func (NotifyIsTypingResponseValidationError) Key ¶
func (e NotifyIsTypingResponseValidationError) Key() bool
Key function returns key value.
func (NotifyIsTypingResponseValidationError) Reason ¶
func (e NotifyIsTypingResponseValidationError) Reason() string
Reason function returns reason value.
type NotifyIsTypingResponse_Result ¶
type NotifyIsTypingResponse_Result int32
const ( NotifyIsTypingResponse_OK NotifyIsTypingResponse_Result = 0 NotifyIsTypingResponse_DENIED NotifyIsTypingResponse_Result = 1 )
func (NotifyIsTypingResponse_Result) Descriptor ¶
func (NotifyIsTypingResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (NotifyIsTypingResponse_Result) Enum ¶
func (x NotifyIsTypingResponse_Result) Enum() *NotifyIsTypingResponse_Result
func (NotifyIsTypingResponse_Result) EnumDescriptor
deprecated
func (NotifyIsTypingResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotifyIsTypingResponse_Result.Descriptor instead.
func (NotifyIsTypingResponse_Result) Number ¶
func (x NotifyIsTypingResponse_Result) Number() protoreflect.EnumNumber
func (NotifyIsTypingResponse_Result) String ¶
func (x NotifyIsTypingResponse_Result) String() string
func (NotifyIsTypingResponse_Result) Type ¶
func (NotifyIsTypingResponse_Result) Type() protoreflect.EnumType
type Pointer ¶
type Pointer struct { // The type of pointer indicates which user's message history state can be // inferred from the pointer value. It is also possible to infer cross-pointer // state. For example, if a chat member has a READ pointer for a message with // ID N, then the DELIVERED pointer must be at least N. Type Pointer_Type `protobuf:"varint,1,opt,name=type,proto3,enum=flipchat.messaging.v1.Pointer_Type" json:"type,omitempty"` // Everything at or before this message ID is considered to have the state // inferred by the type of pointer. Value *MessageId `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Pointer in a chat indicating a user's message history state in a chat.
func (*Pointer) Descriptor
deprecated
func (*Pointer) GetType ¶
func (x *Pointer) GetType() Pointer_Type
func (*Pointer) ProtoMessage ¶
func (*Pointer) ProtoMessage()
func (*Pointer) ProtoReflect ¶
func (x *Pointer) ProtoReflect() protoreflect.Message
func (*Pointer) Validate ¶
Validate checks the field values on Pointer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Pointer) ValidateAll ¶
ValidateAll checks the field values on Pointer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PointerMultiError, or nil if none found.
type PointerMultiError ¶
type PointerMultiError []error
PointerMultiError is an error wrapping multiple validation errors returned by Pointer.ValidateAll() if the designated constraints aren't met.
func (PointerMultiError) AllErrors ¶
func (m PointerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PointerMultiError) Error ¶
func (m PointerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PointerUpdate ¶ added in v1.1.0
type PointerUpdate struct { Member *v1.UserId `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"` Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"` // contains filtered or unexported fields }
func (*PointerUpdate) Descriptor
deprecated
added in
v1.1.0
func (*PointerUpdate) Descriptor() ([]byte, []int)
Deprecated: Use PointerUpdate.ProtoReflect.Descriptor instead.
func (*PointerUpdate) GetMember ¶ added in v1.1.0
func (x *PointerUpdate) GetMember() *v1.UserId
func (*PointerUpdate) GetPointer ¶ added in v1.1.0
func (x *PointerUpdate) GetPointer() *Pointer
func (*PointerUpdate) ProtoMessage ¶ added in v1.1.0
func (*PointerUpdate) ProtoMessage()
func (*PointerUpdate) ProtoReflect ¶ added in v1.1.0
func (x *PointerUpdate) ProtoReflect() protoreflect.Message
func (*PointerUpdate) Reset ¶ added in v1.1.0
func (x *PointerUpdate) Reset()
func (*PointerUpdate) String ¶ added in v1.1.0
func (x *PointerUpdate) String() string
func (*PointerUpdate) Validate ¶ added in v1.1.0
func (m *PointerUpdate) Validate() error
Validate checks the field values on PointerUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PointerUpdate) ValidateAll ¶ added in v1.1.0
func (m *PointerUpdate) ValidateAll() error
ValidateAll checks the field values on PointerUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PointerUpdateMultiError, or nil if none found.
type PointerUpdateBatch ¶ added in v1.1.0
type PointerUpdateBatch struct { PointerUpdates []*PointerUpdate `protobuf:"bytes,1,rep,name=pointer_updates,json=pointerUpdates,proto3" json:"pointer_updates,omitempty"` // contains filtered or unexported fields }
func (*PointerUpdateBatch) Descriptor
deprecated
added in
v1.1.0
func (*PointerUpdateBatch) Descriptor() ([]byte, []int)
Deprecated: Use PointerUpdateBatch.ProtoReflect.Descriptor instead.
func (*PointerUpdateBatch) GetPointerUpdates ¶ added in v1.1.0
func (x *PointerUpdateBatch) GetPointerUpdates() []*PointerUpdate
func (*PointerUpdateBatch) ProtoMessage ¶ added in v1.1.0
func (*PointerUpdateBatch) ProtoMessage()
func (*PointerUpdateBatch) ProtoReflect ¶ added in v1.1.0
func (x *PointerUpdateBatch) ProtoReflect() protoreflect.Message
func (*PointerUpdateBatch) Reset ¶ added in v1.1.0
func (x *PointerUpdateBatch) Reset()
func (*PointerUpdateBatch) String ¶ added in v1.1.0
func (x *PointerUpdateBatch) String() string
func (*PointerUpdateBatch) Validate ¶ added in v1.1.0
func (m *PointerUpdateBatch) Validate() error
Validate checks the field values on PointerUpdateBatch with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PointerUpdateBatch) ValidateAll ¶ added in v1.1.0
func (m *PointerUpdateBatch) ValidateAll() error
ValidateAll checks the field values on PointerUpdateBatch with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PointerUpdateBatchMultiError, or nil if none found.
type PointerUpdateBatchMultiError ¶ added in v1.1.0
type PointerUpdateBatchMultiError []error
PointerUpdateBatchMultiError is an error wrapping multiple validation errors returned by PointerUpdateBatch.ValidateAll() if the designated constraints aren't met.
func (PointerUpdateBatchMultiError) AllErrors ¶ added in v1.1.0
func (m PointerUpdateBatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PointerUpdateBatchMultiError) Error ¶ added in v1.1.0
func (m PointerUpdateBatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PointerUpdateBatchValidationError ¶ added in v1.1.0
type PointerUpdateBatchValidationError struct {
// contains filtered or unexported fields
}
PointerUpdateBatchValidationError is the validation error returned by PointerUpdateBatch.Validate if the designated constraints aren't met.
func (PointerUpdateBatchValidationError) Cause ¶ added in v1.1.0
func (e PointerUpdateBatchValidationError) Cause() error
Cause function returns cause value.
func (PointerUpdateBatchValidationError) Error ¶ added in v1.1.0
func (e PointerUpdateBatchValidationError) Error() string
Error satisfies the builtin error interface
func (PointerUpdateBatchValidationError) ErrorName ¶ added in v1.1.0
func (e PointerUpdateBatchValidationError) ErrorName() string
ErrorName returns error name.
func (PointerUpdateBatchValidationError) Field ¶ added in v1.1.0
func (e PointerUpdateBatchValidationError) Field() string
Field function returns field value.
func (PointerUpdateBatchValidationError) Key ¶ added in v1.1.0
func (e PointerUpdateBatchValidationError) Key() bool
Key function returns key value.
func (PointerUpdateBatchValidationError) Reason ¶ added in v1.1.0
func (e PointerUpdateBatchValidationError) Reason() string
Reason function returns reason value.
type PointerUpdateMultiError ¶ added in v1.1.0
type PointerUpdateMultiError []error
PointerUpdateMultiError is an error wrapping multiple validation errors returned by PointerUpdate.ValidateAll() if the designated constraints aren't met.
func (PointerUpdateMultiError) AllErrors ¶ added in v1.1.0
func (m PointerUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PointerUpdateMultiError) Error ¶ added in v1.1.0
func (m PointerUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PointerUpdateValidationError ¶ added in v1.1.0
type PointerUpdateValidationError struct {
// contains filtered or unexported fields
}
PointerUpdateValidationError is the validation error returned by PointerUpdate.Validate if the designated constraints aren't met.
func (PointerUpdateValidationError) Cause ¶ added in v1.1.0
func (e PointerUpdateValidationError) Cause() error
Cause function returns cause value.
func (PointerUpdateValidationError) Error ¶ added in v1.1.0
func (e PointerUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (PointerUpdateValidationError) ErrorName ¶ added in v1.1.0
func (e PointerUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (PointerUpdateValidationError) Field ¶ added in v1.1.0
func (e PointerUpdateValidationError) Field() string
Field function returns field value.
func (PointerUpdateValidationError) Key ¶ added in v1.1.0
func (e PointerUpdateValidationError) Key() bool
Key function returns key value.
func (PointerUpdateValidationError) Reason ¶ added in v1.1.0
func (e PointerUpdateValidationError) Reason() string
Reason function returns reason value.
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_Type ¶
type Pointer_Type int32
const ( Pointer_UNKNOWN Pointer_Type = 0 Pointer_SENT Pointer_Type = 1 // Always inferred by OK result in SendMessageResponse or message presence in a chat Pointer_DELIVERED Pointer_Type = 2 Pointer_READ Pointer_Type = 3 )
func (Pointer_Type) Descriptor ¶
func (Pointer_Type) Descriptor() protoreflect.EnumDescriptor
func (Pointer_Type) Enum ¶
func (x Pointer_Type) Enum() *Pointer_Type
func (Pointer_Type) EnumDescriptor
deprecated
func (Pointer_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Pointer_Type.Descriptor instead.
func (Pointer_Type) Number ¶
func (x Pointer_Type) Number() protoreflect.EnumNumber
func (Pointer_Type) String ¶
func (x Pointer_Type) String() string
func (Pointer_Type) Type ¶
func (Pointer_Type) Type() protoreflect.EnumType
type ReactionContent ¶
type ReactionContent struct { // The message ID of the message this reaction is associated with OriginalMessageId *MessageId `protobuf:"bytes,1,opt,name=original_message_id,json=originalMessageId,proto3" json:"original_message_id,omitempty"` // The emoji or reaction symbol Emoji string `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"` // contains filtered or unexported fields }
Emoji reaction to another message
func (*ReactionContent) Descriptor
deprecated
func (*ReactionContent) Descriptor() ([]byte, []int)
Deprecated: Use ReactionContent.ProtoReflect.Descriptor instead.
func (*ReactionContent) GetEmoji ¶
func (x *ReactionContent) GetEmoji() string
func (*ReactionContent) GetOriginalMessageId ¶
func (x *ReactionContent) GetOriginalMessageId() *MessageId
func (*ReactionContent) ProtoMessage ¶
func (*ReactionContent) ProtoMessage()
func (*ReactionContent) ProtoReflect ¶
func (x *ReactionContent) ProtoReflect() protoreflect.Message
func (*ReactionContent) Reset ¶
func (x *ReactionContent) Reset()
func (*ReactionContent) String ¶
func (x *ReactionContent) String() string
func (*ReactionContent) Validate ¶
func (m *ReactionContent) Validate() error
Validate checks the field values on ReactionContent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReactionContent) ValidateAll ¶
func (m *ReactionContent) ValidateAll() error
ValidateAll checks the field values on ReactionContent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReactionContentMultiError, or nil if none found.
type ReactionContentMultiError ¶
type ReactionContentMultiError []error
ReactionContentMultiError is an error wrapping multiple validation errors returned by ReactionContent.ValidateAll() if the designated constraints aren't met.
func (ReactionContentMultiError) AllErrors ¶
func (m ReactionContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReactionContentMultiError) Error ¶
func (m ReactionContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReactionContentValidationError ¶
type ReactionContentValidationError struct {
// contains filtered or unexported fields
}
ReactionContentValidationError is the validation error returned by ReactionContent.Validate if the designated constraints aren't met.
func (ReactionContentValidationError) Cause ¶
func (e ReactionContentValidationError) Cause() error
Cause function returns cause value.
func (ReactionContentValidationError) Error ¶
func (e ReactionContentValidationError) Error() string
Error satisfies the builtin error interface
func (ReactionContentValidationError) ErrorName ¶
func (e ReactionContentValidationError) ErrorName() string
ErrorName returns error name.
func (ReactionContentValidationError) Field ¶
func (e ReactionContentValidationError) Field() string
Field function returns field value.
func (ReactionContentValidationError) Key ¶
func (e ReactionContentValidationError) Key() bool
Key function returns key value.
func (ReactionContentValidationError) Reason ¶
func (e ReactionContentValidationError) Reason() string
Reason function returns reason value.
type ReplyContent ¶
type ReplyContent struct { // The message ID of the message this reply is referencing OriginalMessageId *MessageId `protobuf:"bytes,1,opt,name=original_message_id,json=originalMessageId,proto3" json:"original_message_id,omitempty"` // The reply text, which can be handled similarly to TextContent ReplyText string `protobuf:"bytes,2,opt,name=reply_text,json=replyText,proto3" json:"reply_text,omitempty"` // contains filtered or unexported fields }
Text reply of another message
func (*ReplyContent) Descriptor
deprecated
func (*ReplyContent) Descriptor() ([]byte, []int)
Deprecated: Use ReplyContent.ProtoReflect.Descriptor instead.
func (*ReplyContent) GetOriginalMessageId ¶
func (x *ReplyContent) GetOriginalMessageId() *MessageId
func (*ReplyContent) GetReplyText ¶
func (x *ReplyContent) GetReplyText() string
func (*ReplyContent) ProtoMessage ¶
func (*ReplyContent) ProtoMessage()
func (*ReplyContent) ProtoReflect ¶
func (x *ReplyContent) ProtoReflect() protoreflect.Message
func (*ReplyContent) Reset ¶
func (x *ReplyContent) Reset()
func (*ReplyContent) String ¶
func (x *ReplyContent) String() string
func (*ReplyContent) Validate ¶
func (m *ReplyContent) Validate() error
Validate checks the field values on ReplyContent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReplyContent) ValidateAll ¶
func (m *ReplyContent) ValidateAll() error
ValidateAll checks the field values on ReplyContent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReplyContentMultiError, or nil if none found.
type ReplyContentMultiError ¶
type ReplyContentMultiError []error
ReplyContentMultiError is an error wrapping multiple validation errors returned by ReplyContent.ValidateAll() if the designated constraints aren't met.
func (ReplyContentMultiError) AllErrors ¶
func (m ReplyContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReplyContentMultiError) Error ¶
func (m ReplyContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReplyContentValidationError ¶
type ReplyContentValidationError struct {
// contains filtered or unexported fields
}
ReplyContentValidationError is the validation error returned by ReplyContent.Validate if the designated constraints aren't met.
func (ReplyContentValidationError) Cause ¶
func (e ReplyContentValidationError) Cause() error
Cause function returns cause value.
func (ReplyContentValidationError) Error ¶
func (e ReplyContentValidationError) Error() string
Error satisfies the builtin error interface
func (ReplyContentValidationError) ErrorName ¶
func (e ReplyContentValidationError) ErrorName() string
ErrorName returns error name.
func (ReplyContentValidationError) Field ¶
func (e ReplyContentValidationError) Field() string
Field function returns field value.
func (ReplyContentValidationError) Key ¶
func (e ReplyContentValidationError) Key() bool
Key function returns key value.
func (ReplyContentValidationError) Reason ¶
func (e ReplyContentValidationError) Reason() string
Reason function returns reason value.
type ReviewContent ¶
type ReviewContent struct { // The message ID of the message that is being reviewed. Currently, only // off stage messages can be reviewed OriginalMessageId *MessageId `protobuf:"bytes,1,opt,name=original_message_id,json=originalMessageId,proto3" json:"original_message_id,omitempty"` // Whether the message has been approved. In the event of multiple reviews, // the first message in the message log takes priority. IsApproved bool `protobuf:"varint,2,opt,name=is_approved,json=isApproved,proto3" json:"is_approved,omitempty"` // contains filtered or unexported fields }
func (*ReviewContent) Descriptor
deprecated
func (*ReviewContent) Descriptor() ([]byte, []int)
Deprecated: Use ReviewContent.ProtoReflect.Descriptor instead.
func (*ReviewContent) GetIsApproved ¶
func (x *ReviewContent) GetIsApproved() bool
func (*ReviewContent) GetOriginalMessageId ¶
func (x *ReviewContent) GetOriginalMessageId() *MessageId
func (*ReviewContent) ProtoMessage ¶
func (*ReviewContent) ProtoMessage()
func (*ReviewContent) ProtoReflect ¶
func (x *ReviewContent) ProtoReflect() protoreflect.Message
func (*ReviewContent) Reset ¶
func (x *ReviewContent) Reset()
func (*ReviewContent) String ¶
func (x *ReviewContent) String() string
func (*ReviewContent) Validate ¶
func (m *ReviewContent) Validate() error
Validate checks the field values on ReviewContent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReviewContent) ValidateAll ¶
func (m *ReviewContent) ValidateAll() error
ValidateAll checks the field values on ReviewContent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReviewContentMultiError, or nil if none found.
type ReviewContentMultiError ¶
type ReviewContentMultiError []error
ReviewContentMultiError is an error wrapping multiple validation errors returned by ReviewContent.ValidateAll() if the designated constraints aren't met.
func (ReviewContentMultiError) AllErrors ¶
func (m ReviewContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReviewContentMultiError) Error ¶
func (m ReviewContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReviewContentValidationError ¶
type ReviewContentValidationError struct {
// contains filtered or unexported fields
}
ReviewContentValidationError is the validation error returned by ReviewContent.Validate if the designated constraints aren't met.
func (ReviewContentValidationError) Cause ¶
func (e ReviewContentValidationError) Cause() error
Cause function returns cause value.
func (ReviewContentValidationError) Error ¶
func (e ReviewContentValidationError) Error() string
Error satisfies the builtin error interface
func (ReviewContentValidationError) ErrorName ¶
func (e ReviewContentValidationError) ErrorName() string
ErrorName returns error name.
func (ReviewContentValidationError) Field ¶
func (e ReviewContentValidationError) Field() string
Field function returns field value.
func (ReviewContentValidationError) Key ¶
func (e ReviewContentValidationError) Key() bool
Key function returns key value.
func (ReviewContentValidationError) Reason ¶
func (e ReviewContentValidationError) Reason() string
Reason function returns reason value.
type SendMessageAsListenerPaymentMetadata ¶
type SendMessageAsListenerPaymentMetadata struct { // The chat where the message is being sent ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // The user sending the message UserId *v1.UserId `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*SendMessageAsListenerPaymentMetadata) Descriptor
deprecated
func (*SendMessageAsListenerPaymentMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageAsListenerPaymentMetadata.ProtoReflect.Descriptor instead.
func (*SendMessageAsListenerPaymentMetadata) GetChatId ¶
func (x *SendMessageAsListenerPaymentMetadata) GetChatId() *v1.ChatId
func (*SendMessageAsListenerPaymentMetadata) GetUserId ¶
func (x *SendMessageAsListenerPaymentMetadata) GetUserId() *v1.UserId
func (*SendMessageAsListenerPaymentMetadata) ProtoMessage ¶
func (*SendMessageAsListenerPaymentMetadata) ProtoMessage()
func (*SendMessageAsListenerPaymentMetadata) ProtoReflect ¶
func (x *SendMessageAsListenerPaymentMetadata) ProtoReflect() protoreflect.Message
func (*SendMessageAsListenerPaymentMetadata) Reset ¶
func (x *SendMessageAsListenerPaymentMetadata) Reset()
func (*SendMessageAsListenerPaymentMetadata) String ¶
func (x *SendMessageAsListenerPaymentMetadata) String() string
func (*SendMessageAsListenerPaymentMetadata) Validate ¶
func (m *SendMessageAsListenerPaymentMetadata) Validate() error
Validate checks the field values on SendMessageAsListenerPaymentMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendMessageAsListenerPaymentMetadata) ValidateAll ¶
func (m *SendMessageAsListenerPaymentMetadata) ValidateAll() error
ValidateAll checks the field values on SendMessageAsListenerPaymentMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendMessageAsListenerPaymentMetadataMultiError, or nil if none found.
type SendMessageAsListenerPaymentMetadataMultiError ¶
type SendMessageAsListenerPaymentMetadataMultiError []error
SendMessageAsListenerPaymentMetadataMultiError is an error wrapping multiple validation errors returned by SendMessageAsListenerPaymentMetadata.ValidateAll() if the designated constraints aren't met.
func (SendMessageAsListenerPaymentMetadataMultiError) AllErrors ¶
func (m SendMessageAsListenerPaymentMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendMessageAsListenerPaymentMetadataMultiError) Error ¶
func (m SendMessageAsListenerPaymentMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendMessageAsListenerPaymentMetadataValidationError ¶
type SendMessageAsListenerPaymentMetadataValidationError struct {
// contains filtered or unexported fields
}
SendMessageAsListenerPaymentMetadataValidationError is the validation error returned by SendMessageAsListenerPaymentMetadata.Validate if the designated constraints aren't met.
func (SendMessageAsListenerPaymentMetadataValidationError) Cause ¶
func (e SendMessageAsListenerPaymentMetadataValidationError) Cause() error
Cause function returns cause value.
func (SendMessageAsListenerPaymentMetadataValidationError) Error ¶
func (e SendMessageAsListenerPaymentMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageAsListenerPaymentMetadataValidationError) ErrorName ¶
func (e SendMessageAsListenerPaymentMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageAsListenerPaymentMetadataValidationError) Field ¶
func (e SendMessageAsListenerPaymentMetadataValidationError) Field() string
Field function returns field value.
func (SendMessageAsListenerPaymentMetadataValidationError) Key ¶
func (e SendMessageAsListenerPaymentMetadataValidationError) Key() bool
Key function returns key value.
func (SendMessageAsListenerPaymentMetadataValidationError) Reason ¶
func (e SendMessageAsListenerPaymentMetadataValidationError) Reason() string
Reason function returns reason value.
type SendMessageRequest ¶
type SendMessageRequest struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // Allowed content types that can be sent by client: // - TextContent // - ReactionContent // - ReplyContent // - TipContent // - DeleteMessageContent // - ReviewContent Content []*Content `protobuf:"bytes,2,rep,name=content,proto3" json:"content,omitempty"` Auth *v1.Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` // Intent ID for message contents that require a payment PaymentIntent *v1.IntentId `protobuf:"bytes,4,opt,name=payment_intent,json=paymentIntent,proto3" json:"payment_intent,omitempty"` // contains filtered or unexported fields }
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetAuth ¶
func (x *SendMessageRequest) GetAuth() *v1.Auth
func (*SendMessageRequest) GetChatId ¶
func (x *SendMessageRequest) GetChatId() *v1.ChatId
func (*SendMessageRequest) GetContent ¶
func (x *SendMessageRequest) GetContent() []*Content
func (*SendMessageRequest) GetPaymentIntent ¶
func (x *SendMessageRequest) GetPaymentIntent() *v1.IntentId
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
func (*SendMessageRequest) Validate ¶
func (m *SendMessageRequest) Validate() error
Validate checks the field values on SendMessageRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendMessageRequest) ValidateAll ¶
func (m *SendMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendMessageRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendMessageRequestMultiError, or nil if none found.
type SendMessageRequestMultiError ¶
type SendMessageRequestMultiError []error
SendMessageRequestMultiError is an error wrapping multiple validation errors returned by SendMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendMessageRequestMultiError) AllErrors ¶
func (m SendMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendMessageRequestMultiError) Error ¶
func (m SendMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendMessageRequestValidationError ¶
type SendMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendMessageRequestValidationError is the validation error returned by SendMessageRequest.Validate if the designated constraints aren't met.
func (SendMessageRequestValidationError) Cause ¶
func (e SendMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendMessageRequestValidationError) Error ¶
func (e SendMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageRequestValidationError) ErrorName ¶
func (e SendMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageRequestValidationError) Field ¶
func (e SendMessageRequestValidationError) Field() string
Field function returns field value.
func (SendMessageRequestValidationError) Key ¶
func (e SendMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendMessageRequestValidationError) Reason ¶
func (e SendMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendMessageResponse ¶
type SendMessageResponse struct { Result SendMessageResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.messaging.v1.SendMessageResponse_Result" json:"result,omitempty"` // The chat message that was sent if the RPC was succesful, which includes // server-side metadata like the generated message ID and official timestamp Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*SendMessageResponse) Descriptor
deprecated
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetMessage ¶
func (x *SendMessageResponse) GetMessage() *Message
func (*SendMessageResponse) GetResult ¶
func (x *SendMessageResponse) GetResult() SendMessageResponse_Result
func (*SendMessageResponse) ProtoMessage ¶
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶
func (x *SendMessageResponse) String() string
func (*SendMessageResponse) Validate ¶
func (m *SendMessageResponse) Validate() error
Validate checks the field values on SendMessageResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendMessageResponse) ValidateAll ¶
func (m *SendMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendMessageResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendMessageResponseMultiError, or nil if none found.
type SendMessageResponseMultiError ¶
type SendMessageResponseMultiError []error
SendMessageResponseMultiError is an error wrapping multiple validation errors returned by SendMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendMessageResponseMultiError) AllErrors ¶
func (m SendMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendMessageResponseMultiError) Error ¶
func (m SendMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendMessageResponseValidationError ¶
type SendMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendMessageResponseValidationError is the validation error returned by SendMessageResponse.Validate if the designated constraints aren't met.
func (SendMessageResponseValidationError) Cause ¶
func (e SendMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendMessageResponseValidationError) Error ¶
func (e SendMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageResponseValidationError) ErrorName ¶
func (e SendMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageResponseValidationError) Field ¶
func (e SendMessageResponseValidationError) Field() string
Field function returns field value.
func (SendMessageResponseValidationError) Key ¶
func (e SendMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendMessageResponseValidationError) Reason ¶
func (e SendMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendMessageResponse_Result ¶
type SendMessageResponse_Result int32
const ( SendMessageResponse_OK SendMessageResponse_Result = 0 SendMessageResponse_DENIED SendMessageResponse_Result = 1 )
func (SendMessageResponse_Result) Descriptor ¶
func (SendMessageResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (SendMessageResponse_Result) Enum ¶
func (x SendMessageResponse_Result) Enum() *SendMessageResponse_Result
func (SendMessageResponse_Result) EnumDescriptor
deprecated
func (SendMessageResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse_Result.Descriptor instead.
func (SendMessageResponse_Result) Number ¶
func (x SendMessageResponse_Result) Number() protoreflect.EnumNumber
func (SendMessageResponse_Result) String ¶
func (x SendMessageResponse_Result) String() string
func (SendMessageResponse_Result) Type ¶
func (SendMessageResponse_Result) Type() protoreflect.EnumType
type SendTipMessagePaymentMetadata ¶
type SendTipMessagePaymentMetadata struct { // The chat where the message is being tipped ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // The message that is being tipped MessageId *MessageId `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // The user sending the tip TipperId *v1.UserId `protobuf:"bytes,3,opt,name=tipper_id,json=tipperId,proto3" json:"tipper_id,omitempty"` // contains filtered or unexported fields }
func (*SendTipMessagePaymentMetadata) Descriptor
deprecated
func (*SendTipMessagePaymentMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SendTipMessagePaymentMetadata.ProtoReflect.Descriptor instead.
func (*SendTipMessagePaymentMetadata) GetChatId ¶
func (x *SendTipMessagePaymentMetadata) GetChatId() *v1.ChatId
func (*SendTipMessagePaymentMetadata) GetMessageId ¶
func (x *SendTipMessagePaymentMetadata) GetMessageId() *MessageId
func (*SendTipMessagePaymentMetadata) GetTipperId ¶
func (x *SendTipMessagePaymentMetadata) GetTipperId() *v1.UserId
func (*SendTipMessagePaymentMetadata) ProtoMessage ¶
func (*SendTipMessagePaymentMetadata) ProtoMessage()
func (*SendTipMessagePaymentMetadata) ProtoReflect ¶
func (x *SendTipMessagePaymentMetadata) ProtoReflect() protoreflect.Message
func (*SendTipMessagePaymentMetadata) Reset ¶
func (x *SendTipMessagePaymentMetadata) Reset()
func (*SendTipMessagePaymentMetadata) String ¶
func (x *SendTipMessagePaymentMetadata) String() string
func (*SendTipMessagePaymentMetadata) Validate ¶
func (m *SendTipMessagePaymentMetadata) Validate() error
Validate checks the field values on SendTipMessagePaymentMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SendTipMessagePaymentMetadata) ValidateAll ¶
func (m *SendTipMessagePaymentMetadata) ValidateAll() error
ValidateAll checks the field values on SendTipMessagePaymentMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SendTipMessagePaymentMetadataMultiError, or nil if none found.
type SendTipMessagePaymentMetadataMultiError ¶
type SendTipMessagePaymentMetadataMultiError []error
SendTipMessagePaymentMetadataMultiError is an error wrapping multiple validation errors returned by SendTipMessagePaymentMetadata.ValidateAll() if the designated constraints aren't met.
func (SendTipMessagePaymentMetadataMultiError) AllErrors ¶
func (m SendTipMessagePaymentMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendTipMessagePaymentMetadataMultiError) Error ¶
func (m SendTipMessagePaymentMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendTipMessagePaymentMetadataValidationError ¶
type SendTipMessagePaymentMetadataValidationError struct {
// contains filtered or unexported fields
}
SendTipMessagePaymentMetadataValidationError is the validation error returned by SendTipMessagePaymentMetadata.Validate if the designated constraints aren't met.
func (SendTipMessagePaymentMetadataValidationError) Cause ¶
func (e SendTipMessagePaymentMetadataValidationError) Cause() error
Cause function returns cause value.
func (SendTipMessagePaymentMetadataValidationError) Error ¶
func (e SendTipMessagePaymentMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SendTipMessagePaymentMetadataValidationError) ErrorName ¶
func (e SendTipMessagePaymentMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SendTipMessagePaymentMetadataValidationError) Field ¶
func (e SendTipMessagePaymentMetadataValidationError) Field() string
Field function returns field value.
func (SendTipMessagePaymentMetadataValidationError) Key ¶
func (e SendTipMessagePaymentMetadataValidationError) Key() bool
Key function returns key value.
func (SendTipMessagePaymentMetadataValidationError) Reason ¶
func (e SendTipMessagePaymentMetadataValidationError) Reason() string
Reason function returns reason value.
type StreamMessagesRequest ¶
type StreamMessagesRequest struct { // Types that are assignable to Type: // // *StreamMessagesRequest_Params_ // *StreamMessagesRequest_Pong Type isStreamMessagesRequest_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*StreamMessagesRequest) Descriptor
deprecated
func (*StreamMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamMessagesRequest.ProtoReflect.Descriptor instead.
func (*StreamMessagesRequest) GetParams ¶
func (x *StreamMessagesRequest) GetParams() *StreamMessagesRequest_Params
func (*StreamMessagesRequest) GetPong ¶
func (x *StreamMessagesRequest) GetPong() *v1.ClientPong
func (*StreamMessagesRequest) GetType ¶
func (m *StreamMessagesRequest) GetType() isStreamMessagesRequest_Type
func (*StreamMessagesRequest) ProtoMessage ¶
func (*StreamMessagesRequest) ProtoMessage()
func (*StreamMessagesRequest) ProtoReflect ¶
func (x *StreamMessagesRequest) ProtoReflect() protoreflect.Message
func (*StreamMessagesRequest) Reset ¶
func (x *StreamMessagesRequest) Reset()
func (*StreamMessagesRequest) String ¶
func (x *StreamMessagesRequest) String() string
func (*StreamMessagesRequest) Validate ¶
func (m *StreamMessagesRequest) Validate() error
Validate checks the field values on StreamMessagesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StreamMessagesRequest) ValidateAll ¶
func (m *StreamMessagesRequest) ValidateAll() error
ValidateAll checks the field values on StreamMessagesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamMessagesRequestMultiError, or nil if none found.
type StreamMessagesRequestMultiError ¶
type StreamMessagesRequestMultiError []error
StreamMessagesRequestMultiError is an error wrapping multiple validation errors returned by StreamMessagesRequest.ValidateAll() if the designated constraints aren't met.
func (StreamMessagesRequestMultiError) AllErrors ¶
func (m StreamMessagesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamMessagesRequestMultiError) Error ¶
func (m StreamMessagesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamMessagesRequestValidationError ¶
type StreamMessagesRequestValidationError struct {
// contains filtered or unexported fields
}
StreamMessagesRequestValidationError is the validation error returned by StreamMessagesRequest.Validate if the designated constraints aren't met.
func (StreamMessagesRequestValidationError) Cause ¶
func (e StreamMessagesRequestValidationError) Cause() error
Cause function returns cause value.
func (StreamMessagesRequestValidationError) Error ¶
func (e StreamMessagesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamMessagesRequestValidationError) ErrorName ¶
func (e StreamMessagesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamMessagesRequestValidationError) Field ¶
func (e StreamMessagesRequestValidationError) Field() string
Field function returns field value.
func (StreamMessagesRequestValidationError) Key ¶
func (e StreamMessagesRequestValidationError) Key() bool
Key function returns key value.
func (StreamMessagesRequestValidationError) Reason ¶
func (e StreamMessagesRequestValidationError) Reason() string
Reason function returns reason value.
type StreamMessagesRequest_Params ¶
type StreamMessagesRequest_Params struct { ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // Deprecated: stream flushes are no longer supported // // Types that are assignable to Resume: // // *StreamMessagesRequest_Params_LastKnownMessageId // *StreamMessagesRequest_Params_LatestOnly Resume isStreamMessagesRequest_Params_Resume `protobuf_oneof:"resume"` Auth *v1.Auth `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*StreamMessagesRequest_Params) Descriptor
deprecated
func (*StreamMessagesRequest_Params) Descriptor() ([]byte, []int)
Deprecated: Use StreamMessagesRequest_Params.ProtoReflect.Descriptor instead.
func (*StreamMessagesRequest_Params) GetAuth ¶
func (x *StreamMessagesRequest_Params) GetAuth() *v1.Auth
func (*StreamMessagesRequest_Params) GetChatId ¶
func (x *StreamMessagesRequest_Params) GetChatId() *v1.ChatId
func (*StreamMessagesRequest_Params) GetLastKnownMessageId ¶
func (x *StreamMessagesRequest_Params) GetLastKnownMessageId() *MessageId
func (*StreamMessagesRequest_Params) GetLatestOnly ¶
func (x *StreamMessagesRequest_Params) GetLatestOnly() bool
func (*StreamMessagesRequest_Params) GetResume ¶
func (m *StreamMessagesRequest_Params) GetResume() isStreamMessagesRequest_Params_Resume
func (*StreamMessagesRequest_Params) ProtoMessage ¶
func (*StreamMessagesRequest_Params) ProtoMessage()
func (*StreamMessagesRequest_Params) ProtoReflect ¶
func (x *StreamMessagesRequest_Params) ProtoReflect() protoreflect.Message
func (*StreamMessagesRequest_Params) Reset ¶
func (x *StreamMessagesRequest_Params) Reset()
func (*StreamMessagesRequest_Params) String ¶
func (x *StreamMessagesRequest_Params) String() string
func (*StreamMessagesRequest_Params) Validate ¶
func (m *StreamMessagesRequest_Params) Validate() error
Validate checks the field values on StreamMessagesRequest_Params with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StreamMessagesRequest_Params) ValidateAll ¶
func (m *StreamMessagesRequest_Params) ValidateAll() error
ValidateAll checks the field values on StreamMessagesRequest_Params with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamMessagesRequest_ParamsMultiError, or nil if none found.
type StreamMessagesRequest_ParamsMultiError ¶
type StreamMessagesRequest_ParamsMultiError []error
StreamMessagesRequest_ParamsMultiError is an error wrapping multiple validation errors returned by StreamMessagesRequest_Params.ValidateAll() if the designated constraints aren't met.
func (StreamMessagesRequest_ParamsMultiError) AllErrors ¶
func (m StreamMessagesRequest_ParamsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamMessagesRequest_ParamsMultiError) Error ¶
func (m StreamMessagesRequest_ParamsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamMessagesRequest_ParamsValidationError ¶
type StreamMessagesRequest_ParamsValidationError struct {
// contains filtered or unexported fields
}
StreamMessagesRequest_ParamsValidationError is the validation error returned by StreamMessagesRequest_Params.Validate if the designated constraints aren't met.
func (StreamMessagesRequest_ParamsValidationError) Cause ¶
func (e StreamMessagesRequest_ParamsValidationError) Cause() error
Cause function returns cause value.
func (StreamMessagesRequest_ParamsValidationError) Error ¶
func (e StreamMessagesRequest_ParamsValidationError) Error() string
Error satisfies the builtin error interface
func (StreamMessagesRequest_ParamsValidationError) ErrorName ¶
func (e StreamMessagesRequest_ParamsValidationError) ErrorName() string
ErrorName returns error name.
func (StreamMessagesRequest_ParamsValidationError) Field ¶
func (e StreamMessagesRequest_ParamsValidationError) Field() string
Field function returns field value.
func (StreamMessagesRequest_ParamsValidationError) Key ¶
func (e StreamMessagesRequest_ParamsValidationError) Key() bool
Key function returns key value.
func (StreamMessagesRequest_ParamsValidationError) Reason ¶
func (e StreamMessagesRequest_ParamsValidationError) Reason() string
Reason function returns reason value.
type StreamMessagesRequest_Params_ ¶
type StreamMessagesRequest_Params_ struct {
Params *StreamMessagesRequest_Params `protobuf:"bytes,1,opt,name=params,proto3,oneof"`
}
type StreamMessagesRequest_Params_LastKnownMessageId ¶
type StreamMessagesRequest_Params_LastKnownMessageId struct {
LastKnownMessageId *MessageId `protobuf:"bytes,2,opt,name=last_known_message_id,json=lastKnownMessageId,proto3,oneof"`
}
type StreamMessagesRequest_Params_LatestOnly ¶
type StreamMessagesRequest_Params_LatestOnly struct {
LatestOnly bool `protobuf:"varint,3,opt,name=latest_only,json=latestOnly,proto3,oneof"`
}
type StreamMessagesRequest_Pong ¶
type StreamMessagesRequest_Pong struct {
Pong *v1.ClientPong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}
type StreamMessagesResponse ¶
type StreamMessagesResponse struct { // Types that are assignable to Type: // // *StreamMessagesResponse_Ping // *StreamMessagesResponse_Error // *StreamMessagesResponse_Messages // *StreamMessagesResponse_PointerUpdates // *StreamMessagesResponse_IsTypingNotifications Type isStreamMessagesResponse_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*StreamMessagesResponse) Descriptor
deprecated
func (*StreamMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamMessagesResponse.ProtoReflect.Descriptor instead.
func (*StreamMessagesResponse) GetError ¶
func (x *StreamMessagesResponse) GetError() *StreamMessagesResponse_StreamError
func (*StreamMessagesResponse) GetIsTypingNotifications ¶ added in v1.1.0
func (x *StreamMessagesResponse) GetIsTypingNotifications() *IsTypingBatch
func (*StreamMessagesResponse) GetMessages ¶
func (x *StreamMessagesResponse) GetMessages() *MessageBatch
func (*StreamMessagesResponse) GetPing ¶
func (x *StreamMessagesResponse) GetPing() *v1.ServerPing
func (*StreamMessagesResponse) GetPointerUpdates ¶ added in v1.1.0
func (x *StreamMessagesResponse) GetPointerUpdates() *PointerUpdateBatch
func (*StreamMessagesResponse) GetType ¶
func (m *StreamMessagesResponse) GetType() isStreamMessagesResponse_Type
func (*StreamMessagesResponse) ProtoMessage ¶
func (*StreamMessagesResponse) ProtoMessage()
func (*StreamMessagesResponse) ProtoReflect ¶
func (x *StreamMessagesResponse) ProtoReflect() protoreflect.Message
func (*StreamMessagesResponse) Reset ¶
func (x *StreamMessagesResponse) Reset()
func (*StreamMessagesResponse) String ¶
func (x *StreamMessagesResponse) String() string
func (*StreamMessagesResponse) Validate ¶
func (m *StreamMessagesResponse) Validate() error
Validate checks the field values on StreamMessagesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StreamMessagesResponse) ValidateAll ¶
func (m *StreamMessagesResponse) ValidateAll() error
ValidateAll checks the field values on StreamMessagesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamMessagesResponseMultiError, or nil if none found.
type StreamMessagesResponseMultiError ¶
type StreamMessagesResponseMultiError []error
StreamMessagesResponseMultiError is an error wrapping multiple validation errors returned by StreamMessagesResponse.ValidateAll() if the designated constraints aren't met.
func (StreamMessagesResponseMultiError) AllErrors ¶
func (m StreamMessagesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamMessagesResponseMultiError) Error ¶
func (m StreamMessagesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamMessagesResponseValidationError ¶
type StreamMessagesResponseValidationError struct {
// contains filtered or unexported fields
}
StreamMessagesResponseValidationError is the validation error returned by StreamMessagesResponse.Validate if the designated constraints aren't met.
func (StreamMessagesResponseValidationError) Cause ¶
func (e StreamMessagesResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamMessagesResponseValidationError) Error ¶
func (e StreamMessagesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamMessagesResponseValidationError) ErrorName ¶
func (e StreamMessagesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamMessagesResponseValidationError) Field ¶
func (e StreamMessagesResponseValidationError) Field() string
Field function returns field value.
func (StreamMessagesResponseValidationError) Key ¶
func (e StreamMessagesResponseValidationError) Key() bool
Key function returns key value.
func (StreamMessagesResponseValidationError) Reason ¶
func (e StreamMessagesResponseValidationError) Reason() string
Reason function returns reason value.
type StreamMessagesResponse_Error ¶
type StreamMessagesResponse_Error struct {
Error *StreamMessagesResponse_StreamError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type StreamMessagesResponse_IsTypingNotifications ¶ added in v1.1.0
type StreamMessagesResponse_IsTypingNotifications struct {
IsTypingNotifications *IsTypingBatch `protobuf:"bytes,5,opt,name=is_typing_notifications,json=isTypingNotifications,proto3,oneof"`
}
type StreamMessagesResponse_Messages ¶
type StreamMessagesResponse_Messages struct {
Messages *MessageBatch `protobuf:"bytes,3,opt,name=messages,proto3,oneof"`
}
type StreamMessagesResponse_Ping ¶
type StreamMessagesResponse_Ping struct {
Ping *v1.ServerPing `protobuf:"bytes,1,opt,name=ping,proto3,oneof"`
}
type StreamMessagesResponse_PointerUpdates ¶ added in v1.1.0
type StreamMessagesResponse_PointerUpdates struct {
PointerUpdates *PointerUpdateBatch `protobuf:"bytes,4,opt,name=pointer_updates,json=pointerUpdates,proto3,oneof"`
}
type StreamMessagesResponse_StreamError ¶
type StreamMessagesResponse_StreamError struct { Code StreamMessagesResponse_StreamError_Code `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StreamMessagesResponse_StreamError) Descriptor
deprecated
func (*StreamMessagesResponse_StreamError) Descriptor() ([]byte, []int)
Deprecated: Use StreamMessagesResponse_StreamError.ProtoReflect.Descriptor instead.
func (*StreamMessagesResponse_StreamError) GetCode ¶
func (x *StreamMessagesResponse_StreamError) GetCode() StreamMessagesResponse_StreamError_Code
func (*StreamMessagesResponse_StreamError) ProtoMessage ¶
func (*StreamMessagesResponse_StreamError) ProtoMessage()
func (*StreamMessagesResponse_StreamError) ProtoReflect ¶
func (x *StreamMessagesResponse_StreamError) ProtoReflect() protoreflect.Message
func (*StreamMessagesResponse_StreamError) Reset ¶
func (x *StreamMessagesResponse_StreamError) Reset()
func (*StreamMessagesResponse_StreamError) String ¶
func (x *StreamMessagesResponse_StreamError) String() string
func (*StreamMessagesResponse_StreamError) Validate ¶
func (m *StreamMessagesResponse_StreamError) Validate() error
Validate checks the field values on StreamMessagesResponse_StreamError with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StreamMessagesResponse_StreamError) ValidateAll ¶
func (m *StreamMessagesResponse_StreamError) ValidateAll() error
ValidateAll checks the field values on StreamMessagesResponse_StreamError with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamMessagesResponse_StreamErrorMultiError, or nil if none found.
type StreamMessagesResponse_StreamErrorMultiError ¶
type StreamMessagesResponse_StreamErrorMultiError []error
StreamMessagesResponse_StreamErrorMultiError is an error wrapping multiple validation errors returned by StreamMessagesResponse_StreamError.ValidateAll() if the designated constraints aren't met.
func (StreamMessagesResponse_StreamErrorMultiError) AllErrors ¶
func (m StreamMessagesResponse_StreamErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamMessagesResponse_StreamErrorMultiError) Error ¶
func (m StreamMessagesResponse_StreamErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamMessagesResponse_StreamErrorValidationError ¶
type StreamMessagesResponse_StreamErrorValidationError struct {
// contains filtered or unexported fields
}
StreamMessagesResponse_StreamErrorValidationError is the validation error returned by StreamMessagesResponse_StreamError.Validate if the designated constraints aren't met.
func (StreamMessagesResponse_StreamErrorValidationError) Cause ¶
func (e StreamMessagesResponse_StreamErrorValidationError) Cause() error
Cause function returns cause value.
func (StreamMessagesResponse_StreamErrorValidationError) Error ¶
func (e StreamMessagesResponse_StreamErrorValidationError) Error() string
Error satisfies the builtin error interface
func (StreamMessagesResponse_StreamErrorValidationError) ErrorName ¶
func (e StreamMessagesResponse_StreamErrorValidationError) ErrorName() string
ErrorName returns error name.
func (StreamMessagesResponse_StreamErrorValidationError) Field ¶
func (e StreamMessagesResponse_StreamErrorValidationError) Field() string
Field function returns field value.
func (StreamMessagesResponse_StreamErrorValidationError) Key ¶
func (e StreamMessagesResponse_StreamErrorValidationError) Key() bool
Key function returns key value.
func (StreamMessagesResponse_StreamErrorValidationError) Reason ¶
func (e StreamMessagesResponse_StreamErrorValidationError) Reason() string
Reason function returns reason value.
type StreamMessagesResponse_StreamError_Code ¶
type StreamMessagesResponse_StreamError_Code int32
const (
StreamMessagesResponse_StreamError_DENIED StreamMessagesResponse_StreamError_Code = 0
)
func (StreamMessagesResponse_StreamError_Code) Descriptor ¶
func (StreamMessagesResponse_StreamError_Code) Descriptor() protoreflect.EnumDescriptor
func (StreamMessagesResponse_StreamError_Code) EnumDescriptor
deprecated
func (StreamMessagesResponse_StreamError_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamMessagesResponse_StreamError_Code.Descriptor instead.
func (StreamMessagesResponse_StreamError_Code) Number ¶
func (x StreamMessagesResponse_StreamError_Code) Number() protoreflect.EnumNumber
func (StreamMessagesResponse_StreamError_Code) String ¶
func (x StreamMessagesResponse_StreamError_Code) String() string
func (StreamMessagesResponse_StreamError_Code) Type ¶
func (StreamMessagesResponse_StreamError_Code) Type() protoreflect.EnumType
type TextContent ¶
type TextContent struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
Raw text content
func (*TextContent) Descriptor
deprecated
func (*TextContent) Descriptor() ([]byte, []int)
Deprecated: Use TextContent.ProtoReflect.Descriptor instead.
func (*TextContent) GetText ¶
func (x *TextContent) GetText() string
func (*TextContent) ProtoMessage ¶
func (*TextContent) ProtoMessage()
func (*TextContent) ProtoReflect ¶
func (x *TextContent) ProtoReflect() protoreflect.Message
func (*TextContent) Reset ¶
func (x *TextContent) Reset()
func (*TextContent) String ¶
func (x *TextContent) String() string
func (*TextContent) Validate ¶
func (m *TextContent) Validate() error
Validate checks the field values on TextContent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TextContent) ValidateAll ¶
func (m *TextContent) ValidateAll() error
ValidateAll checks the field values on TextContent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TextContentMultiError, or nil if none found.
type TextContentMultiError ¶
type TextContentMultiError []error
TextContentMultiError is an error wrapping multiple validation errors returned by TextContent.ValidateAll() if the designated constraints aren't met.
func (TextContentMultiError) AllErrors ¶
func (m TextContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TextContentMultiError) Error ¶
func (m TextContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TextContentValidationError ¶
type TextContentValidationError struct {
// contains filtered or unexported fields
}
TextContentValidationError is the validation error returned by TextContent.Validate if the designated constraints aren't met.
func (TextContentValidationError) Cause ¶
func (e TextContentValidationError) Cause() error
Cause function returns cause value.
func (TextContentValidationError) Error ¶
func (e TextContentValidationError) Error() string
Error satisfies the builtin error interface
func (TextContentValidationError) ErrorName ¶
func (e TextContentValidationError) ErrorName() string
ErrorName returns error name.
func (TextContentValidationError) Field ¶
func (e TextContentValidationError) Field() string
Field function returns field value.
func (TextContentValidationError) Key ¶
func (e TextContentValidationError) Key() bool
Key function returns key value.
func (TextContentValidationError) Reason ¶
func (e TextContentValidationError) Reason() string
Reason function returns reason value.
type TipContent ¶
type TipContent struct { // The message ID of the message this tip is referencing OriginalMessageId *MessageId `protobuf:"bytes,1,opt,name=original_message_id,json=originalMessageId,proto3" json:"original_message_id,omitempty"` // The amount tipped for the message TipAmount *v1.PaymentAmount `protobuf:"bytes,2,opt,name=tip_amount,json=tipAmount,proto3" json:"tip_amount,omitempty"` // contains filtered or unexported fields }
func (*TipContent) Descriptor
deprecated
func (*TipContent) Descriptor() ([]byte, []int)
Deprecated: Use TipContent.ProtoReflect.Descriptor instead.
func (*TipContent) GetOriginalMessageId ¶
func (x *TipContent) GetOriginalMessageId() *MessageId
func (*TipContent) GetTipAmount ¶
func (x *TipContent) GetTipAmount() *v1.PaymentAmount
func (*TipContent) ProtoMessage ¶
func (*TipContent) ProtoMessage()
func (*TipContent) ProtoReflect ¶
func (x *TipContent) ProtoReflect() protoreflect.Message
func (*TipContent) Reset ¶
func (x *TipContent) Reset()
func (*TipContent) String ¶
func (x *TipContent) String() string
func (*TipContent) Validate ¶
func (m *TipContent) Validate() error
Validate checks the field values on TipContent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TipContent) ValidateAll ¶
func (m *TipContent) ValidateAll() error
ValidateAll checks the field values on TipContent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TipContentMultiError, or nil if none found.
type TipContentMultiError ¶
type TipContentMultiError []error
TipContentMultiError is an error wrapping multiple validation errors returned by TipContent.ValidateAll() if the designated constraints aren't met.
func (TipContentMultiError) AllErrors ¶
func (m TipContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TipContentMultiError) Error ¶
func (m TipContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TipContentValidationError ¶
type TipContentValidationError struct {
// contains filtered or unexported fields
}
TipContentValidationError is the validation error returned by TipContent.Validate if the designated constraints aren't met.
func (TipContentValidationError) Cause ¶
func (e TipContentValidationError) Cause() error
Cause function returns cause value.
func (TipContentValidationError) Error ¶
func (e TipContentValidationError) Error() string
Error satisfies the builtin error interface
func (TipContentValidationError) ErrorName ¶
func (e TipContentValidationError) ErrorName() string
ErrorName returns error name.
func (TipContentValidationError) Field ¶
func (e TipContentValidationError) Field() string
Field function returns field value.
func (TipContentValidationError) Key ¶
func (e TipContentValidationError) Key() bool
Key function returns key value.
func (TipContentValidationError) Reason ¶
func (e TipContentValidationError) Reason() string
Reason function returns reason value.
type TypingState ¶ added in v1.1.0
type TypingState int32
const ( TypingState_UNKNOWN_TYPING_STATE TypingState = 0 TypingState_STARTED_TYPING TypingState = 1 TypingState_STILL_TYPING TypingState = 2 TypingState_STOPPED_TYPING TypingState = 3 TypingState_TYPING_TIMED_OUT TypingState = 4 )
func (TypingState) Descriptor ¶ added in v1.1.0
func (TypingState) Descriptor() protoreflect.EnumDescriptor
func (TypingState) Enum ¶ added in v1.1.0
func (x TypingState) Enum() *TypingState
func (TypingState) EnumDescriptor
deprecated
added in
v1.1.0
func (TypingState) EnumDescriptor() ([]byte, []int)
Deprecated: Use TypingState.Descriptor instead.
func (TypingState) Number ¶ added in v1.1.0
func (x TypingState) Number() protoreflect.EnumNumber
func (TypingState) String ¶ added in v1.1.0
func (x TypingState) String() string
func (TypingState) Type ¶ added in v1.1.0
func (TypingState) Type() protoreflect.EnumType
type UnimplementedMessagingServer ¶
type UnimplementedMessagingServer struct{}
UnimplementedMessagingServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMessagingServer) AdvancePointer ¶
func (UnimplementedMessagingServer) AdvancePointer(context.Context, *AdvancePointerRequest) (*AdvancePointerResponse, error)
func (UnimplementedMessagingServer) GetMessage ¶
func (UnimplementedMessagingServer) GetMessage(context.Context, *GetMessageRequest) (*GetMessageResponse, error)
func (UnimplementedMessagingServer) GetMessages ¶
func (UnimplementedMessagingServer) GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
func (UnimplementedMessagingServer) NotifyIsTyping ¶
func (UnimplementedMessagingServer) NotifyIsTyping(context.Context, *NotifyIsTypingRequest) (*NotifyIsTypingResponse, error)
func (UnimplementedMessagingServer) SendMessage ¶
func (UnimplementedMessagingServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
func (UnimplementedMessagingServer) StreamMessages ¶
func (UnimplementedMessagingServer) StreamMessages(grpc.BidiStreamingServer[StreamMessagesRequest, StreamMessagesResponse]) error
type UnsafeMessagingServer ¶
type UnsafeMessagingServer interface {
// contains filtered or unexported methods
}
UnsafeMessagingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessagingServer will result in compilation errors.