messagingpb

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 23 Imported by: 14

Documentation

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_messaging_v1_messaging_service_proto protoreflect.FileDescriptor
View Source
var File_messaging_v1_model_proto protoreflect.FileDescriptor
View Source
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 (*ActionableAnnouncementContent) GetKeyOrText

func (x *ActionableAnnouncementContent) GetKeyOrText() string

func (*ActionableAnnouncementContent) ProtoMessage

func (*ActionableAnnouncementContent) ProtoMessage()

func (*ActionableAnnouncementContent) ProtoReflect

func (*ActionableAnnouncementContent) Reset

func (x *ActionableAnnouncementContent) Reset()

func (*ActionableAnnouncementContent) 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

AllErrors returns a list of validation violation errors.

func (ActionableAnnouncementContentMultiError) Error

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

Cause function returns cause value.

func (ActionableAnnouncementContentValidationError) Error

Error satisfies the builtin error interface

func (ActionableAnnouncementContentValidationError) ErrorName

ErrorName returns error name.

func (ActionableAnnouncementContentValidationError) Field

Field function returns field value.

func (ActionableAnnouncementContentValidationError) Key

Key function returns key value.

func (ActionableAnnouncementContentValidationError) Reason

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

func (m *ActionableAnnouncementContent_Action) GetType() isActionableAnnouncementContent_Action_Type

func (*ActionableAnnouncementContent_Action) ProtoMessage

func (*ActionableAnnouncementContent_Action) ProtoMessage()

func (*ActionableAnnouncementContent_Action) ProtoReflect

func (*ActionableAnnouncementContent_Action) Reset

func (*ActionableAnnouncementContent_Action) String

func (*ActionableAnnouncementContent_Action) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ActionableAnnouncementContent_ActionMultiError) Error

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

Cause function returns cause value.

func (ActionableAnnouncementContent_ActionValidationError) Error

Error satisfies the builtin error interface

func (ActionableAnnouncementContent_ActionValidationError) ErrorName

ErrorName returns error name.

func (ActionableAnnouncementContent_ActionValidationError) Field

Field function returns field value.

func (ActionableAnnouncementContent_ActionValidationError) Key

Key function returns key value.

func (ActionableAnnouncementContent_ActionValidationError) Reason

Reason function returns reason value.

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

Deprecated: Use ActionableAnnouncementContent_Action_ShareRoomLink.ProtoReflect.Descriptor instead.

func (*ActionableAnnouncementContent_Action_ShareRoomLink) ProtoMessage

func (*ActionableAnnouncementContent_Action_ShareRoomLink) ProtoReflect

func (*ActionableAnnouncementContent_Action_ShareRoomLink) Reset

func (*ActionableAnnouncementContent_Action_ShareRoomLink) String

func (*ActionableAnnouncementContent_Action_ShareRoomLink) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ActionableAnnouncementContent_Action_ShareRoomLinkMultiError) Error

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

Cause function returns cause value.

func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Error

Error satisfies the builtin error interface

func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) ErrorName

ErrorName returns error name.

func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Field

Field function returns field value.

func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Key

Key function returns key value.

func (ActionableAnnouncementContent_Action_ShareRoomLinkValidationError) Reason

Reason function returns reason value.

type ActionableAnnouncementContent_Action_ShareRoomLink_ struct {
	ShareRoomLink *ActionableAnnouncementContent_Action_ShareRoomLink `protobuf:"bytes,1,opt,name=share_room_link,json=shareRoomLink,proto3,oneof"`
}

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

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

Cause function returns cause value.

func (AdvancePointerRequestValidationError) Error

Error satisfies the builtin error interface

func (AdvancePointerRequestValidationError) ErrorName

ErrorName returns error name.

func (AdvancePointerRequestValidationError) Field

Field function returns field value.

func (AdvancePointerRequestValidationError) Key

Key function returns key value.

func (AdvancePointerRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (AdvancePointerResponseValidationError) Error

Error satisfies the builtin error interface

func (AdvancePointerResponseValidationError) ErrorName

ErrorName returns error name.

func (AdvancePointerResponseValidationError) Field

Field function returns field value.

func (AdvancePointerResponseValidationError) Key

Key function returns key value.

func (AdvancePointerResponseValidationError) Reason

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

func (AdvancePointerResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use AdvancePointerResponse_Result.Descriptor instead.

func (AdvancePointerResponse_Result) Number

func (AdvancePointerResponse_Result) String

func (AdvancePointerResponse_Result) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Content.ProtoReflect.Descriptor instead.

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

func (m *Content) GetType() isContent_Type

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) ProtoReflect

func (x *Content) ProtoReflect() protoreflect.Message

func (*Content) Reset

func (x *Content) Reset()

func (*Content) String

func (x *Content) String() string

func (*Content) Validate

func (m *Content) Validate() error

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

func (m *Content) ValidateAll() error

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

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

Cause function returns cause value.

func (DeleteMessageContentValidationError) Error

Error satisfies the builtin error interface

func (DeleteMessageContentValidationError) ErrorName

ErrorName returns error name.

func (DeleteMessageContentValidationError) Field

Field function returns field value.

func (DeleteMessageContentValidationError) Key

Key function returns key value.

func (DeleteMessageContentValidationError) Reason

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

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

Cause function returns cause value.

func (GetMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (GetMessageRequestValidationError) Field

Field function returns field value.

func (GetMessageRequestValidationError) Key

Key function returns key value.

func (GetMessageRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (GetMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (GetMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (GetMessageResponseValidationError) Field

Field function returns field value.

func (GetMessageResponseValidationError) Key

Key function returns key value.

func (GetMessageResponseValidationError) Reason

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

func (GetMessageResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetMessageResponse_Result.Descriptor instead.

func (GetMessageResponse_Result) Number

func (GetMessageResponse_Result) String

func (x GetMessageResponse_Result) String() string

func (GetMessageResponse_Result) Type

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

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

Cause function returns cause value.

func (GetMessagesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMessagesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetMessagesRequestValidationError) Field

Field function returns field value.

func (GetMessagesRequestValidationError) Key

Key function returns key value.

func (GetMessagesRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (GetMessagesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetMessagesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetMessagesResponseValidationError) Field

Field function returns field value.

func (GetMessagesResponseValidationError) Key

Key function returns key value.

func (GetMessagesResponseValidationError) Reason

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

func (GetMessagesResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetMessagesResponse_Result.Descriptor instead.

func (GetMessagesResponse_Result) Number

func (GetMessagesResponse_Result) String

func (GetMessagesResponse_Result) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use IsTyping.ProtoReflect.Descriptor instead.

func (*IsTyping) GetIsTyping

func (x *IsTyping) GetIsTyping() bool

func (*IsTyping) GetTypingState added in v1.1.0

func (x *IsTyping) GetTypingState() TypingState

func (*IsTyping) GetUserId

func (x *IsTyping) GetUserId() *v1.UserId

func (*IsTyping) ProtoMessage

func (*IsTyping) ProtoMessage()

func (*IsTyping) ProtoReflect

func (x *IsTyping) ProtoReflect() protoreflect.Message

func (*IsTyping) Reset

func (x *IsTyping) Reset()

func (*IsTyping) String

func (x *IsTyping) String() string

func (*IsTyping) Validate

func (m *IsTyping) Validate() error

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

func (m *IsTyping) ValidateAll() error

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

Cause function returns cause value.

func (IsTypingBatchValidationError) Error added in v1.1.0

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

Field function returns field value.

func (IsTypingBatchValidationError) Key added in v1.1.0

Key function returns key value.

func (IsTypingBatchValidationError) Reason added in v1.1.0

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 (*LocalizedAnnouncementContent) Reset

func (x *LocalizedAnnouncementContent) Reset()

func (*LocalizedAnnouncementContent) 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

AllErrors returns a list of validation violation errors.

func (LocalizedAnnouncementContentMultiError) Error

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

Cause function returns cause value.

func (LocalizedAnnouncementContentValidationError) Error

Error satisfies the builtin error interface

func (LocalizedAnnouncementContentValidationError) ErrorName

ErrorName returns error name.

func (LocalizedAnnouncementContentValidationError) Field

Field function returns field value.

func (LocalizedAnnouncementContentValidationError) Key

Key function returns key value.

func (LocalizedAnnouncementContentValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetContent

func (x *Message) GetContent() []*Content

func (*Message) GetMessageId

func (x *Message) GetMessageId() *MessageId

func (*Message) GetSenderId

func (x *Message) GetSenderId() *v1.UserId

func (*Message) GetTs

func (x *Message) GetTs() *timestamppb.Timestamp

func (*Message) GetWasSenderOffStage

func (x *Message) GetWasSenderOffStage() bool

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

func (*Message) Validate

func (m *Message) Validate() error

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

func (m *Message) ValidateAll() error

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

Cause function returns cause value.

func (MessageBatchValidationError) Error

Error satisfies the builtin error interface

func (MessageBatchValidationError) ErrorName

func (e MessageBatchValidationError) ErrorName() string

ErrorName returns error name.

func (MessageBatchValidationError) Field

Field function returns field value.

func (MessageBatchValidationError) Key

Key function returns key value.

func (MessageBatchValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use MessageId.ProtoReflect.Descriptor instead.

func (*MessageId) GetValue

func (x *MessageId) GetValue() []byte

func (*MessageId) ProtoMessage

func (*MessageId) ProtoMessage()

func (*MessageId) ProtoReflect

func (x *MessageId) ProtoReflect() protoreflect.Message

func (*MessageId) Reset

func (x *MessageId) Reset()

func (*MessageId) String

func (x *MessageId) String() string

func (*MessageId) Validate

func (m *MessageId) Validate() error

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

func (m *MessageId) ValidateAll() error

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

Cause function returns cause value.

func (MessageIdBatchValidationError) Error

Error satisfies the builtin error interface

func (MessageIdBatchValidationError) ErrorName

func (e MessageIdBatchValidationError) ErrorName() string

ErrorName returns error name.

func (MessageIdBatchValidationError) Field

Field function returns field value.

func (MessageIdBatchValidationError) Key

Key function returns key value.

func (MessageIdBatchValidationError) Reason

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

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

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

Cause function returns cause value.

func (NotifyIsTypingRequestValidationError) Error

Error satisfies the builtin error interface

func (NotifyIsTypingRequestValidationError) ErrorName

ErrorName returns error name.

func (NotifyIsTypingRequestValidationError) Field

Field function returns field value.

func (NotifyIsTypingRequestValidationError) Key

Key function returns key value.

func (NotifyIsTypingRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (NotifyIsTypingResponseValidationError) Error

Error satisfies the builtin error interface

func (NotifyIsTypingResponseValidationError) ErrorName

ErrorName returns error name.

func (NotifyIsTypingResponseValidationError) Field

Field function returns field value.

func (NotifyIsTypingResponseValidationError) Key

Key function returns key value.

func (NotifyIsTypingResponseValidationError) Reason

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

func (NotifyIsTypingResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use NotifyIsTypingResponse_Result.Descriptor instead.

func (NotifyIsTypingResponse_Result) Number

func (NotifyIsTypingResponse_Result) String

func (NotifyIsTypingResponse_Result) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Pointer.ProtoReflect.Descriptor instead.

func (*Pointer) GetType

func (x *Pointer) GetType() Pointer_Type

func (*Pointer) GetValue

func (x *Pointer) GetValue() *MessageId

func (*Pointer) ProtoMessage

func (*Pointer) ProtoMessage()

func (*Pointer) ProtoReflect

func (x *Pointer) ProtoReflect() protoreflect.Message

func (*Pointer) Reset

func (x *Pointer) Reset()

func (*Pointer) String

func (x *Pointer) String() string

func (*Pointer) Validate

func (m *Pointer) Validate() error

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

func (m *Pointer) ValidateAll() error

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

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

Cause function returns cause value.

func (PointerUpdateBatchValidationError) Error added in v1.1.0

Error satisfies the builtin error interface

func (PointerUpdateBatchValidationError) ErrorName added in v1.1.0

ErrorName returns error name.

func (PointerUpdateBatchValidationError) Field added in v1.1.0

Field function returns field value.

func (PointerUpdateBatchValidationError) Key added in v1.1.0

Key function returns key value.

func (PointerUpdateBatchValidationError) Reason added in v1.1.0

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

Cause function returns cause value.

func (PointerUpdateValidationError) Error added in v1.1.0

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

Field function returns field value.

func (PointerUpdateValidationError) Key added in v1.1.0

Key function returns key value.

func (PointerUpdateValidationError) Reason added in v1.1.0

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) 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 (Pointer_Type) String

func (x Pointer_Type) String() string

func (Pointer_Type) Type

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

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

Cause function returns cause value.

func (ReactionContentValidationError) Error

Error satisfies the builtin error interface

func (ReactionContentValidationError) ErrorName

func (e ReactionContentValidationError) ErrorName() string

ErrorName returns error name.

func (ReactionContentValidationError) Field

Field function returns field value.

func (ReactionContentValidationError) Key

Key function returns key value.

func (ReactionContentValidationError) Reason

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

Cause function returns cause value.

func (ReplyContentValidationError) Error

Error satisfies the builtin error interface

func (ReplyContentValidationError) ErrorName

func (e ReplyContentValidationError) ErrorName() string

ErrorName returns error name.

func (ReplyContentValidationError) Field

Field function returns field value.

func (ReplyContentValidationError) Key

Key function returns key value.

func (ReplyContentValidationError) Reason

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

Cause function returns cause value.

func (ReviewContentValidationError) Error

Error satisfies the builtin error interface

func (ReviewContentValidationError) ErrorName

func (e ReviewContentValidationError) ErrorName() string

ErrorName returns error name.

func (ReviewContentValidationError) Field

Field function returns field value.

func (ReviewContentValidationError) Key

Key function returns key value.

func (ReviewContentValidationError) Reason

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 (*SendMessageAsListenerPaymentMetadata) GetUserId

func (*SendMessageAsListenerPaymentMetadata) ProtoMessage

func (*SendMessageAsListenerPaymentMetadata) ProtoMessage()

func (*SendMessageAsListenerPaymentMetadata) ProtoReflect

func (*SendMessageAsListenerPaymentMetadata) Reset

func (*SendMessageAsListenerPaymentMetadata) String

func (*SendMessageAsListenerPaymentMetadata) Validate

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

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

AllErrors returns a list of validation violation errors.

func (SendMessageAsListenerPaymentMetadataMultiError) Error

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

Cause function returns cause value.

func (SendMessageAsListenerPaymentMetadataValidationError) Error

Error satisfies the builtin error interface

func (SendMessageAsListenerPaymentMetadataValidationError) ErrorName

ErrorName returns error name.

func (SendMessageAsListenerPaymentMetadataValidationError) Field

Field function returns field value.

func (SendMessageAsListenerPaymentMetadataValidationError) Key

Key function returns key value.

func (SendMessageAsListenerPaymentMetadataValidationError) Reason

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

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

Cause function returns cause value.

func (SendMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendMessageRequestValidationError) Field

Field function returns field value.

func (SendMessageRequestValidationError) Key

Key function returns key value.

func (SendMessageRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (SendMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendMessageResponseValidationError) Field

Field function returns field value.

func (SendMessageResponseValidationError) Key

Key function returns key value.

func (SendMessageResponseValidationError) Reason

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

func (SendMessageResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use SendMessageResponse_Result.Descriptor instead.

func (SendMessageResponse_Result) Number

func (SendMessageResponse_Result) String

func (SendMessageResponse_Result) Type

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 (*SendTipMessagePaymentMetadata) Reset

func (x *SendTipMessagePaymentMetadata) Reset()

func (*SendTipMessagePaymentMetadata) 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

AllErrors returns a list of validation violation errors.

func (SendTipMessagePaymentMetadataMultiError) Error

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

Cause function returns cause value.

func (SendTipMessagePaymentMetadataValidationError) Error

Error satisfies the builtin error interface

func (SendTipMessagePaymentMetadataValidationError) ErrorName

ErrorName returns error name.

func (SendTipMessagePaymentMetadataValidationError) Field

Field function returns field value.

func (SendTipMessagePaymentMetadataValidationError) Key

Key function returns key value.

func (SendTipMessagePaymentMetadataValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (StreamMessagesRequestValidationError) Error

Error satisfies the builtin error interface

func (StreamMessagesRequestValidationError) ErrorName

ErrorName returns error name.

func (StreamMessagesRequestValidationError) Field

Field function returns field value.

func (StreamMessagesRequestValidationError) Key

Key function returns key value.

func (StreamMessagesRequestValidationError) Reason

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 (*StreamMessagesRequest_Params) Reset

func (x *StreamMessagesRequest_Params) Reset()

func (*StreamMessagesRequest_Params) 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

AllErrors returns a list of validation violation errors.

func (StreamMessagesRequest_ParamsMultiError) Error

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

Cause function returns cause value.

func (StreamMessagesRequest_ParamsValidationError) Error

Error satisfies the builtin error interface

func (StreamMessagesRequest_ParamsValidationError) ErrorName

ErrorName returns error name.

func (StreamMessagesRequest_ParamsValidationError) Field

Field function returns field value.

func (StreamMessagesRequest_ParamsValidationError) Key

Key function returns key value.

func (StreamMessagesRequest_ParamsValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (StreamMessagesResponseValidationError) Error

Error satisfies the builtin error interface

func (StreamMessagesResponseValidationError) ErrorName

ErrorName returns error name.

func (StreamMessagesResponseValidationError) Field

Field function returns field value.

func (StreamMessagesResponseValidationError) Key

Key function returns key value.

func (StreamMessagesResponseValidationError) Reason

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 (*StreamMessagesResponse_StreamError) ProtoMessage

func (*StreamMessagesResponse_StreamError) ProtoMessage()

func (*StreamMessagesResponse_StreamError) ProtoReflect

func (*StreamMessagesResponse_StreamError) Reset

func (*StreamMessagesResponse_StreamError) String

func (*StreamMessagesResponse_StreamError) Validate

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

AllErrors returns a list of validation violation errors.

func (StreamMessagesResponse_StreamErrorMultiError) Error

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

Cause function returns cause value.

func (StreamMessagesResponse_StreamErrorValidationError) Error

Error satisfies the builtin error interface

func (StreamMessagesResponse_StreamErrorValidationError) ErrorName

ErrorName returns error name.

func (StreamMessagesResponse_StreamErrorValidationError) Field

Field function returns field value.

func (StreamMessagesResponse_StreamErrorValidationError) Key

Key function returns key value.

func (StreamMessagesResponse_StreamErrorValidationError) Reason

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

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 (StreamMessagesResponse_StreamError_Code) String

func (StreamMessagesResponse_StreamError_Code) Type

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

Cause function returns cause value.

func (TextContentValidationError) Error

Error satisfies the builtin error interface

func (TextContentValidationError) ErrorName

func (e TextContentValidationError) ErrorName() string

ErrorName returns error name.

func (TextContentValidationError) Field

Field function returns field value.

func (TextContentValidationError) Key

Key function returns key value.

func (TextContentValidationError) Reason

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

Error satisfies the builtin error interface

func (TipContentValidationError) ErrorName

func (e TipContentValidationError) ErrorName() string

ErrorName returns error name.

func (TipContentValidationError) Field

Field function returns field value.

func (TipContentValidationError) Key

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

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

func (UnimplementedMessagingServer) GetMessages

func (UnimplementedMessagingServer) NotifyIsTyping

func (UnimplementedMessagingServer) SendMessage

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL