chatpb

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: 25 Imported by: 12

Documentation

Index

Constants

View Source
const (
	Chat_StreamChatEvents_FullMethodName = "/flipchat.chat.v1.Chat/StreamChatEvents"
	Chat_GetChats_FullMethodName         = "/flipchat.chat.v1.Chat/GetChats"
	Chat_GetChat_FullMethodName          = "/flipchat.chat.v1.Chat/GetChat"
	Chat_StartChat_FullMethodName        = "/flipchat.chat.v1.Chat/StartChat"
	Chat_JoinChat_FullMethodName         = "/flipchat.chat.v1.Chat/JoinChat"
	Chat_LeaveChat_FullMethodName        = "/flipchat.chat.v1.Chat/LeaveChat"
	Chat_OpenChat_FullMethodName         = "/flipchat.chat.v1.Chat/OpenChat"
	Chat_CloseChat_FullMethodName        = "/flipchat.chat.v1.Chat/CloseChat"
	Chat_CheckDisplayName_FullMethodName = "/flipchat.chat.v1.Chat/CheckDisplayName"
	Chat_SetDisplayName_FullMethodName   = "/flipchat.chat.v1.Chat/SetDisplayName"
	Chat_SetDescription_FullMethodName   = "/flipchat.chat.v1.Chat/SetDescription"
	Chat_SetCoverCharge_FullMethodName   = "/flipchat.chat.v1.Chat/SetCoverCharge"
	Chat_SetMessagingFee_FullMethodName  = "/flipchat.chat.v1.Chat/SetMessagingFee"
	Chat_GetMemberUpdates_FullMethodName = "/flipchat.chat.v1.Chat/GetMemberUpdates"
	Chat_PromoteUser_FullMethodName      = "/flipchat.chat.v1.Chat/PromoteUser"
	Chat_DemoteUser_FullMethodName       = "/flipchat.chat.v1.Chat/DemoteUser"
	Chat_RemoveUser_FullMethodName       = "/flipchat.chat.v1.Chat/RemoveUser"
	Chat_MuteUser_FullMethodName         = "/flipchat.chat.v1.Chat/MuteUser"
	Chat_MuteChat_FullMethodName         = "/flipchat.chat.v1.Chat/MuteChat"
	Chat_UnmuteChat_FullMethodName       = "/flipchat.chat.v1.Chat/UnmuteChat"
	Chat_ReportUser_FullMethodName       = "/flipchat.chat.v1.Chat/ReportUser"
)

Variables

View Source
var (
	StreamChatEventsResponse_StreamError_Code_name = map[int32]string{
		0: "DENIED",
	}
	StreamChatEventsResponse_StreamError_Code_value = map[string]int32{
		"DENIED": 0,
	}
)

Enum value maps for StreamChatEventsResponse_StreamError_Code.

View Source
var (
	GetChatsResponse_Result_name = map[int32]string{
		0: "OK",
	}
	GetChatsResponse_Result_value = map[string]int32{
		"OK": 0,
	}
)

Enum value maps for GetChatsResponse_Result.

View Source
var (
	GetChatResponse_Result_name = map[int32]string{
		0: "OK",
		1: "NOT_FOUND",
	}
	GetChatResponse_Result_value = map[string]int32{
		"OK":        0,
		"NOT_FOUND": 1,
	}
)

Enum value maps for GetChatResponse_Result.

View Source
var (
	StartChatResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
		2: "USER_NOT_FOUND",
	}
	StartChatResponse_Result_value = map[string]int32{
		"OK":             0,
		"DENIED":         1,
		"USER_NOT_FOUND": 2,
	}
)

Enum value maps for StartChatResponse_Result.

View Source
var (
	JoinChatResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
	}
	JoinChatResponse_Result_value = map[string]int32{
		"OK":     0,
		"DENIED": 1,
	}
)

Enum value maps for JoinChatResponse_Result.

View Source
var (
	LeaveChatResponse_Result_name = map[int32]string{
		0: "OK",
	}
	LeaveChatResponse_Result_value = map[string]int32{
		"OK": 0,
	}
)

Enum value maps for LeaveChatResponse_Result.

View Source
var (
	OpenChatResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
	}
	OpenChatResponse_Result_value = map[string]int32{
		"OK":     0,
		"DENIED": 1,
	}
)

Enum value maps for OpenChatResponse_Result.

View Source
var (
	CloseChatResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
	}
	CloseChatResponse_Result_value = map[string]int32{
		"OK":     0,
		"DENIED": 1,
	}
)

Enum value maps for CloseChatResponse_Result.

View Source
var (
	CheckDisplayNameResponse_Result_name = map[int32]string{
		0: "OK",
	}
	CheckDisplayNameResponse_Result_value = map[string]int32{
		"OK": 0,
	}
)

Enum value maps for CheckDisplayNameResponse_Result.

View Source
var (
	SetDisplayNameResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
		2: "CANT_SET",
	}
	SetDisplayNameResponse_Result_value = map[string]int32{
		"OK":       0,
		"DENIED":   1,
		"CANT_SET": 2,
	}
)

Enum value maps for SetDisplayNameResponse_Result.

View Source
var (
	SetDescriptionResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
		2: "CANT_SET",
	}
	SetDescriptionResponse_Result_value = map[string]int32{
		"OK":       0,
		"DENIED":   1,
		"CANT_SET": 2,
	}
)

Enum value maps for SetDescriptionResponse_Result.

View Source
var (
	SetCoverChargeResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
		2: "CANT_SET",
	}
	SetCoverChargeResponse_Result_value = map[string]int32{
		"OK":       0,
		"DENIED":   1,
		"CANT_SET": 2,
	}
)

Enum value maps for SetCoverChargeResponse_Result.

View Source
var (
	SetMessagingFeeResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
		2: "CANT_SET",
	}
	SetMessagingFeeResponse_Result_value = map[string]int32{
		"OK":       0,
		"DENIED":   1,
		"CANT_SET": 2,
	}
)

Enum value maps for SetMessagingFeeResponse_Result.

View Source
var (
	GetMemberUpdatesResponse_Result_name = map[int32]string{
		0: "OK",
		1: "NOT_FOUND",
	}
	GetMemberUpdatesResponse_Result_value = map[string]int32{
		"OK":        0,
		"NOT_FOUND": 1,
	}
)

Enum value maps for GetMemberUpdatesResponse_Result.

View Source
var (
	PromoteUserResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
		2: "NOT_REGISTERED",
	}
	PromoteUserResponse_Result_value = map[string]int32{
		"OK":             0,
		"DENIED":         1,
		"NOT_REGISTERED": 2,
	}
)

Enum value maps for PromoteUserResponse_Result.

View Source
var (
	DemoteUserResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
	}
	DemoteUserResponse_Result_value = map[string]int32{
		"OK":     0,
		"DENIED": 1,
	}
)

Enum value maps for DemoteUserResponse_Result.

View Source
var (
	RemoveUserResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
	}
	RemoveUserResponse_Result_value = map[string]int32{
		"OK":     0,
		"DENIED": 1,
	}
)

Enum value maps for RemoveUserResponse_Result.

View Source
var (
	MuteUserResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
	}
	MuteUserResponse_Result_value = map[string]int32{
		"OK":     0,
		"DENIED": 1,
	}
)

Enum value maps for MuteUserResponse_Result.

View Source
var (
	MuteChatResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
	}
	MuteChatResponse_Result_value = map[string]int32{
		"OK":     0,
		"DENIED": 1,
	}
)

Enum value maps for MuteChatResponse_Result.

View Source
var (
	UnmuteChatResponse_Result_name = map[int32]string{
		0: "OK",
		1: "DENIED",
	}
	UnmuteChatResponse_Result_value = map[string]int32{
		"OK":     0,
		"DENIED": 1,
	}
)

Enum value maps for UnmuteChatResponse_Result.

View Source
var (
	ReportUserResponse_Result_name = map[int32]string{
		0: "OK",
	}
	ReportUserResponse_Result_value = map[string]int32{
		"OK": 0,
	}
)

Enum value maps for ReportUserResponse_Result.

View Source
var (
	Metadata_ChatType_name = map[int32]string{
		0: "UNKNOWN",
		1: "TWO_WAY",
		2: "GROUP",
	}
	Metadata_ChatType_value = map[string]int32{
		"UNKNOWN": 0,
		"TWO_WAY": 1,
		"GROUP":   2,
	}
)

Enum value maps for Metadata_ChatType.

View Source
var Chat_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "flipchat.chat.v1.Chat",
	HandlerType: (*ChatServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetChats",
			Handler:    _Chat_GetChats_Handler,
		},
		{
			MethodName: "GetChat",
			Handler:    _Chat_GetChat_Handler,
		},
		{
			MethodName: "StartChat",
			Handler:    _Chat_StartChat_Handler,
		},
		{
			MethodName: "JoinChat",
			Handler:    _Chat_JoinChat_Handler,
		},
		{
			MethodName: "LeaveChat",
			Handler:    _Chat_LeaveChat_Handler,
		},
		{
			MethodName: "OpenChat",
			Handler:    _Chat_OpenChat_Handler,
		},
		{
			MethodName: "CloseChat",
			Handler:    _Chat_CloseChat_Handler,
		},
		{
			MethodName: "CheckDisplayName",
			Handler:    _Chat_CheckDisplayName_Handler,
		},
		{
			MethodName: "SetDisplayName",
			Handler:    _Chat_SetDisplayName_Handler,
		},
		{
			MethodName: "SetDescription",
			Handler:    _Chat_SetDescription_Handler,
		},
		{
			MethodName: "SetCoverCharge",
			Handler:    _Chat_SetCoverCharge_Handler,
		},
		{
			MethodName: "SetMessagingFee",
			Handler:    _Chat_SetMessagingFee_Handler,
		},
		{
			MethodName: "GetMemberUpdates",
			Handler:    _Chat_GetMemberUpdates_Handler,
		},
		{
			MethodName: "PromoteUser",
			Handler:    _Chat_PromoteUser_Handler,
		},
		{
			MethodName: "DemoteUser",
			Handler:    _Chat_DemoteUser_Handler,
		},
		{
			MethodName: "RemoveUser",
			Handler:    _Chat_RemoveUser_Handler,
		},
		{
			MethodName: "MuteUser",
			Handler:    _Chat_MuteUser_Handler,
		},
		{
			MethodName: "MuteChat",
			Handler:    _Chat_MuteChat_Handler,
		},
		{
			MethodName: "UnmuteChat",
			Handler:    _Chat_UnmuteChat_Handler,
		},
		{
			MethodName: "ReportUser",
			Handler:    _Chat_ReportUser_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamChatEvents",
			Handler:       _Chat_StreamChatEvents_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "chat/v1/chat_service.proto",
}

Chat_ServiceDesc is the grpc.ServiceDesc for Chat service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_chat_v1_chat_service_proto protoreflect.FileDescriptor

Functions

func RegisterChatServer

func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer)

Types

type ChatClient

type ChatClient interface {
	// StreamChatEvents streams all chat events for the requesting user.
	//
	// Chat events will include any update to a chat, including:
	//  1. Metadata changes.
	//  2. Membership changes.
	//  3. Latest messages.
	//
	// The server will optionally filter out some events depending on load
	// and chat type. For example, Broadcast chats may not receive latest
	// messages.
	//
	// Clients should use GetMessages to backfill in any historical messages
	// for a chat. It should be sufficient to rely on ChatEvents for some types
	// of chats, but using StreamMessages provides a guarentee of message events
	// for all chats.
	StreamChatEvents(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StreamChatEventsRequest, StreamChatEventsResponse], error)
	// GetChats gets the set of chats for an owner account using a paged API.
	// This RPC is aware of all identities tied to the owner account.
	GetChats(ctx context.Context, in *GetChatsRequest, opts ...grpc.CallOption) (*GetChatsResponse, error)
	// GetChat returns the metadata for a specific chat.
	GetChat(ctx context.Context, in *GetChatRequest, opts ...grpc.CallOption) (*GetChatResponse, error)
	// StartChat starts a chat. The RPC call is idempotent and will use existing
	// chats whenever applicable within the context of message routing.
	StartChat(ctx context.Context, in *StartChatRequest, opts ...grpc.CallOption) (*StartChatResponse, error)
	// JoinChat joins a given chat.
	JoinChat(ctx context.Context, in *JoinChatRequest, opts ...grpc.CallOption) (*JoinChatResponse, error)
	// LeaveChat leaves a given chat.
	LeaveChat(ctx context.Context, in *LeaveChatRequest, opts ...grpc.CallOption) (*LeaveChatResponse, error)
	// OpenChat opens a chat up for messaging across all members
	OpenChat(ctx context.Context, in *OpenChatRequest, opts ...grpc.CallOption) (*OpenChatResponse, error)
	// CloseChat closes a chat up for messaging to just the chat owner
	CloseChat(ctx context.Context, in *CloseChatRequest, opts ...grpc.CallOption) (*CloseChatResponse, error)
	// CheckDisplayName checks whether a chat display name passes moderation
	CheckDisplayName(ctx context.Context, in *CheckDisplayNameRequest, opts ...grpc.CallOption) (*CheckDisplayNameResponse, error)
	// SetDisplayName sets a chat's display name. If the display name isn't allowed,
	// then a set of alternate suggestions may be provided
	SetDisplayName(ctx context.Context, in *SetDisplayNameRequest, opts ...grpc.CallOption) (*SetDisplayNameResponse, error)
	// SetDescription sets a chat's description
	SetDescription(ctx context.Context, in *SetDescriptionRequest, opts ...grpc.CallOption) (*SetDescriptionResponse, error)
	// SetCoverCharge sets a chat's cover charge
	//
	// Deprecated: Use SetMessagingFee instead
	SetCoverCharge(ctx context.Context, in *SetCoverChargeRequest, opts ...grpc.CallOption) (*SetCoverChargeResponse, error)
	// SetMessagingFee sets a chat's messaging fee
	SetMessagingFee(ctx context.Context, in *SetMessagingFeeRequest, opts ...grpc.CallOption) (*SetMessagingFeeResponse, error)
	// GetMemberUpdates gets member updates for a given chat
	GetMemberUpdates(ctx context.Context, in *GetMemberUpdatesRequest, opts ...grpc.CallOption) (*GetMemberUpdatesResponse, error)
	// PromoteUser promotes a user to an elevated permission state
	PromoteUser(ctx context.Context, in *PromoteUserRequest, opts ...grpc.CallOption) (*PromoteUserResponse, error)
	// DemoteUser demotes a user to a lower permission state
	DemoteUser(ctx context.Context, in *DemoteUserRequest, opts ...grpc.CallOption) (*DemoteUserResponse, error)
	// RemoveUser removes a user from a chat
	RemoveUser(ctx context.Context, in *RemoveUserRequest, opts ...grpc.CallOption) (*RemoveUserResponse, error)
	// MuteUser mutes a user in the chat and removes their ability to send messages
	MuteUser(ctx context.Context, in *MuteUserRequest, opts ...grpc.CallOption) (*MuteUserResponse, error)
	// MuteChat mutes a chat and disables push notifications
	MuteChat(ctx context.Context, in *MuteChatRequest, opts ...grpc.CallOption) (*MuteChatResponse, error)
	// UnmuteChat unmutes a chat and enables push notifications
	UnmuteChat(ctx context.Context, in *UnmuteChatRequest, opts ...grpc.CallOption) (*UnmuteChatResponse, error)
	// ReportUser reports a user for a given message
	//
	// todo: might belong in a different service long-term
	ReportUser(ctx context.Context, in *ReportUserRequest, opts ...grpc.CallOption) (*ReportUserResponse, error)
}

ChatClient is the client API for Chat service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewChatClient

func NewChatClient(cc grpc.ClientConnInterface) ChatClient

type ChatServer

type ChatServer interface {
	// StreamChatEvents streams all chat events for the requesting user.
	//
	// Chat events will include any update to a chat, including:
	//  1. Metadata changes.
	//  2. Membership changes.
	//  3. Latest messages.
	//
	// The server will optionally filter out some events depending on load
	// and chat type. For example, Broadcast chats may not receive latest
	// messages.
	//
	// Clients should use GetMessages to backfill in any historical messages
	// for a chat. It should be sufficient to rely on ChatEvents for some types
	// of chats, but using StreamMessages provides a guarentee of message events
	// for all chats.
	StreamChatEvents(grpc.BidiStreamingServer[StreamChatEventsRequest, StreamChatEventsResponse]) error
	// GetChats gets the set of chats for an owner account using a paged API.
	// This RPC is aware of all identities tied to the owner account.
	GetChats(context.Context, *GetChatsRequest) (*GetChatsResponse, error)
	// GetChat returns the metadata for a specific chat.
	GetChat(context.Context, *GetChatRequest) (*GetChatResponse, error)
	// StartChat starts a chat. The RPC call is idempotent and will use existing
	// chats whenever applicable within the context of message routing.
	StartChat(context.Context, *StartChatRequest) (*StartChatResponse, error)
	// JoinChat joins a given chat.
	JoinChat(context.Context, *JoinChatRequest) (*JoinChatResponse, error)
	// LeaveChat leaves a given chat.
	LeaveChat(context.Context, *LeaveChatRequest) (*LeaveChatResponse, error)
	// OpenChat opens a chat up for messaging across all members
	OpenChat(context.Context, *OpenChatRequest) (*OpenChatResponse, error)
	// CloseChat closes a chat up for messaging to just the chat owner
	CloseChat(context.Context, *CloseChatRequest) (*CloseChatResponse, error)
	// CheckDisplayName checks whether a chat display name passes moderation
	CheckDisplayName(context.Context, *CheckDisplayNameRequest) (*CheckDisplayNameResponse, error)
	// SetDisplayName sets a chat's display name. If the display name isn't allowed,
	// then a set of alternate suggestions may be provided
	SetDisplayName(context.Context, *SetDisplayNameRequest) (*SetDisplayNameResponse, error)
	// SetDescription sets a chat's description
	SetDescription(context.Context, *SetDescriptionRequest) (*SetDescriptionResponse, error)
	// SetCoverCharge sets a chat's cover charge
	//
	// Deprecated: Use SetMessagingFee instead
	SetCoverCharge(context.Context, *SetCoverChargeRequest) (*SetCoverChargeResponse, error)
	// SetMessagingFee sets a chat's messaging fee
	SetMessagingFee(context.Context, *SetMessagingFeeRequest) (*SetMessagingFeeResponse, error)
	// GetMemberUpdates gets member updates for a given chat
	GetMemberUpdates(context.Context, *GetMemberUpdatesRequest) (*GetMemberUpdatesResponse, error)
	// PromoteUser promotes a user to an elevated permission state
	PromoteUser(context.Context, *PromoteUserRequest) (*PromoteUserResponse, error)
	// DemoteUser demotes a user to a lower permission state
	DemoteUser(context.Context, *DemoteUserRequest) (*DemoteUserResponse, error)
	// RemoveUser removes a user from a chat
	RemoveUser(context.Context, *RemoveUserRequest) (*RemoveUserResponse, error)
	// MuteUser mutes a user in the chat and removes their ability to send messages
	MuteUser(context.Context, *MuteUserRequest) (*MuteUserResponse, error)
	// MuteChat mutes a chat and disables push notifications
	MuteChat(context.Context, *MuteChatRequest) (*MuteChatResponse, error)
	// UnmuteChat unmutes a chat and enables push notifications
	UnmuteChat(context.Context, *UnmuteChatRequest) (*UnmuteChatResponse, error)
	// ReportUser reports a user for a given message
	//
	// todo: might belong in a different service long-term
	ReportUser(context.Context, *ReportUserRequest) (*ReportUserResponse, error)
	// contains filtered or unexported methods
}

ChatServer is the server API for Chat service. All implementations must embed UnimplementedChatServer for forward compatibility.

type Chat_StreamChatEventsClient

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Chat_StreamChatEventsServer

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type CheckDisplayNameRequest

type CheckDisplayNameRequest struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckDisplayNameRequest) Descriptor deprecated

func (*CheckDisplayNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckDisplayNameRequest.ProtoReflect.Descriptor instead.

func (*CheckDisplayNameRequest) GetDisplayName

func (x *CheckDisplayNameRequest) GetDisplayName() string

func (*CheckDisplayNameRequest) ProtoMessage

func (*CheckDisplayNameRequest) ProtoMessage()

func (*CheckDisplayNameRequest) ProtoReflect

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

func (*CheckDisplayNameRequest) Reset

func (x *CheckDisplayNameRequest) Reset()

func (*CheckDisplayNameRequest) String

func (x *CheckDisplayNameRequest) String() string

func (*CheckDisplayNameRequest) Validate

func (m *CheckDisplayNameRequest) Validate() error

Validate checks the field values on CheckDisplayNameRequest 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 (*CheckDisplayNameRequest) ValidateAll

func (m *CheckDisplayNameRequest) ValidateAll() error

ValidateAll checks the field values on CheckDisplayNameRequest 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 CheckDisplayNameRequestMultiError, or nil if none found.

type CheckDisplayNameRequestMultiError

type CheckDisplayNameRequestMultiError []error

CheckDisplayNameRequestMultiError is an error wrapping multiple validation errors returned by CheckDisplayNameRequest.ValidateAll() if the designated constraints aren't met.

func (CheckDisplayNameRequestMultiError) AllErrors

func (m CheckDisplayNameRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckDisplayNameRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CheckDisplayNameRequestValidationError

type CheckDisplayNameRequestValidationError struct {
	// contains filtered or unexported fields
}

CheckDisplayNameRequestValidationError is the validation error returned by CheckDisplayNameRequest.Validate if the designated constraints aren't met.

func (CheckDisplayNameRequestValidationError) Cause

Cause function returns cause value.

func (CheckDisplayNameRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckDisplayNameRequestValidationError) ErrorName

ErrorName returns error name.

func (CheckDisplayNameRequestValidationError) Field

Field function returns field value.

func (CheckDisplayNameRequestValidationError) Key

Key function returns key value.

func (CheckDisplayNameRequestValidationError) Reason

Reason function returns reason value.

type CheckDisplayNameResponse

type CheckDisplayNameResponse struct {
	Result    CheckDisplayNameResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.CheckDisplayNameResponse_Result" json:"result,omitempty"`
	IsAllowed bool                            `protobuf:"varint,2,opt,name=is_allowed,json=isAllowed,proto3" json:"is_allowed,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckDisplayNameResponse) Descriptor deprecated

func (*CheckDisplayNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckDisplayNameResponse.ProtoReflect.Descriptor instead.

func (*CheckDisplayNameResponse) GetIsAllowed

func (x *CheckDisplayNameResponse) GetIsAllowed() bool

func (*CheckDisplayNameResponse) GetResult

func (*CheckDisplayNameResponse) ProtoMessage

func (*CheckDisplayNameResponse) ProtoMessage()

func (*CheckDisplayNameResponse) ProtoReflect

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

func (*CheckDisplayNameResponse) Reset

func (x *CheckDisplayNameResponse) Reset()

func (*CheckDisplayNameResponse) String

func (x *CheckDisplayNameResponse) String() string

func (*CheckDisplayNameResponse) Validate

func (m *CheckDisplayNameResponse) Validate() error

Validate checks the field values on CheckDisplayNameResponse 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 (*CheckDisplayNameResponse) ValidateAll

func (m *CheckDisplayNameResponse) ValidateAll() error

ValidateAll checks the field values on CheckDisplayNameResponse 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 CheckDisplayNameResponseMultiError, or nil if none found.

type CheckDisplayNameResponseMultiError

type CheckDisplayNameResponseMultiError []error

CheckDisplayNameResponseMultiError is an error wrapping multiple validation errors returned by CheckDisplayNameResponse.ValidateAll() if the designated constraints aren't met.

func (CheckDisplayNameResponseMultiError) AllErrors

func (m CheckDisplayNameResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckDisplayNameResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CheckDisplayNameResponseValidationError

type CheckDisplayNameResponseValidationError struct {
	// contains filtered or unexported fields
}

CheckDisplayNameResponseValidationError is the validation error returned by CheckDisplayNameResponse.Validate if the designated constraints aren't met.

func (CheckDisplayNameResponseValidationError) Cause

Cause function returns cause value.

func (CheckDisplayNameResponseValidationError) Error

Error satisfies the builtin error interface

func (CheckDisplayNameResponseValidationError) ErrorName

ErrorName returns error name.

func (CheckDisplayNameResponseValidationError) Field

Field function returns field value.

func (CheckDisplayNameResponseValidationError) Key

Key function returns key value.

func (CheckDisplayNameResponseValidationError) Reason

Reason function returns reason value.

type CheckDisplayNameResponse_Result

type CheckDisplayNameResponse_Result int32
const (
	CheckDisplayNameResponse_OK CheckDisplayNameResponse_Result = 0
)

func (CheckDisplayNameResponse_Result) Descriptor

func (CheckDisplayNameResponse_Result) Enum

func (CheckDisplayNameResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use CheckDisplayNameResponse_Result.Descriptor instead.

func (CheckDisplayNameResponse_Result) Number

func (CheckDisplayNameResponse_Result) String

func (CheckDisplayNameResponse_Result) Type

type CloseChatRequest

type CloseChatRequest struct {

	// / The chat that is being closed
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	Auth   *v1.Auth   `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseChatRequest) Descriptor deprecated

func (*CloseChatRequest) Descriptor() ([]byte, []int)

Deprecated: Use CloseChatRequest.ProtoReflect.Descriptor instead.

func (*CloseChatRequest) GetAuth

func (x *CloseChatRequest) GetAuth() *v1.Auth

func (*CloseChatRequest) GetChatId

func (x *CloseChatRequest) GetChatId() *v1.ChatId

func (*CloseChatRequest) ProtoMessage

func (*CloseChatRequest) ProtoMessage()

func (*CloseChatRequest) ProtoReflect

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

func (*CloseChatRequest) Reset

func (x *CloseChatRequest) Reset()

func (*CloseChatRequest) String

func (x *CloseChatRequest) String() string

func (*CloseChatRequest) Validate

func (m *CloseChatRequest) Validate() error

Validate checks the field values on CloseChatRequest 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 (*CloseChatRequest) ValidateAll

func (m *CloseChatRequest) ValidateAll() error

ValidateAll checks the field values on CloseChatRequest 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 CloseChatRequestMultiError, or nil if none found.

type CloseChatRequestMultiError

type CloseChatRequestMultiError []error

CloseChatRequestMultiError is an error wrapping multiple validation errors returned by CloseChatRequest.ValidateAll() if the designated constraints aren't met.

func (CloseChatRequestMultiError) AllErrors

func (m CloseChatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CloseChatRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CloseChatRequestValidationError

type CloseChatRequestValidationError struct {
	// contains filtered or unexported fields
}

CloseChatRequestValidationError is the validation error returned by CloseChatRequest.Validate if the designated constraints aren't met.

func (CloseChatRequestValidationError) Cause

Cause function returns cause value.

func (CloseChatRequestValidationError) Error

Error satisfies the builtin error interface

func (CloseChatRequestValidationError) ErrorName

ErrorName returns error name.

func (CloseChatRequestValidationError) Field

Field function returns field value.

func (CloseChatRequestValidationError) Key

Key function returns key value.

func (CloseChatRequestValidationError) Reason

Reason function returns reason value.

type CloseChatResponse

type CloseChatResponse struct {
	Result CloseChatResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.CloseChatResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseChatResponse) Descriptor deprecated

func (*CloseChatResponse) Descriptor() ([]byte, []int)

Deprecated: Use CloseChatResponse.ProtoReflect.Descriptor instead.

func (*CloseChatResponse) GetResult

func (*CloseChatResponse) ProtoMessage

func (*CloseChatResponse) ProtoMessage()

func (*CloseChatResponse) ProtoReflect

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

func (*CloseChatResponse) Reset

func (x *CloseChatResponse) Reset()

func (*CloseChatResponse) String

func (x *CloseChatResponse) String() string

func (*CloseChatResponse) Validate

func (m *CloseChatResponse) Validate() error

Validate checks the field values on CloseChatResponse 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 (*CloseChatResponse) ValidateAll

func (m *CloseChatResponse) ValidateAll() error

ValidateAll checks the field values on CloseChatResponse 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 CloseChatResponseMultiError, or nil if none found.

type CloseChatResponseMultiError

type CloseChatResponseMultiError []error

CloseChatResponseMultiError is an error wrapping multiple validation errors returned by CloseChatResponse.ValidateAll() if the designated constraints aren't met.

func (CloseChatResponseMultiError) AllErrors

func (m CloseChatResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CloseChatResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CloseChatResponseValidationError

type CloseChatResponseValidationError struct {
	// contains filtered or unexported fields
}

CloseChatResponseValidationError is the validation error returned by CloseChatResponse.Validate if the designated constraints aren't met.

func (CloseChatResponseValidationError) Cause

Cause function returns cause value.

func (CloseChatResponseValidationError) Error

Error satisfies the builtin error interface

func (CloseChatResponseValidationError) ErrorName

ErrorName returns error name.

func (CloseChatResponseValidationError) Field

Field function returns field value.

func (CloseChatResponseValidationError) Key

Key function returns key value.

func (CloseChatResponseValidationError) Reason

Reason function returns reason value.

type CloseChatResponse_Result

type CloseChatResponse_Result int32
const (
	CloseChatResponse_OK     CloseChatResponse_Result = 0
	CloseChatResponse_DENIED CloseChatResponse_Result = 1
)

func (CloseChatResponse_Result) Descriptor

func (CloseChatResponse_Result) Enum

func (CloseChatResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use CloseChatResponse_Result.Descriptor instead.

func (CloseChatResponse_Result) Number

func (CloseChatResponse_Result) String

func (x CloseChatResponse_Result) String() string

func (CloseChatResponse_Result) Type

type DemoteUserRequest

type DemoteUserRequest struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	UserId *v1.UserId `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Disables send permissions when value is true
	DisableSendPermission bool     `` /* 127-byte string literal not displayed */
	Auth                  *v1.Auth `protobuf:"bytes,100,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*DemoteUserRequest) Descriptor deprecated

func (*DemoteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DemoteUserRequest.ProtoReflect.Descriptor instead.

func (*DemoteUserRequest) GetAuth

func (x *DemoteUserRequest) GetAuth() *v1.Auth

func (*DemoteUserRequest) GetChatId

func (x *DemoteUserRequest) GetChatId() *v1.ChatId

func (*DemoteUserRequest) GetDisableSendPermission

func (x *DemoteUserRequest) GetDisableSendPermission() bool

func (*DemoteUserRequest) GetUserId

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

func (*DemoteUserRequest) ProtoMessage

func (*DemoteUserRequest) ProtoMessage()

func (*DemoteUserRequest) ProtoReflect

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

func (*DemoteUserRequest) Reset

func (x *DemoteUserRequest) Reset()

func (*DemoteUserRequest) String

func (x *DemoteUserRequest) String() string

func (*DemoteUserRequest) Validate

func (m *DemoteUserRequest) Validate() error

Validate checks the field values on DemoteUserRequest 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 (*DemoteUserRequest) ValidateAll

func (m *DemoteUserRequest) ValidateAll() error

ValidateAll checks the field values on DemoteUserRequest 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 DemoteUserRequestMultiError, or nil if none found.

type DemoteUserRequestMultiError

type DemoteUserRequestMultiError []error

DemoteUserRequestMultiError is an error wrapping multiple validation errors returned by DemoteUserRequest.ValidateAll() if the designated constraints aren't met.

func (DemoteUserRequestMultiError) AllErrors

func (m DemoteUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DemoteUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DemoteUserRequestValidationError

type DemoteUserRequestValidationError struct {
	// contains filtered or unexported fields
}

DemoteUserRequestValidationError is the validation error returned by DemoteUserRequest.Validate if the designated constraints aren't met.

func (DemoteUserRequestValidationError) Cause

Cause function returns cause value.

func (DemoteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DemoteUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DemoteUserRequestValidationError) Field

Field function returns field value.

func (DemoteUserRequestValidationError) Key

Key function returns key value.

func (DemoteUserRequestValidationError) Reason

Reason function returns reason value.

type DemoteUserResponse

type DemoteUserResponse struct {
	Result DemoteUserResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.DemoteUserResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*DemoteUserResponse) Descriptor deprecated

func (*DemoteUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use DemoteUserResponse.ProtoReflect.Descriptor instead.

func (*DemoteUserResponse) GetResult

func (*DemoteUserResponse) ProtoMessage

func (*DemoteUserResponse) ProtoMessage()

func (*DemoteUserResponse) ProtoReflect

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

func (*DemoteUserResponse) Reset

func (x *DemoteUserResponse) Reset()

func (*DemoteUserResponse) String

func (x *DemoteUserResponse) String() string

func (*DemoteUserResponse) Validate

func (m *DemoteUserResponse) Validate() error

Validate checks the field values on DemoteUserResponse 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 (*DemoteUserResponse) ValidateAll

func (m *DemoteUserResponse) ValidateAll() error

ValidateAll checks the field values on DemoteUserResponse 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 DemoteUserResponseMultiError, or nil if none found.

type DemoteUserResponseMultiError

type DemoteUserResponseMultiError []error

DemoteUserResponseMultiError is an error wrapping multiple validation errors returned by DemoteUserResponse.ValidateAll() if the designated constraints aren't met.

func (DemoteUserResponseMultiError) AllErrors

func (m DemoteUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DemoteUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DemoteUserResponseValidationError

type DemoteUserResponseValidationError struct {
	// contains filtered or unexported fields
}

DemoteUserResponseValidationError is the validation error returned by DemoteUserResponse.Validate if the designated constraints aren't met.

func (DemoteUserResponseValidationError) Cause

Cause function returns cause value.

func (DemoteUserResponseValidationError) Error

Error satisfies the builtin error interface

func (DemoteUserResponseValidationError) ErrorName

ErrorName returns error name.

func (DemoteUserResponseValidationError) Field

Field function returns field value.

func (DemoteUserResponseValidationError) Key

Key function returns key value.

func (DemoteUserResponseValidationError) Reason

Reason function returns reason value.

type DemoteUserResponse_Result

type DemoteUserResponse_Result int32
const (
	DemoteUserResponse_OK     DemoteUserResponse_Result = 0
	DemoteUserResponse_DENIED DemoteUserResponse_Result = 1
)

func (DemoteUserResponse_Result) Descriptor

func (DemoteUserResponse_Result) Enum

func (DemoteUserResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use DemoteUserResponse_Result.Descriptor instead.

func (DemoteUserResponse_Result) Number

func (DemoteUserResponse_Result) String

func (x DemoteUserResponse_Result) String() string

func (DemoteUserResponse_Result) Type

type GetChatRequest

type GetChatRequest struct {

	// Types that are assignable to Identifier:
	//
	//	*GetChatRequest_ChatId
	//	*GetChatRequest_RoomNumber
	Identifier     isGetChatRequest_Identifier `protobuf_oneof:"identifier"`
	ExcludeMembers bool                        `protobuf:"varint,9,opt,name=exclude_members,json=excludeMembers,proto3" json:"exclude_members,omitempty"`
	// Auth is an optional field that authenticates the call, which
	// can be used to fill out extra information in the Metadata.
	Auth *v1.Auth `protobuf:"bytes,10,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatRequest) Descriptor deprecated

func (*GetChatRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetChatRequest.ProtoReflect.Descriptor instead.

func (*GetChatRequest) GetAuth

func (x *GetChatRequest) GetAuth() *v1.Auth

func (*GetChatRequest) GetChatId

func (x *GetChatRequest) GetChatId() *v1.ChatId

func (*GetChatRequest) GetExcludeMembers

func (x *GetChatRequest) GetExcludeMembers() bool

func (*GetChatRequest) GetIdentifier

func (m *GetChatRequest) GetIdentifier() isGetChatRequest_Identifier

func (*GetChatRequest) GetRoomNumber

func (x *GetChatRequest) GetRoomNumber() uint64

func (*GetChatRequest) ProtoMessage

func (*GetChatRequest) ProtoMessage()

func (*GetChatRequest) ProtoReflect

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

func (*GetChatRequest) Reset

func (x *GetChatRequest) Reset()

func (*GetChatRequest) String

func (x *GetChatRequest) String() string

func (*GetChatRequest) Validate

func (m *GetChatRequest) Validate() error

Validate checks the field values on GetChatRequest 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 (*GetChatRequest) ValidateAll

func (m *GetChatRequest) ValidateAll() error

ValidateAll checks the field values on GetChatRequest 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 GetChatRequestMultiError, or nil if none found.

type GetChatRequestMultiError

type GetChatRequestMultiError []error

GetChatRequestMultiError is an error wrapping multiple validation errors returned by GetChatRequest.ValidateAll() if the designated constraints aren't met.

func (GetChatRequestMultiError) AllErrors

func (m GetChatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetChatRequestMultiError) Error

func (m GetChatRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetChatRequestValidationError

type GetChatRequestValidationError struct {
	// contains filtered or unexported fields
}

GetChatRequestValidationError is the validation error returned by GetChatRequest.Validate if the designated constraints aren't met.

func (GetChatRequestValidationError) Cause

Cause function returns cause value.

func (GetChatRequestValidationError) Error

Error satisfies the builtin error interface

func (GetChatRequestValidationError) ErrorName

func (e GetChatRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetChatRequestValidationError) Field

Field function returns field value.

func (GetChatRequestValidationError) Key

Key function returns key value.

func (GetChatRequestValidationError) Reason

Reason function returns reason value.

type GetChatRequest_ChatId

type GetChatRequest_ChatId struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3,oneof"`
}

type GetChatRequest_RoomNumber

type GetChatRequest_RoomNumber struct {
	RoomNumber uint64 `protobuf:"varint,2,opt,name=room_number,json=roomNumber,proto3,oneof"`
}

type GetChatResponse

type GetChatResponse struct {
	Result GetChatResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.GetChatResponse_Result" json:"result,omitempty"`
	// Metadata is the chat metadata, if result == OK.
	//
	// The contents of the metadata may change whether or not the
	// call was authenticated.
	Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Members contains the chat members, if result == OK and were requested.
	Members []*Member `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatResponse) Descriptor deprecated

func (*GetChatResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetChatResponse.ProtoReflect.Descriptor instead.

func (*GetChatResponse) GetMembers

func (x *GetChatResponse) GetMembers() []*Member

func (*GetChatResponse) GetMetadata

func (x *GetChatResponse) GetMetadata() *Metadata

func (*GetChatResponse) GetResult

func (x *GetChatResponse) GetResult() GetChatResponse_Result

func (*GetChatResponse) ProtoMessage

func (*GetChatResponse) ProtoMessage()

func (*GetChatResponse) ProtoReflect

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

func (*GetChatResponse) Reset

func (x *GetChatResponse) Reset()

func (*GetChatResponse) String

func (x *GetChatResponse) String() string

func (*GetChatResponse) Validate

func (m *GetChatResponse) Validate() error

Validate checks the field values on GetChatResponse 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 (*GetChatResponse) ValidateAll

func (m *GetChatResponse) ValidateAll() error

ValidateAll checks the field values on GetChatResponse 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 GetChatResponseMultiError, or nil if none found.

type GetChatResponseMultiError

type GetChatResponseMultiError []error

GetChatResponseMultiError is an error wrapping multiple validation errors returned by GetChatResponse.ValidateAll() if the designated constraints aren't met.

func (GetChatResponseMultiError) AllErrors

func (m GetChatResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetChatResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetChatResponseValidationError

type GetChatResponseValidationError struct {
	// contains filtered or unexported fields
}

GetChatResponseValidationError is the validation error returned by GetChatResponse.Validate if the designated constraints aren't met.

func (GetChatResponseValidationError) Cause

Cause function returns cause value.

func (GetChatResponseValidationError) Error

Error satisfies the builtin error interface

func (GetChatResponseValidationError) ErrorName

func (e GetChatResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetChatResponseValidationError) Field

Field function returns field value.

func (GetChatResponseValidationError) Key

Key function returns key value.

func (GetChatResponseValidationError) Reason

Reason function returns reason value.

type GetChatResponse_Result

type GetChatResponse_Result int32
const (
	GetChatResponse_OK        GetChatResponse_Result = 0
	GetChatResponse_NOT_FOUND GetChatResponse_Result = 1
)

func (GetChatResponse_Result) Descriptor

func (GetChatResponse_Result) Enum

func (GetChatResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetChatResponse_Result.Descriptor instead.

func (GetChatResponse_Result) Number

func (GetChatResponse_Result) String

func (x GetChatResponse_Result) String() string

func (GetChatResponse_Result) Type

type GetChatsRequest

type GetChatsRequest struct {
	QueryOptions *v1.QueryOptions `protobuf:"bytes,1,opt,name=query_options,json=queryOptions,proto3" json:"query_options,omitempty"`
	Auth         *v1.Auth         `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatsRequest) Descriptor deprecated

func (*GetChatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetChatsRequest.ProtoReflect.Descriptor instead.

func (*GetChatsRequest) GetAuth

func (x *GetChatsRequest) GetAuth() *v1.Auth

func (*GetChatsRequest) GetQueryOptions

func (x *GetChatsRequest) GetQueryOptions() *v1.QueryOptions

func (*GetChatsRequest) ProtoMessage

func (*GetChatsRequest) ProtoMessage()

func (*GetChatsRequest) ProtoReflect

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

func (*GetChatsRequest) Reset

func (x *GetChatsRequest) Reset()

func (*GetChatsRequest) String

func (x *GetChatsRequest) String() string

func (*GetChatsRequest) Validate

func (m *GetChatsRequest) Validate() error

Validate checks the field values on GetChatsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetChatsRequest) ValidateAll

func (m *GetChatsRequest) ValidateAll() error

ValidateAll checks the field values on GetChatsRequest 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 GetChatsRequestMultiError, or nil if none found.

type GetChatsRequestMultiError

type GetChatsRequestMultiError []error

GetChatsRequestMultiError is an error wrapping multiple validation errors returned by GetChatsRequest.ValidateAll() if the designated constraints aren't met.

func (GetChatsRequestMultiError) AllErrors

func (m GetChatsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetChatsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetChatsRequestValidationError

type GetChatsRequestValidationError struct {
	// contains filtered or unexported fields
}

GetChatsRequestValidationError is the validation error returned by GetChatsRequest.Validate if the designated constraints aren't met.

func (GetChatsRequestValidationError) Cause

Cause function returns cause value.

func (GetChatsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetChatsRequestValidationError) ErrorName

func (e GetChatsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetChatsRequestValidationError) Field

Field function returns field value.

func (GetChatsRequestValidationError) Key

Key function returns key value.

func (GetChatsRequestValidationError) Reason

Reason function returns reason value.

type GetChatsResponse

type GetChatsResponse struct {
	Result GetChatsResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.GetChatsResponse_Result" json:"result,omitempty"`
	Chats  []*Metadata             `protobuf:"bytes,2,rep,name=chats,proto3" json:"chats,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatsResponse) Descriptor deprecated

func (*GetChatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetChatsResponse.ProtoReflect.Descriptor instead.

func (*GetChatsResponse) GetChats

func (x *GetChatsResponse) GetChats() []*Metadata

func (*GetChatsResponse) GetResult

func (*GetChatsResponse) ProtoMessage

func (*GetChatsResponse) ProtoMessage()

func (*GetChatsResponse) ProtoReflect

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

func (*GetChatsResponse) Reset

func (x *GetChatsResponse) Reset()

func (*GetChatsResponse) String

func (x *GetChatsResponse) String() string

func (*GetChatsResponse) Validate

func (m *GetChatsResponse) Validate() error

Validate checks the field values on GetChatsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetChatsResponse) ValidateAll

func (m *GetChatsResponse) ValidateAll() error

ValidateAll checks the field values on GetChatsResponse 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 GetChatsResponseMultiError, or nil if none found.

type GetChatsResponseMultiError

type GetChatsResponseMultiError []error

GetChatsResponseMultiError is an error wrapping multiple validation errors returned by GetChatsResponse.ValidateAll() if the designated constraints aren't met.

func (GetChatsResponseMultiError) AllErrors

func (m GetChatsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetChatsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetChatsResponseValidationError

type GetChatsResponseValidationError struct {
	// contains filtered or unexported fields
}

GetChatsResponseValidationError is the validation error returned by GetChatsResponse.Validate if the designated constraints aren't met.

func (GetChatsResponseValidationError) Cause

Cause function returns cause value.

func (GetChatsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetChatsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetChatsResponseValidationError) Field

Field function returns field value.

func (GetChatsResponseValidationError) Key

Key function returns key value.

func (GetChatsResponseValidationError) Reason

Reason function returns reason value.

type GetChatsResponse_Result

type GetChatsResponse_Result int32
const (
	GetChatsResponse_OK GetChatsResponse_Result = 0
)

func (GetChatsResponse_Result) Descriptor

func (GetChatsResponse_Result) Enum

func (GetChatsResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetChatsResponse_Result.Descriptor instead.

func (GetChatsResponse_Result) Number

func (GetChatsResponse_Result) String

func (x GetChatsResponse_Result) String() string

func (GetChatsResponse_Result) Type

type GetMemberUpdatesRequest

type GetMemberUpdatesRequest struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// If not provided, a full refresh is performed. Server may also choose
	// to compact updates into a full or individual refresh.
	PagingToken *v1.PagingToken `protobuf:"bytes,2,opt,name=paging_token,json=pagingToken,proto3" json:"paging_token,omitempty"`
	// Auth is an optional field that authenticates the call, which
	// can be used to fill out extra information.
	Auth *v1.Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMemberUpdatesRequest) Descriptor deprecated

func (*GetMemberUpdatesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMemberUpdatesRequest.ProtoReflect.Descriptor instead.

func (*GetMemberUpdatesRequest) GetAuth

func (x *GetMemberUpdatesRequest) GetAuth() *v1.Auth

func (*GetMemberUpdatesRequest) GetChatId

func (x *GetMemberUpdatesRequest) GetChatId() *v1.ChatId

func (*GetMemberUpdatesRequest) GetPagingToken

func (x *GetMemberUpdatesRequest) GetPagingToken() *v1.PagingToken

func (*GetMemberUpdatesRequest) ProtoMessage

func (*GetMemberUpdatesRequest) ProtoMessage()

func (*GetMemberUpdatesRequest) ProtoReflect

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

func (*GetMemberUpdatesRequest) Reset

func (x *GetMemberUpdatesRequest) Reset()

func (*GetMemberUpdatesRequest) String

func (x *GetMemberUpdatesRequest) String() string

func (*GetMemberUpdatesRequest) Validate

func (m *GetMemberUpdatesRequest) Validate() error

Validate checks the field values on GetMemberUpdatesRequest 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 (*GetMemberUpdatesRequest) ValidateAll

func (m *GetMemberUpdatesRequest) ValidateAll() error

ValidateAll checks the field values on GetMemberUpdatesRequest 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 GetMemberUpdatesRequestMultiError, or nil if none found.

type GetMemberUpdatesRequestMultiError

type GetMemberUpdatesRequestMultiError []error

GetMemberUpdatesRequestMultiError is an error wrapping multiple validation errors returned by GetMemberUpdatesRequest.ValidateAll() if the designated constraints aren't met.

func (GetMemberUpdatesRequestMultiError) AllErrors

func (m GetMemberUpdatesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMemberUpdatesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetMemberUpdatesRequestValidationError

type GetMemberUpdatesRequestValidationError struct {
	// contains filtered or unexported fields
}

GetMemberUpdatesRequestValidationError is the validation error returned by GetMemberUpdatesRequest.Validate if the designated constraints aren't met.

func (GetMemberUpdatesRequestValidationError) Cause

Cause function returns cause value.

func (GetMemberUpdatesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMemberUpdatesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetMemberUpdatesRequestValidationError) Field

Field function returns field value.

func (GetMemberUpdatesRequestValidationError) Key

Key function returns key value.

func (GetMemberUpdatesRequestValidationError) Reason

Reason function returns reason value.

type GetMemberUpdatesResponse

type GetMemberUpdatesResponse struct {
	Result  GetMemberUpdatesResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.GetMemberUpdatesResponse_Result" json:"result,omitempty"`
	Updates []*MemberUpdate                 `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMemberUpdatesResponse) Descriptor deprecated

func (*GetMemberUpdatesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMemberUpdatesResponse.ProtoReflect.Descriptor instead.

func (*GetMemberUpdatesResponse) GetResult

func (*GetMemberUpdatesResponse) GetUpdates

func (x *GetMemberUpdatesResponse) GetUpdates() []*MemberUpdate

func (*GetMemberUpdatesResponse) ProtoMessage

func (*GetMemberUpdatesResponse) ProtoMessage()

func (*GetMemberUpdatesResponse) ProtoReflect

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

func (*GetMemberUpdatesResponse) Reset

func (x *GetMemberUpdatesResponse) Reset()

func (*GetMemberUpdatesResponse) String

func (x *GetMemberUpdatesResponse) String() string

func (*GetMemberUpdatesResponse) Validate

func (m *GetMemberUpdatesResponse) Validate() error

Validate checks the field values on GetMemberUpdatesResponse 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 (*GetMemberUpdatesResponse) ValidateAll

func (m *GetMemberUpdatesResponse) ValidateAll() error

ValidateAll checks the field values on GetMemberUpdatesResponse 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 GetMemberUpdatesResponseMultiError, or nil if none found.

type GetMemberUpdatesResponseMultiError

type GetMemberUpdatesResponseMultiError []error

GetMemberUpdatesResponseMultiError is an error wrapping multiple validation errors returned by GetMemberUpdatesResponse.ValidateAll() if the designated constraints aren't met.

func (GetMemberUpdatesResponseMultiError) AllErrors

func (m GetMemberUpdatesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMemberUpdatesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetMemberUpdatesResponseValidationError

type GetMemberUpdatesResponseValidationError struct {
	// contains filtered or unexported fields
}

GetMemberUpdatesResponseValidationError is the validation error returned by GetMemberUpdatesResponse.Validate if the designated constraints aren't met.

func (GetMemberUpdatesResponseValidationError) Cause

Cause function returns cause value.

func (GetMemberUpdatesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetMemberUpdatesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetMemberUpdatesResponseValidationError) Field

Field function returns field value.

func (GetMemberUpdatesResponseValidationError) Key

Key function returns key value.

func (GetMemberUpdatesResponseValidationError) Reason

Reason function returns reason value.

type GetMemberUpdatesResponse_Result

type GetMemberUpdatesResponse_Result int32
const (
	GetMemberUpdatesResponse_OK        GetMemberUpdatesResponse_Result = 0
	GetMemberUpdatesResponse_NOT_FOUND GetMemberUpdatesResponse_Result = 1
)

func (GetMemberUpdatesResponse_Result) Descriptor

func (GetMemberUpdatesResponse_Result) Enum

func (GetMemberUpdatesResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetMemberUpdatesResponse_Result.Descriptor instead.

func (GetMemberUpdatesResponse_Result) Number

func (GetMemberUpdatesResponse_Result) String

func (GetMemberUpdatesResponse_Result) Type

type JoinChatPaymentMetadata

type JoinChatPaymentMetadata struct {

	// The user joining the chat
	UserId *v1.UserId `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The chat that the user is joining
	ChatId *v1.ChatId `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinChatPaymentMetadata) Descriptor deprecated

func (*JoinChatPaymentMetadata) Descriptor() ([]byte, []int)

Deprecated: Use JoinChatPaymentMetadata.ProtoReflect.Descriptor instead.

func (*JoinChatPaymentMetadata) GetChatId

func (x *JoinChatPaymentMetadata) GetChatId() *v1.ChatId

func (*JoinChatPaymentMetadata) GetUserId

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

func (*JoinChatPaymentMetadata) ProtoMessage

func (*JoinChatPaymentMetadata) ProtoMessage()

func (*JoinChatPaymentMetadata) ProtoReflect

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

func (*JoinChatPaymentMetadata) Reset

func (x *JoinChatPaymentMetadata) Reset()

func (*JoinChatPaymentMetadata) String

func (x *JoinChatPaymentMetadata) String() string

func (*JoinChatPaymentMetadata) Validate

func (m *JoinChatPaymentMetadata) Validate() error

Validate checks the field values on JoinChatPaymentMetadata 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 (*JoinChatPaymentMetadata) ValidateAll

func (m *JoinChatPaymentMetadata) ValidateAll() error

ValidateAll checks the field values on JoinChatPaymentMetadata 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 JoinChatPaymentMetadataMultiError, or nil if none found.

type JoinChatPaymentMetadataMultiError

type JoinChatPaymentMetadataMultiError []error

JoinChatPaymentMetadataMultiError is an error wrapping multiple validation errors returned by JoinChatPaymentMetadata.ValidateAll() if the designated constraints aren't met.

func (JoinChatPaymentMetadataMultiError) AllErrors

func (m JoinChatPaymentMetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JoinChatPaymentMetadataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type JoinChatPaymentMetadataValidationError

type JoinChatPaymentMetadataValidationError struct {
	// contains filtered or unexported fields
}

JoinChatPaymentMetadataValidationError is the validation error returned by JoinChatPaymentMetadata.Validate if the designated constraints aren't met.

func (JoinChatPaymentMetadataValidationError) Cause

Cause function returns cause value.

func (JoinChatPaymentMetadataValidationError) Error

Error satisfies the builtin error interface

func (JoinChatPaymentMetadataValidationError) ErrorName

ErrorName returns error name.

func (JoinChatPaymentMetadataValidationError) Field

Field function returns field value.

func (JoinChatPaymentMetadataValidationError) Key

Key function returns key value.

func (JoinChatPaymentMetadataValidationError) Reason

Reason function returns reason value.

type JoinChatRequest

type JoinChatRequest struct {

	// Types that are assignable to Identifier:
	//
	//	*JoinChatRequest_ChatId
	//	*JoinChatRequest_RoomId
	Identifier isJoinChatRequest_Identifier `protobuf_oneof:"identifier"`
	// Does the user want to join without the ability to send messages in the chat?
	// If so, then payment_intent is not required? Otherwise, it is.
	WithoutSendPermission bool `` /* 127-byte string literal not displayed */
	// The payment for joining a chat, which is required for sending messages in
	// the chat.
	//
	// Note: The chat owner can always bypass payment.
	PaymentIntent *v1.IntentId `protobuf:"bytes,9,opt,name=payment_intent,json=paymentIntent,proto3" json:"payment_intent,omitempty"`
	Auth          *v1.Auth     `protobuf:"bytes,10,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinChatRequest) Descriptor deprecated

func (*JoinChatRequest) Descriptor() ([]byte, []int)

Deprecated: Use JoinChatRequest.ProtoReflect.Descriptor instead.

func (*JoinChatRequest) GetAuth

func (x *JoinChatRequest) GetAuth() *v1.Auth

func (*JoinChatRequest) GetChatId

func (x *JoinChatRequest) GetChatId() *v1.ChatId

func (*JoinChatRequest) GetIdentifier

func (m *JoinChatRequest) GetIdentifier() isJoinChatRequest_Identifier

func (*JoinChatRequest) GetPaymentIntent

func (x *JoinChatRequest) GetPaymentIntent() *v1.IntentId

func (*JoinChatRequest) GetRoomId

func (x *JoinChatRequest) GetRoomId() uint64

func (*JoinChatRequest) GetWithoutSendPermission

func (x *JoinChatRequest) GetWithoutSendPermission() bool

func (*JoinChatRequest) ProtoMessage

func (*JoinChatRequest) ProtoMessage()

func (*JoinChatRequest) ProtoReflect

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

func (*JoinChatRequest) Reset

func (x *JoinChatRequest) Reset()

func (*JoinChatRequest) String

func (x *JoinChatRequest) String() string

func (*JoinChatRequest) Validate

func (m *JoinChatRequest) Validate() error

Validate checks the field values on JoinChatRequest 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 (*JoinChatRequest) ValidateAll

func (m *JoinChatRequest) ValidateAll() error

ValidateAll checks the field values on JoinChatRequest 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 JoinChatRequestMultiError, or nil if none found.

type JoinChatRequestMultiError

type JoinChatRequestMultiError []error

JoinChatRequestMultiError is an error wrapping multiple validation errors returned by JoinChatRequest.ValidateAll() if the designated constraints aren't met.

func (JoinChatRequestMultiError) AllErrors

func (m JoinChatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JoinChatRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type JoinChatRequestValidationError

type JoinChatRequestValidationError struct {
	// contains filtered or unexported fields
}

JoinChatRequestValidationError is the validation error returned by JoinChatRequest.Validate if the designated constraints aren't met.

func (JoinChatRequestValidationError) Cause

Cause function returns cause value.

func (JoinChatRequestValidationError) Error

Error satisfies the builtin error interface

func (JoinChatRequestValidationError) ErrorName

func (e JoinChatRequestValidationError) ErrorName() string

ErrorName returns error name.

func (JoinChatRequestValidationError) Field

Field function returns field value.

func (JoinChatRequestValidationError) Key

Key function returns key value.

func (JoinChatRequestValidationError) Reason

Reason function returns reason value.

type JoinChatRequest_ChatId

type JoinChatRequest_ChatId struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3,oneof"`
}

type JoinChatRequest_RoomId

type JoinChatRequest_RoomId struct {
	RoomId uint64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3,oneof"`
}

type JoinChatResponse

type JoinChatResponse struct {
	Result JoinChatResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.JoinChatResponse_Result" json:"result,omitempty"`
	// The chat metadata, if join was successful.
	Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The members of the chat, if join was successful.
	Members []*Member `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinChatResponse) Descriptor deprecated

func (*JoinChatResponse) Descriptor() ([]byte, []int)

Deprecated: Use JoinChatResponse.ProtoReflect.Descriptor instead.

func (*JoinChatResponse) GetMembers

func (x *JoinChatResponse) GetMembers() []*Member

func (*JoinChatResponse) GetMetadata

func (x *JoinChatResponse) GetMetadata() *Metadata

func (*JoinChatResponse) GetResult

func (*JoinChatResponse) ProtoMessage

func (*JoinChatResponse) ProtoMessage()

func (*JoinChatResponse) ProtoReflect

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

func (*JoinChatResponse) Reset

func (x *JoinChatResponse) Reset()

func (*JoinChatResponse) String

func (x *JoinChatResponse) String() string

func (*JoinChatResponse) Validate

func (m *JoinChatResponse) Validate() error

Validate checks the field values on JoinChatResponse 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 (*JoinChatResponse) ValidateAll

func (m *JoinChatResponse) ValidateAll() error

ValidateAll checks the field values on JoinChatResponse 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 JoinChatResponseMultiError, or nil if none found.

type JoinChatResponseMultiError

type JoinChatResponseMultiError []error

JoinChatResponseMultiError is an error wrapping multiple validation errors returned by JoinChatResponse.ValidateAll() if the designated constraints aren't met.

func (JoinChatResponseMultiError) AllErrors

func (m JoinChatResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JoinChatResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type JoinChatResponseValidationError

type JoinChatResponseValidationError struct {
	// contains filtered or unexported fields
}

JoinChatResponseValidationError is the validation error returned by JoinChatResponse.Validate if the designated constraints aren't met.

func (JoinChatResponseValidationError) Cause

Cause function returns cause value.

func (JoinChatResponseValidationError) Error

Error satisfies the builtin error interface

func (JoinChatResponseValidationError) ErrorName

ErrorName returns error name.

func (JoinChatResponseValidationError) Field

Field function returns field value.

func (JoinChatResponseValidationError) Key

Key function returns key value.

func (JoinChatResponseValidationError) Reason

Reason function returns reason value.

type JoinChatResponse_Result

type JoinChatResponse_Result int32
const (
	JoinChatResponse_OK     JoinChatResponse_Result = 0
	JoinChatResponse_DENIED JoinChatResponse_Result = 1
)

func (JoinChatResponse_Result) Descriptor

func (JoinChatResponse_Result) Enum

func (JoinChatResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use JoinChatResponse_Result.Descriptor instead.

func (JoinChatResponse_Result) Number

func (JoinChatResponse_Result) String

func (x JoinChatResponse_Result) String() string

func (JoinChatResponse_Result) Type

type LeaveChatRequest

type LeaveChatRequest struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	Auth   *v1.Auth   `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaveChatRequest) Descriptor deprecated

func (*LeaveChatRequest) Descriptor() ([]byte, []int)

Deprecated: Use LeaveChatRequest.ProtoReflect.Descriptor instead.

func (*LeaveChatRequest) GetAuth

func (x *LeaveChatRequest) GetAuth() *v1.Auth

func (*LeaveChatRequest) GetChatId

func (x *LeaveChatRequest) GetChatId() *v1.ChatId

func (*LeaveChatRequest) ProtoMessage

func (*LeaveChatRequest) ProtoMessage()

func (*LeaveChatRequest) ProtoReflect

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

func (*LeaveChatRequest) Reset

func (x *LeaveChatRequest) Reset()

func (*LeaveChatRequest) String

func (x *LeaveChatRequest) String() string

func (*LeaveChatRequest) Validate

func (m *LeaveChatRequest) Validate() error

Validate checks the field values on LeaveChatRequest 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 (*LeaveChatRequest) ValidateAll

func (m *LeaveChatRequest) ValidateAll() error

ValidateAll checks the field values on LeaveChatRequest 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 LeaveChatRequestMultiError, or nil if none found.

type LeaveChatRequestMultiError

type LeaveChatRequestMultiError []error

LeaveChatRequestMultiError is an error wrapping multiple validation errors returned by LeaveChatRequest.ValidateAll() if the designated constraints aren't met.

func (LeaveChatRequestMultiError) AllErrors

func (m LeaveChatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LeaveChatRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type LeaveChatRequestValidationError

type LeaveChatRequestValidationError struct {
	// contains filtered or unexported fields
}

LeaveChatRequestValidationError is the validation error returned by LeaveChatRequest.Validate if the designated constraints aren't met.

func (LeaveChatRequestValidationError) Cause

Cause function returns cause value.

func (LeaveChatRequestValidationError) Error

Error satisfies the builtin error interface

func (LeaveChatRequestValidationError) ErrorName

ErrorName returns error name.

func (LeaveChatRequestValidationError) Field

Field function returns field value.

func (LeaveChatRequestValidationError) Key

Key function returns key value.

func (LeaveChatRequestValidationError) Reason

Reason function returns reason value.

type LeaveChatResponse

type LeaveChatResponse struct {
	Result LeaveChatResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.LeaveChatResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaveChatResponse) Descriptor deprecated

func (*LeaveChatResponse) Descriptor() ([]byte, []int)

Deprecated: Use LeaveChatResponse.ProtoReflect.Descriptor instead.

func (*LeaveChatResponse) GetResult

func (*LeaveChatResponse) ProtoMessage

func (*LeaveChatResponse) ProtoMessage()

func (*LeaveChatResponse) ProtoReflect

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

func (*LeaveChatResponse) Reset

func (x *LeaveChatResponse) Reset()

func (*LeaveChatResponse) String

func (x *LeaveChatResponse) String() string

func (*LeaveChatResponse) Validate

func (m *LeaveChatResponse) Validate() error

Validate checks the field values on LeaveChatResponse 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 (*LeaveChatResponse) ValidateAll

func (m *LeaveChatResponse) ValidateAll() error

ValidateAll checks the field values on LeaveChatResponse 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 LeaveChatResponseMultiError, or nil if none found.

type LeaveChatResponseMultiError

type LeaveChatResponseMultiError []error

LeaveChatResponseMultiError is an error wrapping multiple validation errors returned by LeaveChatResponse.ValidateAll() if the designated constraints aren't met.

func (LeaveChatResponseMultiError) AllErrors

func (m LeaveChatResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LeaveChatResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type LeaveChatResponseValidationError

type LeaveChatResponseValidationError struct {
	// contains filtered or unexported fields
}

LeaveChatResponseValidationError is the validation error returned by LeaveChatResponse.Validate if the designated constraints aren't met.

func (LeaveChatResponseValidationError) Cause

Cause function returns cause value.

func (LeaveChatResponseValidationError) Error

Error satisfies the builtin error interface

func (LeaveChatResponseValidationError) ErrorName

ErrorName returns error name.

func (LeaveChatResponseValidationError) Field

Field function returns field value.

func (LeaveChatResponseValidationError) Key

Key function returns key value.

func (LeaveChatResponseValidationError) Reason

Reason function returns reason value.

type LeaveChatResponse_Result

type LeaveChatResponse_Result int32
const (
	LeaveChatResponse_OK LeaveChatResponse_Result = 0
)

func (LeaveChatResponse_Result) Descriptor

func (LeaveChatResponse_Result) Enum

func (LeaveChatResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use LeaveChatResponse_Result.Descriptor instead.

func (LeaveChatResponse_Result) Number

func (LeaveChatResponse_Result) String

func (x LeaveChatResponse_Result) String() string

func (LeaveChatResponse_Result) Type

type Member

type Member struct {
	UserId *v1.UserId `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The chat member's identity/profile information.
	//
	// It is a light weight version of the users full profile, which
	// can be retrieved from the Profile service.
	Identity *MemberIdentity `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	// Chat message state for this member.
	//
	// If set, the list may contain DELIVERED and READ pointers. SENT pointers
	// are only shared between the sender and server, to indicate persistence.
	//
	// The server may wish to omit all pointers in various types of group chats
	// or as relief valves.
	Pointers []*v11.Pointer `protobuf:"bytes,3,rep,name=pointers,proto3" json:"pointers,omitempty"`
	// If the member is the caller (where applicable), will be set to true.
	IsSelf bool `protobuf:"varint,4,opt,name=is_self,json=isSelf,proto3" json:"is_self,omitempty"`
	// Does the chat member have permission to perform moderation actions in
	// the chat?
	HasModeratorPermission bool `` /* 130-byte string literal not displayed */
	// Has the chat member been muted by a moderator? If so, they cannot send
	// messages, even if they paid for the permission.
	IsMuted bool `protobuf:"varint,6,opt,name=is_muted,json=isMuted,proto3" json:"is_muted,omitempty"`
	// Does the chat member have permission to send messages in the chat? If
	// not, the user is considered to be a spectator or listener. Otherwise,
	// they are a speaker.
	HasSendPermission bool `protobuf:"varint,7,opt,name=has_send_permission,json=hasSendPermission,proto3" json:"has_send_permission,omitempty"`
	// contains filtered or unexported fields
}

func (*Member) Descriptor deprecated

func (*Member) Descriptor() ([]byte, []int)

Deprecated: Use Member.ProtoReflect.Descriptor instead.

func (*Member) GetHasModeratorPermission

func (x *Member) GetHasModeratorPermission() bool

func (*Member) GetHasSendPermission

func (x *Member) GetHasSendPermission() bool

func (*Member) GetIdentity

func (x *Member) GetIdentity() *MemberIdentity

func (*Member) GetIsMuted

func (x *Member) GetIsMuted() bool

func (*Member) GetIsSelf

func (x *Member) GetIsSelf() bool

func (*Member) GetPointers

func (x *Member) GetPointers() []*v11.Pointer

func (*Member) GetUserId

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

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) ProtoReflect

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

func (*Member) Reset

func (x *Member) Reset()

func (*Member) String

func (x *Member) String() string

func (*Member) Validate

func (m *Member) Validate() error

Validate checks the field values on Member 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 (*Member) ValidateAll

func (m *Member) ValidateAll() error

ValidateAll checks the field values on Member 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 MemberMultiError, or nil if none found.

type MemberIdentity

type MemberIdentity struct {

	// If present, the display name of the user.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// If present, the URL of the users profile pic.
	ProfilePicUrl string `protobuf:"bytes,2,opt,name=profile_pic_url,json=profilePicUrl,proto3" json:"profile_pic_url,omitempty"`
	// The linked social profiles of the user
	SocialProfiles []*v12.SocialProfile `protobuf:"bytes,3,rep,name=social_profiles,json=socialProfiles,proto3" json:"social_profiles,omitempty"`
	// contains filtered or unexported fields
}

func (*MemberIdentity) Descriptor deprecated

func (*MemberIdentity) Descriptor() ([]byte, []int)

Deprecated: Use MemberIdentity.ProtoReflect.Descriptor instead.

func (*MemberIdentity) GetDisplayName

func (x *MemberIdentity) GetDisplayName() string

func (*MemberIdentity) GetProfilePicUrl

func (x *MemberIdentity) GetProfilePicUrl() string

func (*MemberIdentity) GetSocialProfiles

func (x *MemberIdentity) GetSocialProfiles() []*v12.SocialProfile

func (*MemberIdentity) ProtoMessage

func (*MemberIdentity) ProtoMessage()

func (*MemberIdentity) ProtoReflect

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

func (*MemberIdentity) Reset

func (x *MemberIdentity) Reset()

func (*MemberIdentity) String

func (x *MemberIdentity) String() string

func (*MemberIdentity) Validate

func (m *MemberIdentity) Validate() error

Validate checks the field values on MemberIdentity 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 (*MemberIdentity) ValidateAll

func (m *MemberIdentity) ValidateAll() error

ValidateAll checks the field values on MemberIdentity 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 MemberIdentityMultiError, or nil if none found.

type MemberIdentityMultiError

type MemberIdentityMultiError []error

MemberIdentityMultiError is an error wrapping multiple validation errors returned by MemberIdentity.ValidateAll() if the designated constraints aren't met.

func (MemberIdentityMultiError) AllErrors

func (m MemberIdentityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberIdentityMultiError) Error

func (m MemberIdentityMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MemberIdentityValidationError

type MemberIdentityValidationError struct {
	// contains filtered or unexported fields
}

MemberIdentityValidationError is the validation error returned by MemberIdentity.Validate if the designated constraints aren't met.

func (MemberIdentityValidationError) Cause

Cause function returns cause value.

func (MemberIdentityValidationError) Error

Error satisfies the builtin error interface

func (MemberIdentityValidationError) ErrorName

func (e MemberIdentityValidationError) ErrorName() string

ErrorName returns error name.

func (MemberIdentityValidationError) Field

Field function returns field value.

func (MemberIdentityValidationError) Key

Key function returns key value.

func (MemberIdentityValidationError) Reason

Reason function returns reason value.

type MemberMultiError

type MemberMultiError []error

MemberMultiError is an error wrapping multiple validation errors returned by Member.ValidateAll() if the designated constraints aren't met.

func (MemberMultiError) AllErrors

func (m MemberMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberMultiError) Error

func (m MemberMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate

type MemberUpdate struct {

	// Types that are assignable to Kind:
	//
	//	*MemberUpdate_FullRefresh_
	//	*MemberUpdate_IndividualRefresh_
	//	*MemberUpdate_Joined_
	//	*MemberUpdate_Left_
	//	*MemberUpdate_Removed_
	//	*MemberUpdate_Muted_
	//	*MemberUpdate_Promoted_
	//	*MemberUpdate_Demoted_
	//	*MemberUpdate_IdentityChanged_
	Kind        isMemberUpdate_Kind `protobuf_oneof:"kind"`
	PagingToken *v1.PagingToken     `protobuf:"bytes,1000,opt,name=paging_token,json=pagingToken,proto3" json:"paging_token,omitempty"`
	// contains filtered or unexported fields
}

func (*MemberUpdate) Descriptor deprecated

func (*MemberUpdate) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate.ProtoReflect.Descriptor instead.

func (*MemberUpdate) GetDemoted

func (x *MemberUpdate) GetDemoted() *MemberUpdate_Demoted

func (*MemberUpdate) GetFullRefresh

func (x *MemberUpdate) GetFullRefresh() *MemberUpdate_FullRefresh

func (*MemberUpdate) GetIdentityChanged

func (x *MemberUpdate) GetIdentityChanged() *MemberUpdate_IdentityChanged

func (*MemberUpdate) GetIndividualRefresh

func (x *MemberUpdate) GetIndividualRefresh() *MemberUpdate_IndividualRefresh

func (*MemberUpdate) GetJoined

func (x *MemberUpdate) GetJoined() *MemberUpdate_Joined

func (*MemberUpdate) GetKind

func (m *MemberUpdate) GetKind() isMemberUpdate_Kind

func (*MemberUpdate) GetLeft

func (x *MemberUpdate) GetLeft() *MemberUpdate_Left

func (*MemberUpdate) GetMuted

func (x *MemberUpdate) GetMuted() *MemberUpdate_Muted

func (*MemberUpdate) GetPagingToken

func (x *MemberUpdate) GetPagingToken() *v1.PagingToken

func (*MemberUpdate) GetPromoted

func (x *MemberUpdate) GetPromoted() *MemberUpdate_Promoted

func (*MemberUpdate) GetRemoved

func (x *MemberUpdate) GetRemoved() *MemberUpdate_Removed

func (*MemberUpdate) ProtoMessage

func (*MemberUpdate) ProtoMessage()

func (*MemberUpdate) ProtoReflect

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

func (*MemberUpdate) Reset

func (x *MemberUpdate) Reset()

func (*MemberUpdate) String

func (x *MemberUpdate) String() string

func (*MemberUpdate) Validate

func (m *MemberUpdate) Validate() error

Validate checks the field values on MemberUpdate 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 (*MemberUpdate) ValidateAll

func (m *MemberUpdate) ValidateAll() error

ValidateAll checks the field values on MemberUpdate 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 MemberUpdateMultiError, or nil if none found.

type MemberUpdateMultiError

type MemberUpdateMultiError []error

MemberUpdateMultiError is an error wrapping multiple validation errors returned by MemberUpdate.ValidateAll() if the designated constraints aren't met.

func (MemberUpdateMultiError) AllErrors

func (m MemberUpdateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberUpdateMultiError) Error

func (m MemberUpdateMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MemberUpdateValidationError

type MemberUpdateValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdateValidationError is the validation error returned by MemberUpdate.Validate if the designated constraints aren't met.

func (MemberUpdateValidationError) Cause

Cause function returns cause value.

func (MemberUpdateValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdateValidationError) ErrorName

func (e MemberUpdateValidationError) ErrorName() string

ErrorName returns error name.

func (MemberUpdateValidationError) Field

Field function returns field value.

func (MemberUpdateValidationError) Key

Key function returns key value.

func (MemberUpdateValidationError) Reason

Reason function returns reason value.

type MemberUpdate_Demoted

type MemberUpdate_Demoted struct {
	Member                 *v1.UserId `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	DemotedBy              *v1.UserId `protobuf:"bytes,2,opt,name=demoted_by,json=demotedBy,proto3" json:"demoted_by,omitempty"`
	SendPermissionDisabled bool       `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

Member was demoted in the chat via the DemoteUser RPC

func (*MemberUpdate_Demoted) Descriptor deprecated

func (*MemberUpdate_Demoted) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate_Demoted.ProtoReflect.Descriptor instead.

func (*MemberUpdate_Demoted) GetDemotedBy

func (x *MemberUpdate_Demoted) GetDemotedBy() *v1.UserId

func (*MemberUpdate_Demoted) GetMember

func (x *MemberUpdate_Demoted) GetMember() *v1.UserId

func (*MemberUpdate_Demoted) GetSendPermissionDisabled

func (x *MemberUpdate_Demoted) GetSendPermissionDisabled() bool

func (*MemberUpdate_Demoted) ProtoMessage

func (*MemberUpdate_Demoted) ProtoMessage()

func (*MemberUpdate_Demoted) ProtoReflect

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

func (*MemberUpdate_Demoted) Reset

func (x *MemberUpdate_Demoted) Reset()

func (*MemberUpdate_Demoted) String

func (x *MemberUpdate_Demoted) String() string

func (*MemberUpdate_Demoted) Validate

func (m *MemberUpdate_Demoted) Validate() error

Validate checks the field values on MemberUpdate_Demoted 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 (*MemberUpdate_Demoted) ValidateAll

func (m *MemberUpdate_Demoted) ValidateAll() error

ValidateAll checks the field values on MemberUpdate_Demoted 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 MemberUpdate_DemotedMultiError, or nil if none found.

type MemberUpdate_DemotedMultiError

type MemberUpdate_DemotedMultiError []error

MemberUpdate_DemotedMultiError is an error wrapping multiple validation errors returned by MemberUpdate_Demoted.ValidateAll() if the designated constraints aren't met.

func (MemberUpdate_DemotedMultiError) AllErrors

func (m MemberUpdate_DemotedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberUpdate_DemotedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate_DemotedValidationError

type MemberUpdate_DemotedValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdate_DemotedValidationError is the validation error returned by MemberUpdate_Demoted.Validate if the designated constraints aren't met.

func (MemberUpdate_DemotedValidationError) Cause

Cause function returns cause value.

func (MemberUpdate_DemotedValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdate_DemotedValidationError) ErrorName

ErrorName returns error name.

func (MemberUpdate_DemotedValidationError) Field

Field function returns field value.

func (MemberUpdate_DemotedValidationError) Key

Key function returns key value.

func (MemberUpdate_DemotedValidationError) Reason

Reason function returns reason value.

type MemberUpdate_Demoted_

type MemberUpdate_Demoted_ struct {
	Demoted *MemberUpdate_Demoted `protobuf:"bytes,8,opt,name=demoted,proto3,oneof"`
}

type MemberUpdate_FullRefresh

type MemberUpdate_FullRefresh struct {
	Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

Refreshes the state of the entire chat membership

func (*MemberUpdate_FullRefresh) Descriptor deprecated

func (*MemberUpdate_FullRefresh) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate_FullRefresh.ProtoReflect.Descriptor instead.

func (*MemberUpdate_FullRefresh) GetMembers

func (x *MemberUpdate_FullRefresh) GetMembers() []*Member

func (*MemberUpdate_FullRefresh) ProtoMessage

func (*MemberUpdate_FullRefresh) ProtoMessage()

func (*MemberUpdate_FullRefresh) ProtoReflect

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

func (*MemberUpdate_FullRefresh) Reset

func (x *MemberUpdate_FullRefresh) Reset()

func (*MemberUpdate_FullRefresh) String

func (x *MemberUpdate_FullRefresh) String() string

func (*MemberUpdate_FullRefresh) Validate

func (m *MemberUpdate_FullRefresh) Validate() error

Validate checks the field values on MemberUpdate_FullRefresh 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 (*MemberUpdate_FullRefresh) ValidateAll

func (m *MemberUpdate_FullRefresh) ValidateAll() error

ValidateAll checks the field values on MemberUpdate_FullRefresh 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 MemberUpdate_FullRefreshMultiError, or nil if none found.

type MemberUpdate_FullRefreshMultiError

type MemberUpdate_FullRefreshMultiError []error

MemberUpdate_FullRefreshMultiError is an error wrapping multiple validation errors returned by MemberUpdate_FullRefresh.ValidateAll() if the designated constraints aren't met.

func (MemberUpdate_FullRefreshMultiError) AllErrors

func (m MemberUpdate_FullRefreshMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberUpdate_FullRefreshMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate_FullRefreshValidationError

type MemberUpdate_FullRefreshValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdate_FullRefreshValidationError is the validation error returned by MemberUpdate_FullRefresh.Validate if the designated constraints aren't met.

func (MemberUpdate_FullRefreshValidationError) Cause

Cause function returns cause value.

func (MemberUpdate_FullRefreshValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdate_FullRefreshValidationError) ErrorName

ErrorName returns error name.

func (MemberUpdate_FullRefreshValidationError) Field

Field function returns field value.

func (MemberUpdate_FullRefreshValidationError) Key

Key function returns key value.

func (MemberUpdate_FullRefreshValidationError) Reason

Reason function returns reason value.

type MemberUpdate_FullRefresh_

type MemberUpdate_FullRefresh_ struct {
	FullRefresh *MemberUpdate_FullRefresh `protobuf:"bytes,1,opt,name=full_refresh,json=fullRefresh,proto3,oneof"`
}

type MemberUpdate_IdentityChanged

type MemberUpdate_IdentityChanged struct {
	Member      *v1.UserId      `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	NewIdentity *MemberIdentity `protobuf:"bytes,2,opt,name=new_identity,json=newIdentity,proto3" json:"new_identity,omitempty"`
	// contains filtered or unexported fields
}

Member identity has changed

func (*MemberUpdate_IdentityChanged) Descriptor deprecated

func (*MemberUpdate_IdentityChanged) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate_IdentityChanged.ProtoReflect.Descriptor instead.

func (*MemberUpdate_IdentityChanged) GetMember

func (x *MemberUpdate_IdentityChanged) GetMember() *v1.UserId

func (*MemberUpdate_IdentityChanged) GetNewIdentity

func (x *MemberUpdate_IdentityChanged) GetNewIdentity() *MemberIdentity

func (*MemberUpdate_IdentityChanged) ProtoMessage

func (*MemberUpdate_IdentityChanged) ProtoMessage()

func (*MemberUpdate_IdentityChanged) ProtoReflect

func (*MemberUpdate_IdentityChanged) Reset

func (x *MemberUpdate_IdentityChanged) Reset()

func (*MemberUpdate_IdentityChanged) String

func (*MemberUpdate_IdentityChanged) Validate

func (m *MemberUpdate_IdentityChanged) Validate() error

Validate checks the field values on MemberUpdate_IdentityChanged 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 (*MemberUpdate_IdentityChanged) ValidateAll

func (m *MemberUpdate_IdentityChanged) ValidateAll() error

ValidateAll checks the field values on MemberUpdate_IdentityChanged 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 MemberUpdate_IdentityChangedMultiError, or nil if none found.

type MemberUpdate_IdentityChangedMultiError

type MemberUpdate_IdentityChangedMultiError []error

MemberUpdate_IdentityChangedMultiError is an error wrapping multiple validation errors returned by MemberUpdate_IdentityChanged.ValidateAll() if the designated constraints aren't met.

func (MemberUpdate_IdentityChangedMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (MemberUpdate_IdentityChangedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate_IdentityChangedValidationError

type MemberUpdate_IdentityChangedValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdate_IdentityChangedValidationError is the validation error returned by MemberUpdate_IdentityChanged.Validate if the designated constraints aren't met.

func (MemberUpdate_IdentityChangedValidationError) Cause

Cause function returns cause value.

func (MemberUpdate_IdentityChangedValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdate_IdentityChangedValidationError) ErrorName

ErrorName returns error name.

func (MemberUpdate_IdentityChangedValidationError) Field

Field function returns field value.

func (MemberUpdate_IdentityChangedValidationError) Key

Key function returns key value.

func (MemberUpdate_IdentityChangedValidationError) Reason

Reason function returns reason value.

type MemberUpdate_IdentityChanged_

type MemberUpdate_IdentityChanged_ struct {
	IdentityChanged *MemberUpdate_IdentityChanged `protobuf:"bytes,9,opt,name=identity_changed,json=identityChanged,proto3,oneof"`
}

type MemberUpdate_IndividualRefresh

type MemberUpdate_IndividualRefresh struct {
	Member *Member `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	// contains filtered or unexported fields
}

Refreshes the state of an individual member in the chat

func (*MemberUpdate_IndividualRefresh) Descriptor deprecated

func (*MemberUpdate_IndividualRefresh) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate_IndividualRefresh.ProtoReflect.Descriptor instead.

func (*MemberUpdate_IndividualRefresh) GetMember

func (x *MemberUpdate_IndividualRefresh) GetMember() *Member

func (*MemberUpdate_IndividualRefresh) ProtoMessage

func (*MemberUpdate_IndividualRefresh) ProtoMessage()

func (*MemberUpdate_IndividualRefresh) ProtoReflect

func (*MemberUpdate_IndividualRefresh) Reset

func (x *MemberUpdate_IndividualRefresh) Reset()

func (*MemberUpdate_IndividualRefresh) String

func (*MemberUpdate_IndividualRefresh) Validate

func (m *MemberUpdate_IndividualRefresh) Validate() error

Validate checks the field values on MemberUpdate_IndividualRefresh 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 (*MemberUpdate_IndividualRefresh) ValidateAll

func (m *MemberUpdate_IndividualRefresh) ValidateAll() error

ValidateAll checks the field values on MemberUpdate_IndividualRefresh 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 MemberUpdate_IndividualRefreshMultiError, or nil if none found.

type MemberUpdate_IndividualRefreshMultiError

type MemberUpdate_IndividualRefreshMultiError []error

MemberUpdate_IndividualRefreshMultiError is an error wrapping multiple validation errors returned by MemberUpdate_IndividualRefresh.ValidateAll() if the designated constraints aren't met.

func (MemberUpdate_IndividualRefreshMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (MemberUpdate_IndividualRefreshMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate_IndividualRefreshValidationError

type MemberUpdate_IndividualRefreshValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdate_IndividualRefreshValidationError is the validation error returned by MemberUpdate_IndividualRefresh.Validate if the designated constraints aren't met.

func (MemberUpdate_IndividualRefreshValidationError) Cause

Cause function returns cause value.

func (MemberUpdate_IndividualRefreshValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdate_IndividualRefreshValidationError) ErrorName

ErrorName returns error name.

func (MemberUpdate_IndividualRefreshValidationError) Field

Field function returns field value.

func (MemberUpdate_IndividualRefreshValidationError) Key

Key function returns key value.

func (MemberUpdate_IndividualRefreshValidationError) Reason

Reason function returns reason value.

type MemberUpdate_IndividualRefresh_

type MemberUpdate_IndividualRefresh_ struct {
	IndividualRefresh *MemberUpdate_IndividualRefresh `protobuf:"bytes,2,opt,name=individual_refresh,json=individualRefresh,proto3,oneof"`
}

type MemberUpdate_Joined

type MemberUpdate_Joined struct {
	Member *Member `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	// contains filtered or unexported fields
}

Member joined the chat via the JoinChat RPC

func (*MemberUpdate_Joined) Descriptor deprecated

func (*MemberUpdate_Joined) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate_Joined.ProtoReflect.Descriptor instead.

func (*MemberUpdate_Joined) GetMember

func (x *MemberUpdate_Joined) GetMember() *Member

func (*MemberUpdate_Joined) ProtoMessage

func (*MemberUpdate_Joined) ProtoMessage()

func (*MemberUpdate_Joined) ProtoReflect

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

func (*MemberUpdate_Joined) Reset

func (x *MemberUpdate_Joined) Reset()

func (*MemberUpdate_Joined) String

func (x *MemberUpdate_Joined) String() string

func (*MemberUpdate_Joined) Validate

func (m *MemberUpdate_Joined) Validate() error

Validate checks the field values on MemberUpdate_Joined 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 (*MemberUpdate_Joined) ValidateAll

func (m *MemberUpdate_Joined) ValidateAll() error

ValidateAll checks the field values on MemberUpdate_Joined 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 MemberUpdate_JoinedMultiError, or nil if none found.

type MemberUpdate_JoinedMultiError

type MemberUpdate_JoinedMultiError []error

MemberUpdate_JoinedMultiError is an error wrapping multiple validation errors returned by MemberUpdate_Joined.ValidateAll() if the designated constraints aren't met.

func (MemberUpdate_JoinedMultiError) AllErrors

func (m MemberUpdate_JoinedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberUpdate_JoinedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate_JoinedValidationError

type MemberUpdate_JoinedValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdate_JoinedValidationError is the validation error returned by MemberUpdate_Joined.Validate if the designated constraints aren't met.

func (MemberUpdate_JoinedValidationError) Cause

Cause function returns cause value.

func (MemberUpdate_JoinedValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdate_JoinedValidationError) ErrorName

ErrorName returns error name.

func (MemberUpdate_JoinedValidationError) Field

Field function returns field value.

func (MemberUpdate_JoinedValidationError) Key

Key function returns key value.

func (MemberUpdate_JoinedValidationError) Reason

Reason function returns reason value.

type MemberUpdate_Joined_

type MemberUpdate_Joined_ struct {
	Joined *MemberUpdate_Joined `protobuf:"bytes,3,opt,name=joined,proto3,oneof"`
}

type MemberUpdate_Left

type MemberUpdate_Left struct {
	Member *v1.UserId `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	// contains filtered or unexported fields
}

Member left the chat via the LeaveChat RPC

func (*MemberUpdate_Left) Descriptor deprecated

func (*MemberUpdate_Left) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate_Left.ProtoReflect.Descriptor instead.

func (*MemberUpdate_Left) GetMember

func (x *MemberUpdate_Left) GetMember() *v1.UserId

func (*MemberUpdate_Left) ProtoMessage

func (*MemberUpdate_Left) ProtoMessage()

func (*MemberUpdate_Left) ProtoReflect

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

func (*MemberUpdate_Left) Reset

func (x *MemberUpdate_Left) Reset()

func (*MemberUpdate_Left) String

func (x *MemberUpdate_Left) String() string

func (*MemberUpdate_Left) Validate

func (m *MemberUpdate_Left) Validate() error

Validate checks the field values on MemberUpdate_Left 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 (*MemberUpdate_Left) ValidateAll

func (m *MemberUpdate_Left) ValidateAll() error

ValidateAll checks the field values on MemberUpdate_Left 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 MemberUpdate_LeftMultiError, or nil if none found.

type MemberUpdate_LeftMultiError

type MemberUpdate_LeftMultiError []error

MemberUpdate_LeftMultiError is an error wrapping multiple validation errors returned by MemberUpdate_Left.ValidateAll() if the designated constraints aren't met.

func (MemberUpdate_LeftMultiError) AllErrors

func (m MemberUpdate_LeftMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberUpdate_LeftMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate_LeftValidationError

type MemberUpdate_LeftValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdate_LeftValidationError is the validation error returned by MemberUpdate_Left.Validate if the designated constraints aren't met.

func (MemberUpdate_LeftValidationError) Cause

Cause function returns cause value.

func (MemberUpdate_LeftValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdate_LeftValidationError) ErrorName

ErrorName returns error name.

func (MemberUpdate_LeftValidationError) Field

Field function returns field value.

func (MemberUpdate_LeftValidationError) Key

Key function returns key value.

func (MemberUpdate_LeftValidationError) Reason

Reason function returns reason value.

type MemberUpdate_Left_

type MemberUpdate_Left_ struct {
	Left *MemberUpdate_Left `protobuf:"bytes,4,opt,name=left,proto3,oneof"`
}

type MemberUpdate_Muted

type MemberUpdate_Muted struct {
	Member  *v1.UserId `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	MutedBy *v1.UserId `protobuf:"bytes,2,opt,name=muted_by,json=mutedBy,proto3" json:"muted_by,omitempty"`
	// contains filtered or unexported fields
}

Member was muted in the chat via the MuteUser RPC

func (*MemberUpdate_Muted) Descriptor deprecated

func (*MemberUpdate_Muted) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate_Muted.ProtoReflect.Descriptor instead.

func (*MemberUpdate_Muted) GetMember

func (x *MemberUpdate_Muted) GetMember() *v1.UserId

func (*MemberUpdate_Muted) GetMutedBy

func (x *MemberUpdate_Muted) GetMutedBy() *v1.UserId

func (*MemberUpdate_Muted) ProtoMessage

func (*MemberUpdate_Muted) ProtoMessage()

func (*MemberUpdate_Muted) ProtoReflect

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

func (*MemberUpdate_Muted) Reset

func (x *MemberUpdate_Muted) Reset()

func (*MemberUpdate_Muted) String

func (x *MemberUpdate_Muted) String() string

func (*MemberUpdate_Muted) Validate

func (m *MemberUpdate_Muted) Validate() error

Validate checks the field values on MemberUpdate_Muted 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 (*MemberUpdate_Muted) ValidateAll

func (m *MemberUpdate_Muted) ValidateAll() error

ValidateAll checks the field values on MemberUpdate_Muted 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 MemberUpdate_MutedMultiError, or nil if none found.

type MemberUpdate_MutedMultiError

type MemberUpdate_MutedMultiError []error

MemberUpdate_MutedMultiError is an error wrapping multiple validation errors returned by MemberUpdate_Muted.ValidateAll() if the designated constraints aren't met.

func (MemberUpdate_MutedMultiError) AllErrors

func (m MemberUpdate_MutedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberUpdate_MutedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate_MutedValidationError

type MemberUpdate_MutedValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdate_MutedValidationError is the validation error returned by MemberUpdate_Muted.Validate if the designated constraints aren't met.

func (MemberUpdate_MutedValidationError) Cause

Cause function returns cause value.

func (MemberUpdate_MutedValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdate_MutedValidationError) ErrorName

ErrorName returns error name.

func (MemberUpdate_MutedValidationError) Field

Field function returns field value.

func (MemberUpdate_MutedValidationError) Key

Key function returns key value.

func (MemberUpdate_MutedValidationError) Reason

Reason function returns reason value.

type MemberUpdate_Muted_

type MemberUpdate_Muted_ struct {
	Muted *MemberUpdate_Muted `protobuf:"bytes,6,opt,name=muted,proto3,oneof"`
}

type MemberUpdate_Promoted

type MemberUpdate_Promoted struct {
	Member                *v1.UserId `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	PromotedBy            *v1.UserId `protobuf:"bytes,2,opt,name=promoted_by,json=promotedBy,proto3" json:"promoted_by,omitempty"`
	SendPermissionEnabled bool       `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

Member was promoted in the chat via the PromoteUser RPC

func (*MemberUpdate_Promoted) Descriptor deprecated

func (*MemberUpdate_Promoted) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate_Promoted.ProtoReflect.Descriptor instead.

func (*MemberUpdate_Promoted) GetMember

func (x *MemberUpdate_Promoted) GetMember() *v1.UserId

func (*MemberUpdate_Promoted) GetPromotedBy

func (x *MemberUpdate_Promoted) GetPromotedBy() *v1.UserId

func (*MemberUpdate_Promoted) GetSendPermissionEnabled

func (x *MemberUpdate_Promoted) GetSendPermissionEnabled() bool

func (*MemberUpdate_Promoted) ProtoMessage

func (*MemberUpdate_Promoted) ProtoMessage()

func (*MemberUpdate_Promoted) ProtoReflect

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

func (*MemberUpdate_Promoted) Reset

func (x *MemberUpdate_Promoted) Reset()

func (*MemberUpdate_Promoted) String

func (x *MemberUpdate_Promoted) String() string

func (*MemberUpdate_Promoted) Validate

func (m *MemberUpdate_Promoted) Validate() error

Validate checks the field values on MemberUpdate_Promoted 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 (*MemberUpdate_Promoted) ValidateAll

func (m *MemberUpdate_Promoted) ValidateAll() error

ValidateAll checks the field values on MemberUpdate_Promoted 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 MemberUpdate_PromotedMultiError, or nil if none found.

type MemberUpdate_PromotedMultiError

type MemberUpdate_PromotedMultiError []error

MemberUpdate_PromotedMultiError is an error wrapping multiple validation errors returned by MemberUpdate_Promoted.ValidateAll() if the designated constraints aren't met.

func (MemberUpdate_PromotedMultiError) AllErrors

func (m MemberUpdate_PromotedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberUpdate_PromotedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate_PromotedValidationError

type MemberUpdate_PromotedValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdate_PromotedValidationError is the validation error returned by MemberUpdate_Promoted.Validate if the designated constraints aren't met.

func (MemberUpdate_PromotedValidationError) Cause

Cause function returns cause value.

func (MemberUpdate_PromotedValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdate_PromotedValidationError) ErrorName

ErrorName returns error name.

func (MemberUpdate_PromotedValidationError) Field

Field function returns field value.

func (MemberUpdate_PromotedValidationError) Key

Key function returns key value.

func (MemberUpdate_PromotedValidationError) Reason

Reason function returns reason value.

type MemberUpdate_Promoted_

type MemberUpdate_Promoted_ struct {
	Promoted *MemberUpdate_Promoted `protobuf:"bytes,7,opt,name=promoted,proto3,oneof"`
}

type MemberUpdate_Removed

type MemberUpdate_Removed struct {
	Member    *v1.UserId `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	RemovedBy *v1.UserId `protobuf:"bytes,2,opt,name=removed_by,json=removedBy,proto3" json:"removed_by,omitempty"`
	// contains filtered or unexported fields
}

Member was removed from the chat via the RemoveUser RPC

func (*MemberUpdate_Removed) Descriptor deprecated

func (*MemberUpdate_Removed) Descriptor() ([]byte, []int)

Deprecated: Use MemberUpdate_Removed.ProtoReflect.Descriptor instead.

func (*MemberUpdate_Removed) GetMember

func (x *MemberUpdate_Removed) GetMember() *v1.UserId

func (*MemberUpdate_Removed) GetRemovedBy

func (x *MemberUpdate_Removed) GetRemovedBy() *v1.UserId

func (*MemberUpdate_Removed) ProtoMessage

func (*MemberUpdate_Removed) ProtoMessage()

func (*MemberUpdate_Removed) ProtoReflect

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

func (*MemberUpdate_Removed) Reset

func (x *MemberUpdate_Removed) Reset()

func (*MemberUpdate_Removed) String

func (x *MemberUpdate_Removed) String() string

func (*MemberUpdate_Removed) Validate

func (m *MemberUpdate_Removed) Validate() error

Validate checks the field values on MemberUpdate_Removed 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 (*MemberUpdate_Removed) ValidateAll

func (m *MemberUpdate_Removed) ValidateAll() error

ValidateAll checks the field values on MemberUpdate_Removed 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 MemberUpdate_RemovedMultiError, or nil if none found.

type MemberUpdate_RemovedMultiError

type MemberUpdate_RemovedMultiError []error

MemberUpdate_RemovedMultiError is an error wrapping multiple validation errors returned by MemberUpdate_Removed.ValidateAll() if the designated constraints aren't met.

func (MemberUpdate_RemovedMultiError) AllErrors

func (m MemberUpdate_RemovedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberUpdate_RemovedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MemberUpdate_RemovedValidationError

type MemberUpdate_RemovedValidationError struct {
	// contains filtered or unexported fields
}

MemberUpdate_RemovedValidationError is the validation error returned by MemberUpdate_Removed.Validate if the designated constraints aren't met.

func (MemberUpdate_RemovedValidationError) Cause

Cause function returns cause value.

func (MemberUpdate_RemovedValidationError) Error

Error satisfies the builtin error interface

func (MemberUpdate_RemovedValidationError) ErrorName

ErrorName returns error name.

func (MemberUpdate_RemovedValidationError) Field

Field function returns field value.

func (MemberUpdate_RemovedValidationError) Key

Key function returns key value.

func (MemberUpdate_RemovedValidationError) Reason

Reason function returns reason value.

type MemberUpdate_Removed_

type MemberUpdate_Removed_ struct {
	Removed *MemberUpdate_Removed `protobuf:"bytes,5,opt,name=removed,proto3,oneof"`
}

type MemberValidationError

type MemberValidationError struct {
	// contains filtered or unexported fields
}

MemberValidationError is the validation error returned by Member.Validate if the designated constraints aren't met.

func (MemberValidationError) Cause

func (e MemberValidationError) Cause() error

Cause function returns cause value.

func (MemberValidationError) Error

func (e MemberValidationError) Error() string

Error satisfies the builtin error interface

func (MemberValidationError) ErrorName

func (e MemberValidationError) ErrorName() string

ErrorName returns error name.

func (MemberValidationError) Field

func (e MemberValidationError) Field() string

Field function returns field value.

func (MemberValidationError) Key

func (e MemberValidationError) Key() bool

Key function returns key value.

func (MemberValidationError) Reason

func (e MemberValidationError) Reason() string

Reason function returns reason value.

type Metadata

type Metadata struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// The type of chat
	Type Metadata_ChatType `protobuf:"varint,2,opt,name=type,proto3,enum=flipchat.chat.v1.Metadata_ChatType" json:"type,omitempty"`
	// The chat display name
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// If non-zero, the room number associated with the chat.
	RoomNumber uint64 `protobuf:"varint,4,opt,name=room_number,json=roomNumber,proto3" json:"room_number,omitempty"`
	// Are push notifications enabled for this chat (from the perspective of the caller)?
	IsPushEnabled bool `protobuf:"varint,5,opt,name=is_push_enabled,json=isPushEnabled,proto3" json:"is_push_enabled,omitempty"`
	// Can the user disable push notifications for this chat using MuteChat?
	CanDisablePush bool `protobuf:"varint,6,opt,name=can_disable_push,json=canDisablePush,proto3" json:"can_disable_push,omitempty"`
	// Number of (estimated) unread message (from the perspective of the caller).
	NumUnread uint32 `protobuf:"varint,7,opt,name=num_unread,json=numUnread,proto3" json:"num_unread,omitempty"`
	// If there are more unread messages than indicated by num_unread. If this is
	// true, client should show num_unread+ as the unread count.
	HasMoreUnread bool `protobuf:"varint,11,opt,name=has_more_unread,json=hasMoreUnread,proto3" json:"has_more_unread,omitempty"`
	// Owner is the owner/creator of the chat.
	//
	// This is a super priviledge role, in which there can only be one.
	// This role is displayed as a 'host' currently.
	Owner *v1.UserId `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"`
	// If present, the fee that must be paid to send a message as a non-regular
	// chat member.
	//
	// This replaces the legacy cover charge mechanic, which is deprecated
	MessagingFee *v1.PaymentAmount `protobuf:"bytes,9,opt,name=messaging_fee,json=messagingFee,proto3" json:"messaging_fee,omitempty"`
	// The timestamp of the last activity in this chat
	LastActivity *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_activity,json=lastActivity,proto3" json:"last_activity,omitempty"`
	// The status as to whether the room is open or closed. This may be
	// omitted for chats where it doesn't apply. If not provided, it's
	// safe to assume the chat is open indefinitely until otherwise provided.
	OpenStatus *OpenStatus `protobuf:"bytes,12,opt,name=open_status,json=openStatus,proto3" json:"open_status,omitempty"`
	// Chat description
	Description string `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetCanDisablePush

func (x *Metadata) GetCanDisablePush() bool

func (*Metadata) GetChatId

func (x *Metadata) GetChatId() *v1.ChatId

func (*Metadata) GetDescription added in v1.4.2

func (x *Metadata) GetDescription() string

func (*Metadata) GetDisplayName

func (x *Metadata) GetDisplayName() string

func (*Metadata) GetHasMoreUnread

func (x *Metadata) GetHasMoreUnread() bool

func (*Metadata) GetIsPushEnabled

func (x *Metadata) GetIsPushEnabled() bool

func (*Metadata) GetLastActivity

func (x *Metadata) GetLastActivity() *timestamppb.Timestamp

func (*Metadata) GetMessagingFee

func (x *Metadata) GetMessagingFee() *v1.PaymentAmount

func (*Metadata) GetNumUnread

func (x *Metadata) GetNumUnread() uint32

func (*Metadata) GetOpenStatus

func (x *Metadata) GetOpenStatus() *OpenStatus

func (*Metadata) GetOwner

func (x *Metadata) GetOwner() *v1.UserId

func (*Metadata) GetRoomNumber

func (x *Metadata) GetRoomNumber() uint64

func (*Metadata) GetType

func (x *Metadata) GetType() Metadata_ChatType

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) Validate

func (m *Metadata) Validate() error

Validate checks the field values on Metadata 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 (*Metadata) ValidateAll

func (m *Metadata) ValidateAll() error

ValidateAll checks the field values on Metadata 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 MetadataMultiError, or nil if none found.

type MetadataMultiError

type MetadataMultiError []error

MetadataMultiError is an error wrapping multiple validation errors returned by Metadata.ValidateAll() if the designated constraints aren't met.

func (MetadataMultiError) AllErrors

func (m MetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetadataMultiError) Error

func (m MetadataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MetadataUpdate

type MetadataUpdate struct {

	// Types that are assignable to Kind:
	//
	//	*MetadataUpdate_FullRefresh_
	//	*MetadataUpdate_UnreadCountChanged_
	//	*MetadataUpdate_DisplayNameChanged_
	//	*MetadataUpdate_MessagingFeeChanged_
	//	*MetadataUpdate_LastActivityChanged_
	//	*MetadataUpdate_OpenStatusChanged_
	//	*MetadataUpdate_DescriptionChanged_
	Kind isMetadataUpdate_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*MetadataUpdate) Descriptor deprecated

func (*MetadataUpdate) Descriptor() ([]byte, []int)

Deprecated: Use MetadataUpdate.ProtoReflect.Descriptor instead.

func (*MetadataUpdate) GetDescriptionChanged added in v1.4.2

func (x *MetadataUpdate) GetDescriptionChanged() *MetadataUpdate_DescriptionChanged

func (*MetadataUpdate) GetDisplayNameChanged

func (x *MetadataUpdate) GetDisplayNameChanged() *MetadataUpdate_DisplayNameChanged

func (*MetadataUpdate) GetFullRefresh

func (x *MetadataUpdate) GetFullRefresh() *MetadataUpdate_FullRefresh

func (*MetadataUpdate) GetKind

func (m *MetadataUpdate) GetKind() isMetadataUpdate_Kind

func (*MetadataUpdate) GetLastActivityChanged

func (x *MetadataUpdate) GetLastActivityChanged() *MetadataUpdate_LastActivityChanged

func (*MetadataUpdate) GetMessagingFeeChanged

func (x *MetadataUpdate) GetMessagingFeeChanged() *MetadataUpdate_MessagingFeeChanged

func (*MetadataUpdate) GetOpenStatusChanged

func (x *MetadataUpdate) GetOpenStatusChanged() *MetadataUpdate_OpenStatusChanged

func (*MetadataUpdate) GetUnreadCountChanged

func (x *MetadataUpdate) GetUnreadCountChanged() *MetadataUpdate_UnreadCountChanged

func (*MetadataUpdate) ProtoMessage

func (*MetadataUpdate) ProtoMessage()

func (*MetadataUpdate) ProtoReflect

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

func (*MetadataUpdate) Reset

func (x *MetadataUpdate) Reset()

func (*MetadataUpdate) String

func (x *MetadataUpdate) String() string

func (*MetadataUpdate) Validate

func (m *MetadataUpdate) Validate() error

Validate checks the field values on MetadataUpdate 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 (*MetadataUpdate) ValidateAll

func (m *MetadataUpdate) ValidateAll() error

ValidateAll checks the field values on MetadataUpdate 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 MetadataUpdateMultiError, or nil if none found.

type MetadataUpdateMultiError

type MetadataUpdateMultiError []error

MetadataUpdateMultiError is an error wrapping multiple validation errors returned by MetadataUpdate.ValidateAll() if the designated constraints aren't met.

func (MetadataUpdateMultiError) AllErrors

func (m MetadataUpdateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetadataUpdateMultiError) Error

func (m MetadataUpdateMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MetadataUpdateValidationError

type MetadataUpdateValidationError struct {
	// contains filtered or unexported fields
}

MetadataUpdateValidationError is the validation error returned by MetadataUpdate.Validate if the designated constraints aren't met.

func (MetadataUpdateValidationError) Cause

Cause function returns cause value.

func (MetadataUpdateValidationError) Error

Error satisfies the builtin error interface

func (MetadataUpdateValidationError) ErrorName

func (e MetadataUpdateValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataUpdateValidationError) Field

Field function returns field value.

func (MetadataUpdateValidationError) Key

Key function returns key value.

func (MetadataUpdateValidationError) Reason

Reason function returns reason value.

type MetadataUpdate_DescriptionChanged added in v1.4.2

type MetadataUpdate_DescriptionChanged struct {
	NewDescription string `protobuf:"bytes,1,opt,name=new_description,json=newDescription,proto3" json:"new_description,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataUpdate_DescriptionChanged) Descriptor deprecated added in v1.4.2

func (*MetadataUpdate_DescriptionChanged) Descriptor() ([]byte, []int)

Deprecated: Use MetadataUpdate_DescriptionChanged.ProtoReflect.Descriptor instead.

func (*MetadataUpdate_DescriptionChanged) GetNewDescription added in v1.4.2

func (x *MetadataUpdate_DescriptionChanged) GetNewDescription() string

func (*MetadataUpdate_DescriptionChanged) ProtoMessage added in v1.4.2

func (*MetadataUpdate_DescriptionChanged) ProtoMessage()

func (*MetadataUpdate_DescriptionChanged) ProtoReflect added in v1.4.2

func (*MetadataUpdate_DescriptionChanged) Reset added in v1.4.2

func (*MetadataUpdate_DescriptionChanged) String added in v1.4.2

func (*MetadataUpdate_DescriptionChanged) Validate added in v1.4.2

Validate checks the field values on MetadataUpdate_DescriptionChanged 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 (*MetadataUpdate_DescriptionChanged) ValidateAll added in v1.4.2

func (m *MetadataUpdate_DescriptionChanged) ValidateAll() error

ValidateAll checks the field values on MetadataUpdate_DescriptionChanged 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 MetadataUpdate_DescriptionChangedMultiError, or nil if none found.

type MetadataUpdate_DescriptionChangedMultiError added in v1.4.2

type MetadataUpdate_DescriptionChangedMultiError []error

MetadataUpdate_DescriptionChangedMultiError is an error wrapping multiple validation errors returned by MetadataUpdate_DescriptionChanged.ValidateAll() if the designated constraints aren't met.

func (MetadataUpdate_DescriptionChangedMultiError) AllErrors added in v1.4.2

AllErrors returns a list of validation violation errors.

func (MetadataUpdate_DescriptionChangedMultiError) Error added in v1.4.2

Error returns a concatenation of all the error messages it wraps.

type MetadataUpdate_DescriptionChangedValidationError added in v1.4.2

type MetadataUpdate_DescriptionChangedValidationError struct {
	// contains filtered or unexported fields
}

MetadataUpdate_DescriptionChangedValidationError is the validation error returned by MetadataUpdate_DescriptionChanged.Validate if the designated constraints aren't met.

func (MetadataUpdate_DescriptionChangedValidationError) Cause added in v1.4.2

Cause function returns cause value.

func (MetadataUpdate_DescriptionChangedValidationError) Error added in v1.4.2

Error satisfies the builtin error interface

func (MetadataUpdate_DescriptionChangedValidationError) ErrorName added in v1.4.2

ErrorName returns error name.

func (MetadataUpdate_DescriptionChangedValidationError) Field added in v1.4.2

Field function returns field value.

func (MetadataUpdate_DescriptionChangedValidationError) Key added in v1.4.2

Key function returns key value.

func (MetadataUpdate_DescriptionChangedValidationError) Reason added in v1.4.2

Reason function returns reason value.

type MetadataUpdate_DescriptionChanged_ added in v1.4.2

type MetadataUpdate_DescriptionChanged_ struct {
	DescriptionChanged *MetadataUpdate_DescriptionChanged `protobuf:"bytes,7,opt,name=description_changed,json=descriptionChanged,proto3,oneof"`
}

type MetadataUpdate_DisplayNameChanged

type MetadataUpdate_DisplayNameChanged struct {
	NewDisplayName string `protobuf:"bytes,1,opt,name=new_display_name,json=newDisplayName,proto3" json:"new_display_name,omitempty"`
	// contains filtered or unexported fields
}

The chat display name has been updated to a new value

func (*MetadataUpdate_DisplayNameChanged) Descriptor deprecated

func (*MetadataUpdate_DisplayNameChanged) Descriptor() ([]byte, []int)

Deprecated: Use MetadataUpdate_DisplayNameChanged.ProtoReflect.Descriptor instead.

func (*MetadataUpdate_DisplayNameChanged) GetNewDisplayName

func (x *MetadataUpdate_DisplayNameChanged) GetNewDisplayName() string

func (*MetadataUpdate_DisplayNameChanged) ProtoMessage

func (*MetadataUpdate_DisplayNameChanged) ProtoMessage()

func (*MetadataUpdate_DisplayNameChanged) ProtoReflect

func (*MetadataUpdate_DisplayNameChanged) Reset

func (*MetadataUpdate_DisplayNameChanged) String

func (*MetadataUpdate_DisplayNameChanged) Validate

Validate checks the field values on MetadataUpdate_DisplayNameChanged 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 (*MetadataUpdate_DisplayNameChanged) ValidateAll

func (m *MetadataUpdate_DisplayNameChanged) ValidateAll() error

ValidateAll checks the field values on MetadataUpdate_DisplayNameChanged 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 MetadataUpdate_DisplayNameChangedMultiError, or nil if none found.

type MetadataUpdate_DisplayNameChangedMultiError

type MetadataUpdate_DisplayNameChangedMultiError []error

MetadataUpdate_DisplayNameChangedMultiError is an error wrapping multiple validation errors returned by MetadataUpdate_DisplayNameChanged.ValidateAll() if the designated constraints aren't met.

func (MetadataUpdate_DisplayNameChangedMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (MetadataUpdate_DisplayNameChangedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MetadataUpdate_DisplayNameChangedValidationError

type MetadataUpdate_DisplayNameChangedValidationError struct {
	// contains filtered or unexported fields
}

MetadataUpdate_DisplayNameChangedValidationError is the validation error returned by MetadataUpdate_DisplayNameChanged.Validate if the designated constraints aren't met.

func (MetadataUpdate_DisplayNameChangedValidationError) Cause

Cause function returns cause value.

func (MetadataUpdate_DisplayNameChangedValidationError) Error

Error satisfies the builtin error interface

func (MetadataUpdate_DisplayNameChangedValidationError) ErrorName

ErrorName returns error name.

func (MetadataUpdate_DisplayNameChangedValidationError) Field

Field function returns field value.

func (MetadataUpdate_DisplayNameChangedValidationError) Key

Key function returns key value.

func (MetadataUpdate_DisplayNameChangedValidationError) Reason

Reason function returns reason value.

type MetadataUpdate_DisplayNameChanged_

type MetadataUpdate_DisplayNameChanged_ struct {
	DisplayNameChanged *MetadataUpdate_DisplayNameChanged `protobuf:"bytes,3,opt,name=display_name_changed,json=displayNameChanged,proto3,oneof"`
}

type MetadataUpdate_FullRefresh

type MetadataUpdate_FullRefresh struct {
	Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Refreshes the entire chat metadata

func (*MetadataUpdate_FullRefresh) Descriptor deprecated

func (*MetadataUpdate_FullRefresh) Descriptor() ([]byte, []int)

Deprecated: Use MetadataUpdate_FullRefresh.ProtoReflect.Descriptor instead.

func (*MetadataUpdate_FullRefresh) GetMetadata

func (x *MetadataUpdate_FullRefresh) GetMetadata() *Metadata

func (*MetadataUpdate_FullRefresh) ProtoMessage

func (*MetadataUpdate_FullRefresh) ProtoMessage()

func (*MetadataUpdate_FullRefresh) ProtoReflect

func (*MetadataUpdate_FullRefresh) Reset

func (x *MetadataUpdate_FullRefresh) Reset()

func (*MetadataUpdate_FullRefresh) String

func (x *MetadataUpdate_FullRefresh) String() string

func (*MetadataUpdate_FullRefresh) Validate

func (m *MetadataUpdate_FullRefresh) Validate() error

Validate checks the field values on MetadataUpdate_FullRefresh 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 (*MetadataUpdate_FullRefresh) ValidateAll

func (m *MetadataUpdate_FullRefresh) ValidateAll() error

ValidateAll checks the field values on MetadataUpdate_FullRefresh 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 MetadataUpdate_FullRefreshMultiError, or nil if none found.

type MetadataUpdate_FullRefreshMultiError

type MetadataUpdate_FullRefreshMultiError []error

MetadataUpdate_FullRefreshMultiError is an error wrapping multiple validation errors returned by MetadataUpdate_FullRefresh.ValidateAll() if the designated constraints aren't met.

func (MetadataUpdate_FullRefreshMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (MetadataUpdate_FullRefreshMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MetadataUpdate_FullRefreshValidationError

type MetadataUpdate_FullRefreshValidationError struct {
	// contains filtered or unexported fields
}

MetadataUpdate_FullRefreshValidationError is the validation error returned by MetadataUpdate_FullRefresh.Validate if the designated constraints aren't met.

func (MetadataUpdate_FullRefreshValidationError) Cause

Cause function returns cause value.

func (MetadataUpdate_FullRefreshValidationError) Error

Error satisfies the builtin error interface

func (MetadataUpdate_FullRefreshValidationError) ErrorName

ErrorName returns error name.

func (MetadataUpdate_FullRefreshValidationError) Field

Field function returns field value.

func (MetadataUpdate_FullRefreshValidationError) Key

Key function returns key value.

func (MetadataUpdate_FullRefreshValidationError) Reason

Reason function returns reason value.

type MetadataUpdate_FullRefresh_

type MetadataUpdate_FullRefresh_ struct {
	FullRefresh *MetadataUpdate_FullRefresh `protobuf:"bytes,1,opt,name=full_refresh,json=fullRefresh,proto3,oneof"`
}

type MetadataUpdate_LastActivityChanged

type MetadataUpdate_LastActivityChanged struct {
	NewLastActivity *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=new_last_activity,json=newLastActivity,proto3" json:"new_last_activity,omitempty"`
	// contains filtered or unexported fields
}

The last activity timestamp has changed to a newer value

func (*MetadataUpdate_LastActivityChanged) Descriptor deprecated

func (*MetadataUpdate_LastActivityChanged) Descriptor() ([]byte, []int)

Deprecated: Use MetadataUpdate_LastActivityChanged.ProtoReflect.Descriptor instead.

func (*MetadataUpdate_LastActivityChanged) GetNewLastActivity

func (x *MetadataUpdate_LastActivityChanged) GetNewLastActivity() *timestamppb.Timestamp

func (*MetadataUpdate_LastActivityChanged) ProtoMessage

func (*MetadataUpdate_LastActivityChanged) ProtoMessage()

func (*MetadataUpdate_LastActivityChanged) ProtoReflect

func (*MetadataUpdate_LastActivityChanged) Reset

func (*MetadataUpdate_LastActivityChanged) String

func (*MetadataUpdate_LastActivityChanged) Validate

Validate checks the field values on MetadataUpdate_LastActivityChanged 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 (*MetadataUpdate_LastActivityChanged) ValidateAll

func (m *MetadataUpdate_LastActivityChanged) ValidateAll() error

ValidateAll checks the field values on MetadataUpdate_LastActivityChanged 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 MetadataUpdate_LastActivityChangedMultiError, or nil if none found.

type MetadataUpdate_LastActivityChangedMultiError

type MetadataUpdate_LastActivityChangedMultiError []error

MetadataUpdate_LastActivityChangedMultiError is an error wrapping multiple validation errors returned by MetadataUpdate_LastActivityChanged.ValidateAll() if the designated constraints aren't met.

func (MetadataUpdate_LastActivityChangedMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (MetadataUpdate_LastActivityChangedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MetadataUpdate_LastActivityChangedValidationError

type MetadataUpdate_LastActivityChangedValidationError struct {
	// contains filtered or unexported fields
}

MetadataUpdate_LastActivityChangedValidationError is the validation error returned by MetadataUpdate_LastActivityChanged.Validate if the designated constraints aren't met.

func (MetadataUpdate_LastActivityChangedValidationError) Cause

Cause function returns cause value.

func (MetadataUpdate_LastActivityChangedValidationError) Error

Error satisfies the builtin error interface

func (MetadataUpdate_LastActivityChangedValidationError) ErrorName

ErrorName returns error name.

func (MetadataUpdate_LastActivityChangedValidationError) Field

Field function returns field value.

func (MetadataUpdate_LastActivityChangedValidationError) Key

Key function returns key value.

func (MetadataUpdate_LastActivityChangedValidationError) Reason

Reason function returns reason value.

type MetadataUpdate_LastActivityChanged_

type MetadataUpdate_LastActivityChanged_ struct {
	LastActivityChanged *MetadataUpdate_LastActivityChanged `protobuf:"bytes,5,opt,name=last_activity_changed,json=lastActivityChanged,proto3,oneof"`
}

type MetadataUpdate_MessagingFeeChanged

type MetadataUpdate_MessagingFeeChanged struct {
	NewMessagingFee *v1.PaymentAmount `protobuf:"bytes,1,opt,name=new_messaging_fee,json=newMessagingFee,proto3" json:"new_messaging_fee,omitempty"`
	// contains filtered or unexported fields
}

The chat messaging fee has been updated to a new value

func (*MetadataUpdate_MessagingFeeChanged) Descriptor deprecated

func (*MetadataUpdate_MessagingFeeChanged) Descriptor() ([]byte, []int)

Deprecated: Use MetadataUpdate_MessagingFeeChanged.ProtoReflect.Descriptor instead.

func (*MetadataUpdate_MessagingFeeChanged) GetNewMessagingFee

func (x *MetadataUpdate_MessagingFeeChanged) GetNewMessagingFee() *v1.PaymentAmount

func (*MetadataUpdate_MessagingFeeChanged) ProtoMessage

func (*MetadataUpdate_MessagingFeeChanged) ProtoMessage()

func (*MetadataUpdate_MessagingFeeChanged) ProtoReflect

func (*MetadataUpdate_MessagingFeeChanged) Reset

func (*MetadataUpdate_MessagingFeeChanged) String

func (*MetadataUpdate_MessagingFeeChanged) Validate

Validate checks the field values on MetadataUpdate_MessagingFeeChanged 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 (*MetadataUpdate_MessagingFeeChanged) ValidateAll

func (m *MetadataUpdate_MessagingFeeChanged) ValidateAll() error

ValidateAll checks the field values on MetadataUpdate_MessagingFeeChanged 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 MetadataUpdate_MessagingFeeChangedMultiError, or nil if none found.

type MetadataUpdate_MessagingFeeChangedMultiError

type MetadataUpdate_MessagingFeeChangedMultiError []error

MetadataUpdate_MessagingFeeChangedMultiError is an error wrapping multiple validation errors returned by MetadataUpdate_MessagingFeeChanged.ValidateAll() if the designated constraints aren't met.

func (MetadataUpdate_MessagingFeeChangedMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (MetadataUpdate_MessagingFeeChangedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MetadataUpdate_MessagingFeeChangedValidationError

type MetadataUpdate_MessagingFeeChangedValidationError struct {
	// contains filtered or unexported fields
}

MetadataUpdate_MessagingFeeChangedValidationError is the validation error returned by MetadataUpdate_MessagingFeeChanged.Validate if the designated constraints aren't met.

func (MetadataUpdate_MessagingFeeChangedValidationError) Cause

Cause function returns cause value.

func (MetadataUpdate_MessagingFeeChangedValidationError) Error

Error satisfies the builtin error interface

func (MetadataUpdate_MessagingFeeChangedValidationError) ErrorName

ErrorName returns error name.

func (MetadataUpdate_MessagingFeeChangedValidationError) Field

Field function returns field value.

func (MetadataUpdate_MessagingFeeChangedValidationError) Key

Key function returns key value.

func (MetadataUpdate_MessagingFeeChangedValidationError) Reason

Reason function returns reason value.

type MetadataUpdate_MessagingFeeChanged_

type MetadataUpdate_MessagingFeeChanged_ struct {
	MessagingFeeChanged *MetadataUpdate_MessagingFeeChanged `protobuf:"bytes,4,opt,name=messaging_fee_changed,json=messagingFeeChanged,proto3,oneof"`
}

type MetadataUpdate_OpenStatusChanged

type MetadataUpdate_OpenStatusChanged struct {
	NewOpenStatus *OpenStatus `protobuf:"bytes,1,opt,name=new_open_status,json=newOpenStatus,proto3" json:"new_open_status,omitempty"`
	// contains filtered or unexported fields
}

The open status has changed to a newer value

func (*MetadataUpdate_OpenStatusChanged) Descriptor deprecated

func (*MetadataUpdate_OpenStatusChanged) Descriptor() ([]byte, []int)

Deprecated: Use MetadataUpdate_OpenStatusChanged.ProtoReflect.Descriptor instead.

func (*MetadataUpdate_OpenStatusChanged) GetNewOpenStatus

func (x *MetadataUpdate_OpenStatusChanged) GetNewOpenStatus() *OpenStatus

func (*MetadataUpdate_OpenStatusChanged) ProtoMessage

func (*MetadataUpdate_OpenStatusChanged) ProtoMessage()

func (*MetadataUpdate_OpenStatusChanged) ProtoReflect

func (*MetadataUpdate_OpenStatusChanged) Reset

func (*MetadataUpdate_OpenStatusChanged) String

func (*MetadataUpdate_OpenStatusChanged) Validate

Validate checks the field values on MetadataUpdate_OpenStatusChanged 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 (*MetadataUpdate_OpenStatusChanged) ValidateAll

func (m *MetadataUpdate_OpenStatusChanged) ValidateAll() error

ValidateAll checks the field values on MetadataUpdate_OpenStatusChanged 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 MetadataUpdate_OpenStatusChangedMultiError, or nil if none found.

type MetadataUpdate_OpenStatusChangedMultiError

type MetadataUpdate_OpenStatusChangedMultiError []error

MetadataUpdate_OpenStatusChangedMultiError is an error wrapping multiple validation errors returned by MetadataUpdate_OpenStatusChanged.ValidateAll() if the designated constraints aren't met.

func (MetadataUpdate_OpenStatusChangedMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (MetadataUpdate_OpenStatusChangedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MetadataUpdate_OpenStatusChangedValidationError

type MetadataUpdate_OpenStatusChangedValidationError struct {
	// contains filtered or unexported fields
}

MetadataUpdate_OpenStatusChangedValidationError is the validation error returned by MetadataUpdate_OpenStatusChanged.Validate if the designated constraints aren't met.

func (MetadataUpdate_OpenStatusChangedValidationError) Cause

Cause function returns cause value.

func (MetadataUpdate_OpenStatusChangedValidationError) Error

Error satisfies the builtin error interface

func (MetadataUpdate_OpenStatusChangedValidationError) ErrorName

ErrorName returns error name.

func (MetadataUpdate_OpenStatusChangedValidationError) Field

Field function returns field value.

func (MetadataUpdate_OpenStatusChangedValidationError) Key

Key function returns key value.

func (MetadataUpdate_OpenStatusChangedValidationError) Reason

Reason function returns reason value.

type MetadataUpdate_OpenStatusChanged_

type MetadataUpdate_OpenStatusChanged_ struct {
	OpenStatusChanged *MetadataUpdate_OpenStatusChanged `protobuf:"bytes,6,opt,name=open_status_changed,json=openStatusChanged,proto3,oneof"`
}

type MetadataUpdate_UnreadCountChanged

type MetadataUpdate_UnreadCountChanged struct {

	// Number of (estimated) unread message
	NumUnread uint32 `protobuf:"varint,1,opt,name=num_unread,json=numUnread,proto3" json:"num_unread,omitempty"`
	// If there are more unread messages than indicated by num_unread.
	// If this is true, client should show num_unread+ as the unread count.
	HasMoreUnread bool `protobuf:"varint,2,opt,name=has_more_unread,json=hasMoreUnread,proto3" json:"has_more_unread,omitempty"`
	// contains filtered or unexported fields
}

New message in the chat has generated a new unread count

func (*MetadataUpdate_UnreadCountChanged) Descriptor deprecated

func (*MetadataUpdate_UnreadCountChanged) Descriptor() ([]byte, []int)

Deprecated: Use MetadataUpdate_UnreadCountChanged.ProtoReflect.Descriptor instead.

func (*MetadataUpdate_UnreadCountChanged) GetHasMoreUnread

func (x *MetadataUpdate_UnreadCountChanged) GetHasMoreUnread() bool

func (*MetadataUpdate_UnreadCountChanged) GetNumUnread

func (x *MetadataUpdate_UnreadCountChanged) GetNumUnread() uint32

func (*MetadataUpdate_UnreadCountChanged) ProtoMessage

func (*MetadataUpdate_UnreadCountChanged) ProtoMessage()

func (*MetadataUpdate_UnreadCountChanged) ProtoReflect

func (*MetadataUpdate_UnreadCountChanged) Reset

func (*MetadataUpdate_UnreadCountChanged) String

func (*MetadataUpdate_UnreadCountChanged) Validate

Validate checks the field values on MetadataUpdate_UnreadCountChanged 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 (*MetadataUpdate_UnreadCountChanged) ValidateAll

func (m *MetadataUpdate_UnreadCountChanged) ValidateAll() error

ValidateAll checks the field values on MetadataUpdate_UnreadCountChanged 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 MetadataUpdate_UnreadCountChangedMultiError, or nil if none found.

type MetadataUpdate_UnreadCountChangedMultiError

type MetadataUpdate_UnreadCountChangedMultiError []error

MetadataUpdate_UnreadCountChangedMultiError is an error wrapping multiple validation errors returned by MetadataUpdate_UnreadCountChanged.ValidateAll() if the designated constraints aren't met.

func (MetadataUpdate_UnreadCountChangedMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (MetadataUpdate_UnreadCountChangedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MetadataUpdate_UnreadCountChangedValidationError

type MetadataUpdate_UnreadCountChangedValidationError struct {
	// contains filtered or unexported fields
}

MetadataUpdate_UnreadCountChangedValidationError is the validation error returned by MetadataUpdate_UnreadCountChanged.Validate if the designated constraints aren't met.

func (MetadataUpdate_UnreadCountChangedValidationError) Cause

Cause function returns cause value.

func (MetadataUpdate_UnreadCountChangedValidationError) Error

Error satisfies the builtin error interface

func (MetadataUpdate_UnreadCountChangedValidationError) ErrorName

ErrorName returns error name.

func (MetadataUpdate_UnreadCountChangedValidationError) Field

Field function returns field value.

func (MetadataUpdate_UnreadCountChangedValidationError) Key

Key function returns key value.

func (MetadataUpdate_UnreadCountChangedValidationError) Reason

Reason function returns reason value.

type MetadataUpdate_UnreadCountChanged_

type MetadataUpdate_UnreadCountChanged_ struct {
	UnreadCountChanged *MetadataUpdate_UnreadCountChanged `protobuf:"bytes,2,opt,name=unread_count_changed,json=unreadCountChanged,proto3,oneof"`
}

type MetadataValidationError

type MetadataValidationError struct {
	// contains filtered or unexported fields
}

MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.

func (MetadataValidationError) Cause

func (e MetadataValidationError) Cause() error

Cause function returns cause value.

func (MetadataValidationError) Error

func (e MetadataValidationError) Error() string

Error satisfies the builtin error interface

func (MetadataValidationError) ErrorName

func (e MetadataValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataValidationError) Field

func (e MetadataValidationError) Field() string

Field function returns field value.

func (MetadataValidationError) Key

func (e MetadataValidationError) Key() bool

Key function returns key value.

func (MetadataValidationError) Reason

func (e MetadataValidationError) Reason() string

Reason function returns reason value.

type Metadata_ChatType

type Metadata_ChatType int32
const (
	Metadata_UNKNOWN Metadata_ChatType = 0
	Metadata_TWO_WAY Metadata_ChatType = 1
	Metadata_GROUP   Metadata_ChatType = 2
)

func (Metadata_ChatType) Descriptor

func (Metadata_ChatType) Enum

func (Metadata_ChatType) EnumDescriptor deprecated

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

Deprecated: Use Metadata_ChatType.Descriptor instead.

func (Metadata_ChatType) Number

func (Metadata_ChatType) String

func (x Metadata_ChatType) String() string

func (Metadata_ChatType) Type

type MuteChatRequest

type MuteChatRequest struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	Auth   *v1.Auth   `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*MuteChatRequest) Descriptor deprecated

func (*MuteChatRequest) Descriptor() ([]byte, []int)

Deprecated: Use MuteChatRequest.ProtoReflect.Descriptor instead.

func (*MuteChatRequest) GetAuth

func (x *MuteChatRequest) GetAuth() *v1.Auth

func (*MuteChatRequest) GetChatId

func (x *MuteChatRequest) GetChatId() *v1.ChatId

func (*MuteChatRequest) ProtoMessage

func (*MuteChatRequest) ProtoMessage()

func (*MuteChatRequest) ProtoReflect

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

func (*MuteChatRequest) Reset

func (x *MuteChatRequest) Reset()

func (*MuteChatRequest) String

func (x *MuteChatRequest) String() string

func (*MuteChatRequest) Validate

func (m *MuteChatRequest) Validate() error

Validate checks the field values on MuteChatRequest 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 (*MuteChatRequest) ValidateAll

func (m *MuteChatRequest) ValidateAll() error

ValidateAll checks the field values on MuteChatRequest 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 MuteChatRequestMultiError, or nil if none found.

type MuteChatRequestMultiError

type MuteChatRequestMultiError []error

MuteChatRequestMultiError is an error wrapping multiple validation errors returned by MuteChatRequest.ValidateAll() if the designated constraints aren't met.

func (MuteChatRequestMultiError) AllErrors

func (m MuteChatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MuteChatRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MuteChatRequestValidationError

type MuteChatRequestValidationError struct {
	// contains filtered or unexported fields
}

MuteChatRequestValidationError is the validation error returned by MuteChatRequest.Validate if the designated constraints aren't met.

func (MuteChatRequestValidationError) Cause

Cause function returns cause value.

func (MuteChatRequestValidationError) Error

Error satisfies the builtin error interface

func (MuteChatRequestValidationError) ErrorName

func (e MuteChatRequestValidationError) ErrorName() string

ErrorName returns error name.

func (MuteChatRequestValidationError) Field

Field function returns field value.

func (MuteChatRequestValidationError) Key

Key function returns key value.

func (MuteChatRequestValidationError) Reason

Reason function returns reason value.

type MuteChatResponse

type MuteChatResponse struct {
	Result MuteChatResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.MuteChatResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*MuteChatResponse) Descriptor deprecated

func (*MuteChatResponse) Descriptor() ([]byte, []int)

Deprecated: Use MuteChatResponse.ProtoReflect.Descriptor instead.

func (*MuteChatResponse) GetResult

func (*MuteChatResponse) ProtoMessage

func (*MuteChatResponse) ProtoMessage()

func (*MuteChatResponse) ProtoReflect

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

func (*MuteChatResponse) Reset

func (x *MuteChatResponse) Reset()

func (*MuteChatResponse) String

func (x *MuteChatResponse) String() string

func (*MuteChatResponse) Validate

func (m *MuteChatResponse) Validate() error

Validate checks the field values on MuteChatResponse 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 (*MuteChatResponse) ValidateAll

func (m *MuteChatResponse) ValidateAll() error

ValidateAll checks the field values on MuteChatResponse 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 MuteChatResponseMultiError, or nil if none found.

type MuteChatResponseMultiError

type MuteChatResponseMultiError []error

MuteChatResponseMultiError is an error wrapping multiple validation errors returned by MuteChatResponse.ValidateAll() if the designated constraints aren't met.

func (MuteChatResponseMultiError) AllErrors

func (m MuteChatResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MuteChatResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MuteChatResponseValidationError

type MuteChatResponseValidationError struct {
	// contains filtered or unexported fields
}

MuteChatResponseValidationError is the validation error returned by MuteChatResponse.Validate if the designated constraints aren't met.

func (MuteChatResponseValidationError) Cause

Cause function returns cause value.

func (MuteChatResponseValidationError) Error

Error satisfies the builtin error interface

func (MuteChatResponseValidationError) ErrorName

ErrorName returns error name.

func (MuteChatResponseValidationError) Field

Field function returns field value.

func (MuteChatResponseValidationError) Key

Key function returns key value.

func (MuteChatResponseValidationError) Reason

Reason function returns reason value.

type MuteChatResponse_Result

type MuteChatResponse_Result int32
const (
	MuteChatResponse_OK     MuteChatResponse_Result = 0
	MuteChatResponse_DENIED MuteChatResponse_Result = 1
)

func (MuteChatResponse_Result) Descriptor

func (MuteChatResponse_Result) Enum

func (MuteChatResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use MuteChatResponse_Result.Descriptor instead.

func (MuteChatResponse_Result) Number

func (MuteChatResponse_Result) String

func (x MuteChatResponse_Result) String() string

func (MuteChatResponse_Result) Type

type MuteUserRequest

type MuteUserRequest struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	UserId *v1.UserId `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Auth   *v1.Auth   `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*MuteUserRequest) Descriptor deprecated

func (*MuteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use MuteUserRequest.ProtoReflect.Descriptor instead.

func (*MuteUserRequest) GetAuth

func (x *MuteUserRequest) GetAuth() *v1.Auth

func (*MuteUserRequest) GetChatId

func (x *MuteUserRequest) GetChatId() *v1.ChatId

func (*MuteUserRequest) GetUserId

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

func (*MuteUserRequest) ProtoMessage

func (*MuteUserRequest) ProtoMessage()

func (*MuteUserRequest) ProtoReflect

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

func (*MuteUserRequest) Reset

func (x *MuteUserRequest) Reset()

func (*MuteUserRequest) String

func (x *MuteUserRequest) String() string

func (*MuteUserRequest) Validate

func (m *MuteUserRequest) Validate() error

Validate checks the field values on MuteUserRequest 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 (*MuteUserRequest) ValidateAll

func (m *MuteUserRequest) ValidateAll() error

ValidateAll checks the field values on MuteUserRequest 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 MuteUserRequestMultiError, or nil if none found.

type MuteUserRequestMultiError

type MuteUserRequestMultiError []error

MuteUserRequestMultiError is an error wrapping multiple validation errors returned by MuteUserRequest.ValidateAll() if the designated constraints aren't met.

func (MuteUserRequestMultiError) AllErrors

func (m MuteUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MuteUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MuteUserRequestValidationError

type MuteUserRequestValidationError struct {
	// contains filtered or unexported fields
}

MuteUserRequestValidationError is the validation error returned by MuteUserRequest.Validate if the designated constraints aren't met.

func (MuteUserRequestValidationError) Cause

Cause function returns cause value.

func (MuteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (MuteUserRequestValidationError) ErrorName

func (e MuteUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (MuteUserRequestValidationError) Field

Field function returns field value.

func (MuteUserRequestValidationError) Key

Key function returns key value.

func (MuteUserRequestValidationError) Reason

Reason function returns reason value.

type MuteUserResponse

type MuteUserResponse struct {
	Result MuteUserResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.MuteUserResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*MuteUserResponse) Descriptor deprecated

func (*MuteUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use MuteUserResponse.ProtoReflect.Descriptor instead.

func (*MuteUserResponse) GetResult

func (*MuteUserResponse) ProtoMessage

func (*MuteUserResponse) ProtoMessage()

func (*MuteUserResponse) ProtoReflect

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

func (*MuteUserResponse) Reset

func (x *MuteUserResponse) Reset()

func (*MuteUserResponse) String

func (x *MuteUserResponse) String() string

func (*MuteUserResponse) Validate

func (m *MuteUserResponse) Validate() error

Validate checks the field values on MuteUserResponse 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 (*MuteUserResponse) ValidateAll

func (m *MuteUserResponse) ValidateAll() error

ValidateAll checks the field values on MuteUserResponse 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 MuteUserResponseMultiError, or nil if none found.

type MuteUserResponseMultiError

type MuteUserResponseMultiError []error

MuteUserResponseMultiError is an error wrapping multiple validation errors returned by MuteUserResponse.ValidateAll() if the designated constraints aren't met.

func (MuteUserResponseMultiError) AllErrors

func (m MuteUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MuteUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MuteUserResponseValidationError

type MuteUserResponseValidationError struct {
	// contains filtered or unexported fields
}

MuteUserResponseValidationError is the validation error returned by MuteUserResponse.Validate if the designated constraints aren't met.

func (MuteUserResponseValidationError) Cause

Cause function returns cause value.

func (MuteUserResponseValidationError) Error

Error satisfies the builtin error interface

func (MuteUserResponseValidationError) ErrorName

ErrorName returns error name.

func (MuteUserResponseValidationError) Field

Field function returns field value.

func (MuteUserResponseValidationError) Key

Key function returns key value.

func (MuteUserResponseValidationError) Reason

Reason function returns reason value.

type MuteUserResponse_Result

type MuteUserResponse_Result int32
const (
	MuteUserResponse_OK     MuteUserResponse_Result = 0
	MuteUserResponse_DENIED MuteUserResponse_Result = 1
)

func (MuteUserResponse_Result) Descriptor

func (MuteUserResponse_Result) Enum

func (MuteUserResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use MuteUserResponse_Result.Descriptor instead.

func (MuteUserResponse_Result) Number

func (MuteUserResponse_Result) String

func (x MuteUserResponse_Result) String() string

func (MuteUserResponse_Result) Type

type OpenChatRequest

type OpenChatRequest struct {

	// The chat that is being opened
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	Auth   *v1.Auth   `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenChatRequest) Descriptor deprecated

func (*OpenChatRequest) Descriptor() ([]byte, []int)

Deprecated: Use OpenChatRequest.ProtoReflect.Descriptor instead.

func (*OpenChatRequest) GetAuth

func (x *OpenChatRequest) GetAuth() *v1.Auth

func (*OpenChatRequest) GetChatId

func (x *OpenChatRequest) GetChatId() *v1.ChatId

func (*OpenChatRequest) ProtoMessage

func (*OpenChatRequest) ProtoMessage()

func (*OpenChatRequest) ProtoReflect

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

func (*OpenChatRequest) Reset

func (x *OpenChatRequest) Reset()

func (*OpenChatRequest) String

func (x *OpenChatRequest) String() string

func (*OpenChatRequest) Validate

func (m *OpenChatRequest) Validate() error

Validate checks the field values on OpenChatRequest 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 (*OpenChatRequest) ValidateAll

func (m *OpenChatRequest) ValidateAll() error

ValidateAll checks the field values on OpenChatRequest 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 OpenChatRequestMultiError, or nil if none found.

type OpenChatRequestMultiError

type OpenChatRequestMultiError []error

OpenChatRequestMultiError is an error wrapping multiple validation errors returned by OpenChatRequest.ValidateAll() if the designated constraints aren't met.

func (OpenChatRequestMultiError) AllErrors

func (m OpenChatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OpenChatRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type OpenChatRequestValidationError

type OpenChatRequestValidationError struct {
	// contains filtered or unexported fields
}

OpenChatRequestValidationError is the validation error returned by OpenChatRequest.Validate if the designated constraints aren't met.

func (OpenChatRequestValidationError) Cause

Cause function returns cause value.

func (OpenChatRequestValidationError) Error

Error satisfies the builtin error interface

func (OpenChatRequestValidationError) ErrorName

func (e OpenChatRequestValidationError) ErrorName() string

ErrorName returns error name.

func (OpenChatRequestValidationError) Field

Field function returns field value.

func (OpenChatRequestValidationError) Key

Key function returns key value.

func (OpenChatRequestValidationError) Reason

Reason function returns reason value.

type OpenChatResponse

type OpenChatResponse struct {
	Result OpenChatResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.OpenChatResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenChatResponse) Descriptor deprecated

func (*OpenChatResponse) Descriptor() ([]byte, []int)

Deprecated: Use OpenChatResponse.ProtoReflect.Descriptor instead.

func (*OpenChatResponse) GetResult

func (*OpenChatResponse) ProtoMessage

func (*OpenChatResponse) ProtoMessage()

func (*OpenChatResponse) ProtoReflect

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

func (*OpenChatResponse) Reset

func (x *OpenChatResponse) Reset()

func (*OpenChatResponse) String

func (x *OpenChatResponse) String() string

func (*OpenChatResponse) Validate

func (m *OpenChatResponse) Validate() error

Validate checks the field values on OpenChatResponse 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 (*OpenChatResponse) ValidateAll

func (m *OpenChatResponse) ValidateAll() error

ValidateAll checks the field values on OpenChatResponse 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 OpenChatResponseMultiError, or nil if none found.

type OpenChatResponseMultiError

type OpenChatResponseMultiError []error

OpenChatResponseMultiError is an error wrapping multiple validation errors returned by OpenChatResponse.ValidateAll() if the designated constraints aren't met.

func (OpenChatResponseMultiError) AllErrors

func (m OpenChatResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OpenChatResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type OpenChatResponseValidationError

type OpenChatResponseValidationError struct {
	// contains filtered or unexported fields
}

OpenChatResponseValidationError is the validation error returned by OpenChatResponse.Validate if the designated constraints aren't met.

func (OpenChatResponseValidationError) Cause

Cause function returns cause value.

func (OpenChatResponseValidationError) Error

Error satisfies the builtin error interface

func (OpenChatResponseValidationError) ErrorName

ErrorName returns error name.

func (OpenChatResponseValidationError) Field

Field function returns field value.

func (OpenChatResponseValidationError) Key

Key function returns key value.

func (OpenChatResponseValidationError) Reason

Reason function returns reason value.

type OpenChatResponse_Result

type OpenChatResponse_Result int32
const (
	OpenChatResponse_OK     OpenChatResponse_Result = 0
	OpenChatResponse_DENIED OpenChatResponse_Result = 1
)

func (OpenChatResponse_Result) Descriptor

func (OpenChatResponse_Result) Enum

func (OpenChatResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use OpenChatResponse_Result.Descriptor instead.

func (OpenChatResponse_Result) Number

func (OpenChatResponse_Result) String

func (x OpenChatResponse_Result) String() string

func (OpenChatResponse_Result) Type

type OpenStatus

type OpenStatus struct {
	IsCurrentlyOpen bool `protobuf:"varint,1,opt,name=is_currently_open,json=isCurrentlyOpen,proto3" json:"is_currently_open,omitempty"`
	// contains filtered or unexported fields
}

todo: In the future, we may add additional fields like open/closed until a timestamp, etc.

For backwards compatibility, client can always refer to is_currently_open for whether
a room is open right now or not for the purposes of sending messages.

todo: A better name for this

func (*OpenStatus) Descriptor deprecated

func (*OpenStatus) Descriptor() ([]byte, []int)

Deprecated: Use OpenStatus.ProtoReflect.Descriptor instead.

func (*OpenStatus) GetIsCurrentlyOpen

func (x *OpenStatus) GetIsCurrentlyOpen() bool

func (*OpenStatus) ProtoMessage

func (*OpenStatus) ProtoMessage()

func (*OpenStatus) ProtoReflect

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

func (*OpenStatus) Reset

func (x *OpenStatus) Reset()

func (*OpenStatus) String

func (x *OpenStatus) String() string

func (*OpenStatus) Validate

func (m *OpenStatus) Validate() error

Validate checks the field values on OpenStatus 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 (*OpenStatus) ValidateAll

func (m *OpenStatus) ValidateAll() error

ValidateAll checks the field values on OpenStatus 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 OpenStatusMultiError, or nil if none found.

type OpenStatusMultiError

type OpenStatusMultiError []error

OpenStatusMultiError is an error wrapping multiple validation errors returned by OpenStatus.ValidateAll() if the designated constraints aren't met.

func (OpenStatusMultiError) AllErrors

func (m OpenStatusMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OpenStatusMultiError) Error

func (m OpenStatusMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type OpenStatusValidationError

type OpenStatusValidationError struct {
	// contains filtered or unexported fields
}

OpenStatusValidationError is the validation error returned by OpenStatus.Validate if the designated constraints aren't met.

func (OpenStatusValidationError) Cause

func (e OpenStatusValidationError) Cause() error

Cause function returns cause value.

func (OpenStatusValidationError) Error

Error satisfies the builtin error interface

func (OpenStatusValidationError) ErrorName

func (e OpenStatusValidationError) ErrorName() string

ErrorName returns error name.

func (OpenStatusValidationError) Field

Field function returns field value.

func (OpenStatusValidationError) Key

Key function returns key value.

func (OpenStatusValidationError) Reason

func (e OpenStatusValidationError) Reason() string

Reason function returns reason value.

type PromoteUserRequest

type PromoteUserRequest struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	UserId *v1.UserId `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Enables send permissions when value is true
	EnableSendPermission bool     `protobuf:"varint,3,opt,name=enable_send_permission,json=enableSendPermission,proto3" json:"enable_send_permission,omitempty"`
	Auth                 *v1.Auth `protobuf:"bytes,100,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*PromoteUserRequest) Descriptor deprecated

func (*PromoteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use PromoteUserRequest.ProtoReflect.Descriptor instead.

func (*PromoteUserRequest) GetAuth

func (x *PromoteUserRequest) GetAuth() *v1.Auth

func (*PromoteUserRequest) GetChatId

func (x *PromoteUserRequest) GetChatId() *v1.ChatId

func (*PromoteUserRequest) GetEnableSendPermission

func (x *PromoteUserRequest) GetEnableSendPermission() bool

func (*PromoteUserRequest) GetUserId

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

func (*PromoteUserRequest) ProtoMessage

func (*PromoteUserRequest) ProtoMessage()

func (*PromoteUserRequest) ProtoReflect

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

func (*PromoteUserRequest) Reset

func (x *PromoteUserRequest) Reset()

func (*PromoteUserRequest) String

func (x *PromoteUserRequest) String() string

func (*PromoteUserRequest) Validate

func (m *PromoteUserRequest) Validate() error

Validate checks the field values on PromoteUserRequest 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 (*PromoteUserRequest) ValidateAll

func (m *PromoteUserRequest) ValidateAll() error

ValidateAll checks the field values on PromoteUserRequest 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 PromoteUserRequestMultiError, or nil if none found.

type PromoteUserRequestMultiError

type PromoteUserRequestMultiError []error

PromoteUserRequestMultiError is an error wrapping multiple validation errors returned by PromoteUserRequest.ValidateAll() if the designated constraints aren't met.

func (PromoteUserRequestMultiError) AllErrors

func (m PromoteUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PromoteUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PromoteUserRequestValidationError

type PromoteUserRequestValidationError struct {
	// contains filtered or unexported fields
}

PromoteUserRequestValidationError is the validation error returned by PromoteUserRequest.Validate if the designated constraints aren't met.

func (PromoteUserRequestValidationError) Cause

Cause function returns cause value.

func (PromoteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (PromoteUserRequestValidationError) ErrorName

ErrorName returns error name.

func (PromoteUserRequestValidationError) Field

Field function returns field value.

func (PromoteUserRequestValidationError) Key

Key function returns key value.

func (PromoteUserRequestValidationError) Reason

Reason function returns reason value.

type PromoteUserResponse

type PromoteUserResponse struct {
	Result PromoteUserResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.PromoteUserResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*PromoteUserResponse) Descriptor deprecated

func (*PromoteUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use PromoteUserResponse.ProtoReflect.Descriptor instead.

func (*PromoteUserResponse) GetResult

func (*PromoteUserResponse) ProtoMessage

func (*PromoteUserResponse) ProtoMessage()

func (*PromoteUserResponse) ProtoReflect

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

func (*PromoteUserResponse) Reset

func (x *PromoteUserResponse) Reset()

func (*PromoteUserResponse) String

func (x *PromoteUserResponse) String() string

func (*PromoteUserResponse) Validate

func (m *PromoteUserResponse) Validate() error

Validate checks the field values on PromoteUserResponse 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 (*PromoteUserResponse) ValidateAll

func (m *PromoteUserResponse) ValidateAll() error

ValidateAll checks the field values on PromoteUserResponse 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 PromoteUserResponseMultiError, or nil if none found.

type PromoteUserResponseMultiError

type PromoteUserResponseMultiError []error

PromoteUserResponseMultiError is an error wrapping multiple validation errors returned by PromoteUserResponse.ValidateAll() if the designated constraints aren't met.

func (PromoteUserResponseMultiError) AllErrors

func (m PromoteUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PromoteUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PromoteUserResponseValidationError

type PromoteUserResponseValidationError struct {
	// contains filtered or unexported fields
}

PromoteUserResponseValidationError is the validation error returned by PromoteUserResponse.Validate if the designated constraints aren't met.

func (PromoteUserResponseValidationError) Cause

Cause function returns cause value.

func (PromoteUserResponseValidationError) Error

Error satisfies the builtin error interface

func (PromoteUserResponseValidationError) ErrorName

ErrorName returns error name.

func (PromoteUserResponseValidationError) Field

Field function returns field value.

func (PromoteUserResponseValidationError) Key

Key function returns key value.

func (PromoteUserResponseValidationError) Reason

Reason function returns reason value.

type PromoteUserResponse_Result

type PromoteUserResponse_Result int32
const (
	PromoteUserResponse_OK             PromoteUserResponse_Result = 0
	PromoteUserResponse_DENIED         PromoteUserResponse_Result = 1
	PromoteUserResponse_NOT_REGISTERED PromoteUserResponse_Result = 2
)

func (PromoteUserResponse_Result) Descriptor

func (PromoteUserResponse_Result) Enum

func (PromoteUserResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use PromoteUserResponse_Result.Descriptor instead.

func (PromoteUserResponse_Result) Number

func (PromoteUserResponse_Result) String

func (PromoteUserResponse_Result) Type

type RemoveUserRequest

type RemoveUserRequest struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	UserId *v1.UserId `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Auth   *v1.Auth   `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveUserRequest) Descriptor deprecated

func (*RemoveUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserRequest.ProtoReflect.Descriptor instead.

func (*RemoveUserRequest) GetAuth

func (x *RemoveUserRequest) GetAuth() *v1.Auth

func (*RemoveUserRequest) GetChatId

func (x *RemoveUserRequest) GetChatId() *v1.ChatId

func (*RemoveUserRequest) GetUserId

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

func (*RemoveUserRequest) ProtoMessage

func (*RemoveUserRequest) ProtoMessage()

func (*RemoveUserRequest) ProtoReflect

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

func (*RemoveUserRequest) Reset

func (x *RemoveUserRequest) Reset()

func (*RemoveUserRequest) String

func (x *RemoveUserRequest) String() string

func (*RemoveUserRequest) Validate

func (m *RemoveUserRequest) Validate() error

Validate checks the field values on RemoveUserRequest 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 (*RemoveUserRequest) ValidateAll

func (m *RemoveUserRequest) ValidateAll() error

ValidateAll checks the field values on RemoveUserRequest 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 RemoveUserRequestMultiError, or nil if none found.

type RemoveUserRequestMultiError

type RemoveUserRequestMultiError []error

RemoveUserRequestMultiError is an error wrapping multiple validation errors returned by RemoveUserRequest.ValidateAll() if the designated constraints aren't met.

func (RemoveUserRequestMultiError) AllErrors

func (m RemoveUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoveUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RemoveUserRequestValidationError

type RemoveUserRequestValidationError struct {
	// contains filtered or unexported fields
}

RemoveUserRequestValidationError is the validation error returned by RemoveUserRequest.Validate if the designated constraints aren't met.

func (RemoveUserRequestValidationError) Cause

Cause function returns cause value.

func (RemoveUserRequestValidationError) Error

Error satisfies the builtin error interface

func (RemoveUserRequestValidationError) ErrorName

ErrorName returns error name.

func (RemoveUserRequestValidationError) Field

Field function returns field value.

func (RemoveUserRequestValidationError) Key

Key function returns key value.

func (RemoveUserRequestValidationError) Reason

Reason function returns reason value.

type RemoveUserResponse

type RemoveUserResponse struct {
	Result RemoveUserResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.RemoveUserResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveUserResponse) Descriptor deprecated

func (*RemoveUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserResponse.ProtoReflect.Descriptor instead.

func (*RemoveUserResponse) GetResult

func (*RemoveUserResponse) ProtoMessage

func (*RemoveUserResponse) ProtoMessage()

func (*RemoveUserResponse) ProtoReflect

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

func (*RemoveUserResponse) Reset

func (x *RemoveUserResponse) Reset()

func (*RemoveUserResponse) String

func (x *RemoveUserResponse) String() string

func (*RemoveUserResponse) Validate

func (m *RemoveUserResponse) Validate() error

Validate checks the field values on RemoveUserResponse 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 (*RemoveUserResponse) ValidateAll

func (m *RemoveUserResponse) ValidateAll() error

ValidateAll checks the field values on RemoveUserResponse 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 RemoveUserResponseMultiError, or nil if none found.

type RemoveUserResponseMultiError

type RemoveUserResponseMultiError []error

RemoveUserResponseMultiError is an error wrapping multiple validation errors returned by RemoveUserResponse.ValidateAll() if the designated constraints aren't met.

func (RemoveUserResponseMultiError) AllErrors

func (m RemoveUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoveUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RemoveUserResponseValidationError

type RemoveUserResponseValidationError struct {
	// contains filtered or unexported fields
}

RemoveUserResponseValidationError is the validation error returned by RemoveUserResponse.Validate if the designated constraints aren't met.

func (RemoveUserResponseValidationError) Cause

Cause function returns cause value.

func (RemoveUserResponseValidationError) Error

Error satisfies the builtin error interface

func (RemoveUserResponseValidationError) ErrorName

ErrorName returns error name.

func (RemoveUserResponseValidationError) Field

Field function returns field value.

func (RemoveUserResponseValidationError) Key

Key function returns key value.

func (RemoveUserResponseValidationError) Reason

Reason function returns reason value.

type RemoveUserResponse_Result

type RemoveUserResponse_Result int32
const (
	RemoveUserResponse_OK     RemoveUserResponse_Result = 0
	RemoveUserResponse_DENIED RemoveUserResponse_Result = 1
)

func (RemoveUserResponse_Result) Descriptor

func (RemoveUserResponse_Result) Enum

func (RemoveUserResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use RemoveUserResponse_Result.Descriptor instead.

func (RemoveUserResponse_Result) Number

func (RemoveUserResponse_Result) String

func (x RemoveUserResponse_Result) String() string

func (RemoveUserResponse_Result) Type

type ReportUserRequest

type ReportUserRequest struct {
	UserId    *v1.UserId     `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	MessageId *v11.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 (*ReportUserRequest) Descriptor deprecated

func (*ReportUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportUserRequest.ProtoReflect.Descriptor instead.

func (*ReportUserRequest) GetAuth

func (x *ReportUserRequest) GetAuth() *v1.Auth

func (*ReportUserRequest) GetMessageId

func (x *ReportUserRequest) GetMessageId() *v11.MessageId

func (*ReportUserRequest) GetUserId

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

func (*ReportUserRequest) ProtoMessage

func (*ReportUserRequest) ProtoMessage()

func (*ReportUserRequest) ProtoReflect

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

func (*ReportUserRequest) Reset

func (x *ReportUserRequest) Reset()

func (*ReportUserRequest) String

func (x *ReportUserRequest) String() string

func (*ReportUserRequest) Validate

func (m *ReportUserRequest) Validate() error

Validate checks the field values on ReportUserRequest 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 (*ReportUserRequest) ValidateAll

func (m *ReportUserRequest) ValidateAll() error

ValidateAll checks the field values on ReportUserRequest 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 ReportUserRequestMultiError, or nil if none found.

type ReportUserRequestMultiError

type ReportUserRequestMultiError []error

ReportUserRequestMultiError is an error wrapping multiple validation errors returned by ReportUserRequest.ValidateAll() if the designated constraints aren't met.

func (ReportUserRequestMultiError) AllErrors

func (m ReportUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReportUserRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ReportUserRequestValidationError

type ReportUserRequestValidationError struct {
	// contains filtered or unexported fields
}

ReportUserRequestValidationError is the validation error returned by ReportUserRequest.Validate if the designated constraints aren't met.

func (ReportUserRequestValidationError) Cause

Cause function returns cause value.

func (ReportUserRequestValidationError) Error

Error satisfies the builtin error interface

func (ReportUserRequestValidationError) ErrorName

ErrorName returns error name.

func (ReportUserRequestValidationError) Field

Field function returns field value.

func (ReportUserRequestValidationError) Key

Key function returns key value.

func (ReportUserRequestValidationError) Reason

Reason function returns reason value.

type ReportUserResponse

type ReportUserResponse struct {
	Result ReportUserResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.ReportUserResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportUserResponse) Descriptor deprecated

func (*ReportUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReportUserResponse.ProtoReflect.Descriptor instead.

func (*ReportUserResponse) GetResult

func (*ReportUserResponse) ProtoMessage

func (*ReportUserResponse) ProtoMessage()

func (*ReportUserResponse) ProtoReflect

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

func (*ReportUserResponse) Reset

func (x *ReportUserResponse) Reset()

func (*ReportUserResponse) String

func (x *ReportUserResponse) String() string

func (*ReportUserResponse) Validate

func (m *ReportUserResponse) Validate() error

Validate checks the field values on ReportUserResponse 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 (*ReportUserResponse) ValidateAll

func (m *ReportUserResponse) ValidateAll() error

ValidateAll checks the field values on ReportUserResponse 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 ReportUserResponseMultiError, or nil if none found.

type ReportUserResponseMultiError

type ReportUserResponseMultiError []error

ReportUserResponseMultiError is an error wrapping multiple validation errors returned by ReportUserResponse.ValidateAll() if the designated constraints aren't met.

func (ReportUserResponseMultiError) AllErrors

func (m ReportUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReportUserResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ReportUserResponseValidationError

type ReportUserResponseValidationError struct {
	// contains filtered or unexported fields
}

ReportUserResponseValidationError is the validation error returned by ReportUserResponse.Validate if the designated constraints aren't met.

func (ReportUserResponseValidationError) Cause

Cause function returns cause value.

func (ReportUserResponseValidationError) Error

Error satisfies the builtin error interface

func (ReportUserResponseValidationError) ErrorName

ErrorName returns error name.

func (ReportUserResponseValidationError) Field

Field function returns field value.

func (ReportUserResponseValidationError) Key

Key function returns key value.

func (ReportUserResponseValidationError) Reason

Reason function returns reason value.

type ReportUserResponse_Result

type ReportUserResponse_Result int32
const (
	ReportUserResponse_OK ReportUserResponse_Result = 0
)

func (ReportUserResponse_Result) Descriptor

func (ReportUserResponse_Result) Enum

func (ReportUserResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use ReportUserResponse_Result.Descriptor instead.

func (ReportUserResponse_Result) Number

func (ReportUserResponse_Result) String

func (x ReportUserResponse_Result) String() string

func (ReportUserResponse_Result) Type

type SetCoverChargeRequest

type SetCoverChargeRequest struct {
	ChatId      *v1.ChatId        `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	CoverCharge *v1.PaymentAmount `protobuf:"bytes,2,opt,name=cover_charge,json=coverCharge,proto3" json:"cover_charge,omitempty"`
	Auth        *v1.Auth          `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*SetCoverChargeRequest) Descriptor deprecated

func (*SetCoverChargeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetCoverChargeRequest.ProtoReflect.Descriptor instead.

func (*SetCoverChargeRequest) GetAuth

func (x *SetCoverChargeRequest) GetAuth() *v1.Auth

func (*SetCoverChargeRequest) GetChatId

func (x *SetCoverChargeRequest) GetChatId() *v1.ChatId

func (*SetCoverChargeRequest) GetCoverCharge

func (x *SetCoverChargeRequest) GetCoverCharge() *v1.PaymentAmount

func (*SetCoverChargeRequest) ProtoMessage

func (*SetCoverChargeRequest) ProtoMessage()

func (*SetCoverChargeRequest) ProtoReflect

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

func (*SetCoverChargeRequest) Reset

func (x *SetCoverChargeRequest) Reset()

func (*SetCoverChargeRequest) String

func (x *SetCoverChargeRequest) String() string

func (*SetCoverChargeRequest) Validate

func (m *SetCoverChargeRequest) Validate() error

Validate checks the field values on SetCoverChargeRequest 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 (*SetCoverChargeRequest) ValidateAll

func (m *SetCoverChargeRequest) ValidateAll() error

ValidateAll checks the field values on SetCoverChargeRequest 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 SetCoverChargeRequestMultiError, or nil if none found.

type SetCoverChargeRequestMultiError

type SetCoverChargeRequestMultiError []error

SetCoverChargeRequestMultiError is an error wrapping multiple validation errors returned by SetCoverChargeRequest.ValidateAll() if the designated constraints aren't met.

func (SetCoverChargeRequestMultiError) AllErrors

func (m SetCoverChargeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetCoverChargeRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetCoverChargeRequestValidationError

type SetCoverChargeRequestValidationError struct {
	// contains filtered or unexported fields
}

SetCoverChargeRequestValidationError is the validation error returned by SetCoverChargeRequest.Validate if the designated constraints aren't met.

func (SetCoverChargeRequestValidationError) Cause

Cause function returns cause value.

func (SetCoverChargeRequestValidationError) Error

Error satisfies the builtin error interface

func (SetCoverChargeRequestValidationError) ErrorName

ErrorName returns error name.

func (SetCoverChargeRequestValidationError) Field

Field function returns field value.

func (SetCoverChargeRequestValidationError) Key

Key function returns key value.

func (SetCoverChargeRequestValidationError) Reason

Reason function returns reason value.

type SetCoverChargeResponse

type SetCoverChargeResponse struct {
	Result SetCoverChargeResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.SetCoverChargeResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetCoverChargeResponse) Descriptor deprecated

func (*SetCoverChargeResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetCoverChargeResponse.ProtoReflect.Descriptor instead.

func (*SetCoverChargeResponse) GetResult

func (*SetCoverChargeResponse) ProtoMessage

func (*SetCoverChargeResponse) ProtoMessage()

func (*SetCoverChargeResponse) ProtoReflect

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

func (*SetCoverChargeResponse) Reset

func (x *SetCoverChargeResponse) Reset()

func (*SetCoverChargeResponse) String

func (x *SetCoverChargeResponse) String() string

func (*SetCoverChargeResponse) Validate

func (m *SetCoverChargeResponse) Validate() error

Validate checks the field values on SetCoverChargeResponse 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 (*SetCoverChargeResponse) ValidateAll

func (m *SetCoverChargeResponse) ValidateAll() error

ValidateAll checks the field values on SetCoverChargeResponse 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 SetCoverChargeResponseMultiError, or nil if none found.

type SetCoverChargeResponseMultiError

type SetCoverChargeResponseMultiError []error

SetCoverChargeResponseMultiError is an error wrapping multiple validation errors returned by SetCoverChargeResponse.ValidateAll() if the designated constraints aren't met.

func (SetCoverChargeResponseMultiError) AllErrors

func (m SetCoverChargeResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetCoverChargeResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetCoverChargeResponseValidationError

type SetCoverChargeResponseValidationError struct {
	// contains filtered or unexported fields
}

SetCoverChargeResponseValidationError is the validation error returned by SetCoverChargeResponse.Validate if the designated constraints aren't met.

func (SetCoverChargeResponseValidationError) Cause

Cause function returns cause value.

func (SetCoverChargeResponseValidationError) Error

Error satisfies the builtin error interface

func (SetCoverChargeResponseValidationError) ErrorName

ErrorName returns error name.

func (SetCoverChargeResponseValidationError) Field

Field function returns field value.

func (SetCoverChargeResponseValidationError) Key

Key function returns key value.

func (SetCoverChargeResponseValidationError) Reason

Reason function returns reason value.

type SetCoverChargeResponse_Result

type SetCoverChargeResponse_Result int32
const (
	SetCoverChargeResponse_OK       SetCoverChargeResponse_Result = 0
	SetCoverChargeResponse_DENIED   SetCoverChargeResponse_Result = 1
	SetCoverChargeResponse_CANT_SET SetCoverChargeResponse_Result = 2
)

func (SetCoverChargeResponse_Result) Descriptor

func (SetCoverChargeResponse_Result) Enum

func (SetCoverChargeResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use SetCoverChargeResponse_Result.Descriptor instead.

func (SetCoverChargeResponse_Result) Number

func (SetCoverChargeResponse_Result) String

func (SetCoverChargeResponse_Result) Type

type SetDescriptionRequest added in v1.4.2

type SetDescriptionRequest struct {
	ChatId      *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	Description string     `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Auth        *v1.Auth   `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDescriptionRequest) Descriptor deprecated added in v1.4.2

func (*SetDescriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetDescriptionRequest.ProtoReflect.Descriptor instead.

func (*SetDescriptionRequest) GetAuth added in v1.4.2

func (x *SetDescriptionRequest) GetAuth() *v1.Auth

func (*SetDescriptionRequest) GetChatId added in v1.4.2

func (x *SetDescriptionRequest) GetChatId() *v1.ChatId

func (*SetDescriptionRequest) GetDescription added in v1.4.2

func (x *SetDescriptionRequest) GetDescription() string

func (*SetDescriptionRequest) ProtoMessage added in v1.4.2

func (*SetDescriptionRequest) ProtoMessage()

func (*SetDescriptionRequest) ProtoReflect added in v1.4.2

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

func (*SetDescriptionRequest) Reset added in v1.4.2

func (x *SetDescriptionRequest) Reset()

func (*SetDescriptionRequest) String added in v1.4.2

func (x *SetDescriptionRequest) String() string

func (*SetDescriptionRequest) Validate added in v1.4.2

func (m *SetDescriptionRequest) Validate() error

Validate checks the field values on SetDescriptionRequest 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 (*SetDescriptionRequest) ValidateAll added in v1.4.2

func (m *SetDescriptionRequest) ValidateAll() error

ValidateAll checks the field values on SetDescriptionRequest 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 SetDescriptionRequestMultiError, or nil if none found.

type SetDescriptionRequestMultiError added in v1.4.2

type SetDescriptionRequestMultiError []error

SetDescriptionRequestMultiError is an error wrapping multiple validation errors returned by SetDescriptionRequest.ValidateAll() if the designated constraints aren't met.

func (SetDescriptionRequestMultiError) AllErrors added in v1.4.2

func (m SetDescriptionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetDescriptionRequestMultiError) Error added in v1.4.2

Error returns a concatenation of all the error messages it wraps.

type SetDescriptionRequestValidationError added in v1.4.2

type SetDescriptionRequestValidationError struct {
	// contains filtered or unexported fields
}

SetDescriptionRequestValidationError is the validation error returned by SetDescriptionRequest.Validate if the designated constraints aren't met.

func (SetDescriptionRequestValidationError) Cause added in v1.4.2

Cause function returns cause value.

func (SetDescriptionRequestValidationError) Error added in v1.4.2

Error satisfies the builtin error interface

func (SetDescriptionRequestValidationError) ErrorName added in v1.4.2

ErrorName returns error name.

func (SetDescriptionRequestValidationError) Field added in v1.4.2

Field function returns field value.

func (SetDescriptionRequestValidationError) Key added in v1.4.2

Key function returns key value.

func (SetDescriptionRequestValidationError) Reason added in v1.4.2

Reason function returns reason value.

type SetDescriptionResponse added in v1.4.2

type SetDescriptionResponse struct {
	Result SetDescriptionResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.SetDescriptionResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDescriptionResponse) Descriptor deprecated added in v1.4.2

func (*SetDescriptionResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetDescriptionResponse.ProtoReflect.Descriptor instead.

func (*SetDescriptionResponse) GetResult added in v1.4.2

func (*SetDescriptionResponse) ProtoMessage added in v1.4.2

func (*SetDescriptionResponse) ProtoMessage()

func (*SetDescriptionResponse) ProtoReflect added in v1.4.2

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

func (*SetDescriptionResponse) Reset added in v1.4.2

func (x *SetDescriptionResponse) Reset()

func (*SetDescriptionResponse) String added in v1.4.2

func (x *SetDescriptionResponse) String() string

func (*SetDescriptionResponse) Validate added in v1.4.2

func (m *SetDescriptionResponse) Validate() error

Validate checks the field values on SetDescriptionResponse 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 (*SetDescriptionResponse) ValidateAll added in v1.4.2

func (m *SetDescriptionResponse) ValidateAll() error

ValidateAll checks the field values on SetDescriptionResponse 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 SetDescriptionResponseMultiError, or nil if none found.

type SetDescriptionResponseMultiError added in v1.4.2

type SetDescriptionResponseMultiError []error

SetDescriptionResponseMultiError is an error wrapping multiple validation errors returned by SetDescriptionResponse.ValidateAll() if the designated constraints aren't met.

func (SetDescriptionResponseMultiError) AllErrors added in v1.4.2

func (m SetDescriptionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetDescriptionResponseMultiError) Error added in v1.4.2

Error returns a concatenation of all the error messages it wraps.

type SetDescriptionResponseValidationError added in v1.4.2

type SetDescriptionResponseValidationError struct {
	// contains filtered or unexported fields
}

SetDescriptionResponseValidationError is the validation error returned by SetDescriptionResponse.Validate if the designated constraints aren't met.

func (SetDescriptionResponseValidationError) Cause added in v1.4.2

Cause function returns cause value.

func (SetDescriptionResponseValidationError) Error added in v1.4.2

Error satisfies the builtin error interface

func (SetDescriptionResponseValidationError) ErrorName added in v1.4.2

ErrorName returns error name.

func (SetDescriptionResponseValidationError) Field added in v1.4.2

Field function returns field value.

func (SetDescriptionResponseValidationError) Key added in v1.4.2

Key function returns key value.

func (SetDescriptionResponseValidationError) Reason added in v1.4.2

Reason function returns reason value.

type SetDescriptionResponse_Result added in v1.4.2

type SetDescriptionResponse_Result int32
const (
	SetDescriptionResponse_OK       SetDescriptionResponse_Result = 0
	SetDescriptionResponse_DENIED   SetDescriptionResponse_Result = 1
	SetDescriptionResponse_CANT_SET SetDescriptionResponse_Result = 2
)

func (SetDescriptionResponse_Result) Descriptor added in v1.4.2

func (SetDescriptionResponse_Result) Enum added in v1.4.2

func (SetDescriptionResponse_Result) EnumDescriptor deprecated added in v1.4.2

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

Deprecated: Use SetDescriptionResponse_Result.Descriptor instead.

func (SetDescriptionResponse_Result) Number added in v1.4.2

func (SetDescriptionResponse_Result) String added in v1.4.2

func (SetDescriptionResponse_Result) Type added in v1.4.2

type SetDisplayNameRequest

type SetDisplayNameRequest struct {
	ChatId      *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	DisplayName string     `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Auth        *v1.Auth   `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDisplayNameRequest) Descriptor deprecated

func (*SetDisplayNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetDisplayNameRequest.ProtoReflect.Descriptor instead.

func (*SetDisplayNameRequest) GetAuth

func (x *SetDisplayNameRequest) GetAuth() *v1.Auth

func (*SetDisplayNameRequest) GetChatId

func (x *SetDisplayNameRequest) GetChatId() *v1.ChatId

func (*SetDisplayNameRequest) GetDisplayName

func (x *SetDisplayNameRequest) GetDisplayName() string

func (*SetDisplayNameRequest) ProtoMessage

func (*SetDisplayNameRequest) ProtoMessage()

func (*SetDisplayNameRequest) ProtoReflect

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

func (*SetDisplayNameRequest) Reset

func (x *SetDisplayNameRequest) Reset()

func (*SetDisplayNameRequest) String

func (x *SetDisplayNameRequest) String() string

func (*SetDisplayNameRequest) Validate

func (m *SetDisplayNameRequest) Validate() error

Validate checks the field values on SetDisplayNameRequest 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 (*SetDisplayNameRequest) ValidateAll

func (m *SetDisplayNameRequest) ValidateAll() error

ValidateAll checks the field values on SetDisplayNameRequest 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 SetDisplayNameRequestMultiError, or nil if none found.

type SetDisplayNameRequestMultiError

type SetDisplayNameRequestMultiError []error

SetDisplayNameRequestMultiError is an error wrapping multiple validation errors returned by SetDisplayNameRequest.ValidateAll() if the designated constraints aren't met.

func (SetDisplayNameRequestMultiError) AllErrors

func (m SetDisplayNameRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetDisplayNameRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetDisplayNameRequestValidationError

type SetDisplayNameRequestValidationError struct {
	// contains filtered or unexported fields
}

SetDisplayNameRequestValidationError is the validation error returned by SetDisplayNameRequest.Validate if the designated constraints aren't met.

func (SetDisplayNameRequestValidationError) Cause

Cause function returns cause value.

func (SetDisplayNameRequestValidationError) Error

Error satisfies the builtin error interface

func (SetDisplayNameRequestValidationError) ErrorName

ErrorName returns error name.

func (SetDisplayNameRequestValidationError) Field

Field function returns field value.

func (SetDisplayNameRequestValidationError) Key

Key function returns key value.

func (SetDisplayNameRequestValidationError) Reason

Reason function returns reason value.

type SetDisplayNameResponse

type SetDisplayNameResponse struct {
	Result               SetDisplayNameResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.SetDisplayNameResponse_Result" json:"result,omitempty"`
	AlternateSuggestions []string                      `protobuf:"bytes,2,rep,name=alternate_suggestions,json=alternateSuggestions,proto3" json:"alternate_suggestions,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDisplayNameResponse) Descriptor deprecated

func (*SetDisplayNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetDisplayNameResponse.ProtoReflect.Descriptor instead.

func (*SetDisplayNameResponse) GetAlternateSuggestions

func (x *SetDisplayNameResponse) GetAlternateSuggestions() []string

func (*SetDisplayNameResponse) GetResult

func (*SetDisplayNameResponse) ProtoMessage

func (*SetDisplayNameResponse) ProtoMessage()

func (*SetDisplayNameResponse) ProtoReflect

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

func (*SetDisplayNameResponse) Reset

func (x *SetDisplayNameResponse) Reset()

func (*SetDisplayNameResponse) String

func (x *SetDisplayNameResponse) String() string

func (*SetDisplayNameResponse) Validate

func (m *SetDisplayNameResponse) Validate() error

Validate checks the field values on SetDisplayNameResponse 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 (*SetDisplayNameResponse) ValidateAll

func (m *SetDisplayNameResponse) ValidateAll() error

ValidateAll checks the field values on SetDisplayNameResponse 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 SetDisplayNameResponseMultiError, or nil if none found.

type SetDisplayNameResponseMultiError

type SetDisplayNameResponseMultiError []error

SetDisplayNameResponseMultiError is an error wrapping multiple validation errors returned by SetDisplayNameResponse.ValidateAll() if the designated constraints aren't met.

func (SetDisplayNameResponseMultiError) AllErrors

func (m SetDisplayNameResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetDisplayNameResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetDisplayNameResponseValidationError

type SetDisplayNameResponseValidationError struct {
	// contains filtered or unexported fields
}

SetDisplayNameResponseValidationError is the validation error returned by SetDisplayNameResponse.Validate if the designated constraints aren't met.

func (SetDisplayNameResponseValidationError) Cause

Cause function returns cause value.

func (SetDisplayNameResponseValidationError) Error

Error satisfies the builtin error interface

func (SetDisplayNameResponseValidationError) ErrorName

ErrorName returns error name.

func (SetDisplayNameResponseValidationError) Field

Field function returns field value.

func (SetDisplayNameResponseValidationError) Key

Key function returns key value.

func (SetDisplayNameResponseValidationError) Reason

Reason function returns reason value.

type SetDisplayNameResponse_Result

type SetDisplayNameResponse_Result int32
const (
	SetDisplayNameResponse_OK       SetDisplayNameResponse_Result = 0
	SetDisplayNameResponse_DENIED   SetDisplayNameResponse_Result = 1
	SetDisplayNameResponse_CANT_SET SetDisplayNameResponse_Result = 2
)

func (SetDisplayNameResponse_Result) Descriptor

func (SetDisplayNameResponse_Result) Enum

func (SetDisplayNameResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use SetDisplayNameResponse_Result.Descriptor instead.

func (SetDisplayNameResponse_Result) Number

func (SetDisplayNameResponse_Result) String

func (SetDisplayNameResponse_Result) Type

type SetMessagingFeeRequest

type SetMessagingFeeRequest struct {
	ChatId       *v1.ChatId        `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	MessagingFee *v1.PaymentAmount `protobuf:"bytes,2,opt,name=messaging_fee,json=messagingFee,proto3" json:"messaging_fee,omitempty"`
	Auth         *v1.Auth          `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMessagingFeeRequest) Descriptor deprecated

func (*SetMessagingFeeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetMessagingFeeRequest.ProtoReflect.Descriptor instead.

func (*SetMessagingFeeRequest) GetAuth

func (x *SetMessagingFeeRequest) GetAuth() *v1.Auth

func (*SetMessagingFeeRequest) GetChatId

func (x *SetMessagingFeeRequest) GetChatId() *v1.ChatId

func (*SetMessagingFeeRequest) GetMessagingFee

func (x *SetMessagingFeeRequest) GetMessagingFee() *v1.PaymentAmount

func (*SetMessagingFeeRequest) ProtoMessage

func (*SetMessagingFeeRequest) ProtoMessage()

func (*SetMessagingFeeRequest) ProtoReflect

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

func (*SetMessagingFeeRequest) Reset

func (x *SetMessagingFeeRequest) Reset()

func (*SetMessagingFeeRequest) String

func (x *SetMessagingFeeRequest) String() string

func (*SetMessagingFeeRequest) Validate

func (m *SetMessagingFeeRequest) Validate() error

Validate checks the field values on SetMessagingFeeRequest 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 (*SetMessagingFeeRequest) ValidateAll

func (m *SetMessagingFeeRequest) ValidateAll() error

ValidateAll checks the field values on SetMessagingFeeRequest 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 SetMessagingFeeRequestMultiError, or nil if none found.

type SetMessagingFeeRequestMultiError

type SetMessagingFeeRequestMultiError []error

SetMessagingFeeRequestMultiError is an error wrapping multiple validation errors returned by SetMessagingFeeRequest.ValidateAll() if the designated constraints aren't met.

func (SetMessagingFeeRequestMultiError) AllErrors

func (m SetMessagingFeeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetMessagingFeeRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetMessagingFeeRequestValidationError

type SetMessagingFeeRequestValidationError struct {
	// contains filtered or unexported fields
}

SetMessagingFeeRequestValidationError is the validation error returned by SetMessagingFeeRequest.Validate if the designated constraints aren't met.

func (SetMessagingFeeRequestValidationError) Cause

Cause function returns cause value.

func (SetMessagingFeeRequestValidationError) Error

Error satisfies the builtin error interface

func (SetMessagingFeeRequestValidationError) ErrorName

ErrorName returns error name.

func (SetMessagingFeeRequestValidationError) Field

Field function returns field value.

func (SetMessagingFeeRequestValidationError) Key

Key function returns key value.

func (SetMessagingFeeRequestValidationError) Reason

Reason function returns reason value.

type SetMessagingFeeResponse

type SetMessagingFeeResponse struct {
	Result SetMessagingFeeResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.SetMessagingFeeResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMessagingFeeResponse) Descriptor deprecated

func (*SetMessagingFeeResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetMessagingFeeResponse.ProtoReflect.Descriptor instead.

func (*SetMessagingFeeResponse) GetResult

func (*SetMessagingFeeResponse) ProtoMessage

func (*SetMessagingFeeResponse) ProtoMessage()

func (*SetMessagingFeeResponse) ProtoReflect

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

func (*SetMessagingFeeResponse) Reset

func (x *SetMessagingFeeResponse) Reset()

func (*SetMessagingFeeResponse) String

func (x *SetMessagingFeeResponse) String() string

func (*SetMessagingFeeResponse) Validate

func (m *SetMessagingFeeResponse) Validate() error

Validate checks the field values on SetMessagingFeeResponse 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 (*SetMessagingFeeResponse) ValidateAll

func (m *SetMessagingFeeResponse) ValidateAll() error

ValidateAll checks the field values on SetMessagingFeeResponse 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 SetMessagingFeeResponseMultiError, or nil if none found.

type SetMessagingFeeResponseMultiError

type SetMessagingFeeResponseMultiError []error

SetMessagingFeeResponseMultiError is an error wrapping multiple validation errors returned by SetMessagingFeeResponse.ValidateAll() if the designated constraints aren't met.

func (SetMessagingFeeResponseMultiError) AllErrors

func (m SetMessagingFeeResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetMessagingFeeResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetMessagingFeeResponseValidationError

type SetMessagingFeeResponseValidationError struct {
	// contains filtered or unexported fields
}

SetMessagingFeeResponseValidationError is the validation error returned by SetMessagingFeeResponse.Validate if the designated constraints aren't met.

func (SetMessagingFeeResponseValidationError) Cause

Cause function returns cause value.

func (SetMessagingFeeResponseValidationError) Error

Error satisfies the builtin error interface

func (SetMessagingFeeResponseValidationError) ErrorName

ErrorName returns error name.

func (SetMessagingFeeResponseValidationError) Field

Field function returns field value.

func (SetMessagingFeeResponseValidationError) Key

Key function returns key value.

func (SetMessagingFeeResponseValidationError) Reason

Reason function returns reason value.

type SetMessagingFeeResponse_Result

type SetMessagingFeeResponse_Result int32
const (
	SetMessagingFeeResponse_OK       SetMessagingFeeResponse_Result = 0
	SetMessagingFeeResponse_DENIED   SetMessagingFeeResponse_Result = 1
	SetMessagingFeeResponse_CANT_SET SetMessagingFeeResponse_Result = 2
)

func (SetMessagingFeeResponse_Result) Descriptor

func (SetMessagingFeeResponse_Result) Enum

func (SetMessagingFeeResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use SetMessagingFeeResponse_Result.Descriptor instead.

func (SetMessagingFeeResponse_Result) Number

func (SetMessagingFeeResponse_Result) String

func (SetMessagingFeeResponse_Result) Type

type StartChatRequest

type StartChatRequest struct {

	// Types that are assignable to Parameters:
	//
	//	*StartChatRequest_TwoWayChat
	//	*StartChatRequest_GroupChat
	Parameters isStartChatRequest_Parameters `protobuf_oneof:"parameters"`
	Auth       *v1.Auth                      `protobuf:"bytes,10,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*StartChatRequest) Descriptor deprecated

func (*StartChatRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartChatRequest.ProtoReflect.Descriptor instead.

func (*StartChatRequest) GetAuth

func (x *StartChatRequest) GetAuth() *v1.Auth

func (*StartChatRequest) GetGroupChat

func (*StartChatRequest) GetParameters

func (m *StartChatRequest) GetParameters() isStartChatRequest_Parameters

func (*StartChatRequest) GetTwoWayChat

func (*StartChatRequest) ProtoMessage

func (*StartChatRequest) ProtoMessage()

func (*StartChatRequest) ProtoReflect

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

func (*StartChatRequest) Reset

func (x *StartChatRequest) Reset()

func (*StartChatRequest) String

func (x *StartChatRequest) String() string

func (*StartChatRequest) Validate

func (m *StartChatRequest) Validate() error

Validate checks the field values on StartChatRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StartChatRequest) ValidateAll

func (m *StartChatRequest) ValidateAll() error

ValidateAll checks the field values on StartChatRequest 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 StartChatRequestMultiError, or nil if none found.

type StartChatRequestMultiError

type StartChatRequestMultiError []error

StartChatRequestMultiError is an error wrapping multiple validation errors returned by StartChatRequest.ValidateAll() if the designated constraints aren't met.

func (StartChatRequestMultiError) AllErrors

func (m StartChatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StartChatRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StartChatRequestValidationError

type StartChatRequestValidationError struct {
	// contains filtered or unexported fields
}

StartChatRequestValidationError is the validation error returned by StartChatRequest.Validate if the designated constraints aren't met.

func (StartChatRequestValidationError) Cause

Cause function returns cause value.

func (StartChatRequestValidationError) Error

Error satisfies the builtin error interface

func (StartChatRequestValidationError) ErrorName

ErrorName returns error name.

func (StartChatRequestValidationError) Field

Field function returns field value.

func (StartChatRequestValidationError) Key

Key function returns key value.

func (StartChatRequestValidationError) Reason

Reason function returns reason value.

type StartChatRequest_GroupChat

type StartChatRequest_GroupChat struct {
	GroupChat *StartChatRequest_StartGroupChatParameters `protobuf:"bytes,2,opt,name=group_chat,json=groupChat,proto3,oneof"`
}

type StartChatRequest_StartGroupChatParameters

type StartChatRequest_StartGroupChatParameters struct {

	// A set of users (not including self) to initially set in the group chat.
	Users []*v1.UserId `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// Optional display name for the group chat
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional payment for creating the group. It's up to server to decide
	// if the user is allowed to create a group without payment.
	PaymentIntent *v1.IntentId `protobuf:"bytes,3,opt,name=payment_intent,json=paymentIntent,proto3" json:"payment_intent,omitempty"`
	// contains filtered or unexported fields
}

func (*StartChatRequest_StartGroupChatParameters) Descriptor deprecated

func (*StartChatRequest_StartGroupChatParameters) Descriptor() ([]byte, []int)

Deprecated: Use StartChatRequest_StartGroupChatParameters.ProtoReflect.Descriptor instead.

func (*StartChatRequest_StartGroupChatParameters) GetDisplayName

func (*StartChatRequest_StartGroupChatParameters) GetPaymentIntent

func (x *StartChatRequest_StartGroupChatParameters) GetPaymentIntent() *v1.IntentId

func (*StartChatRequest_StartGroupChatParameters) GetUsers

func (*StartChatRequest_StartGroupChatParameters) ProtoMessage

func (*StartChatRequest_StartGroupChatParameters) ProtoReflect

func (*StartChatRequest_StartGroupChatParameters) Reset

func (*StartChatRequest_StartGroupChatParameters) String

func (*StartChatRequest_StartGroupChatParameters) Validate

Validate checks the field values on StartChatRequest_StartGroupChatParameters 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 (*StartChatRequest_StartGroupChatParameters) ValidateAll

ValidateAll checks the field values on StartChatRequest_StartGroupChatParameters 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 StartChatRequest_StartGroupChatParametersMultiError, or nil if none found.

type StartChatRequest_StartGroupChatParametersMultiError

type StartChatRequest_StartGroupChatParametersMultiError []error

StartChatRequest_StartGroupChatParametersMultiError is an error wrapping multiple validation errors returned by StartChatRequest_StartGroupChatParameters.ValidateAll() if the designated constraints aren't met.

func (StartChatRequest_StartGroupChatParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StartChatRequest_StartGroupChatParametersMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StartChatRequest_StartGroupChatParametersValidationError

type StartChatRequest_StartGroupChatParametersValidationError struct {
	// contains filtered or unexported fields
}

StartChatRequest_StartGroupChatParametersValidationError is the validation error returned by StartChatRequest_StartGroupChatParameters.Validate if the designated constraints aren't met.

func (StartChatRequest_StartGroupChatParametersValidationError) Cause

Cause function returns cause value.

func (StartChatRequest_StartGroupChatParametersValidationError) Error

Error satisfies the builtin error interface

func (StartChatRequest_StartGroupChatParametersValidationError) ErrorName

ErrorName returns error name.

func (StartChatRequest_StartGroupChatParametersValidationError) Field

Field function returns field value.

func (StartChatRequest_StartGroupChatParametersValidationError) Key

Key function returns key value.

func (StartChatRequest_StartGroupChatParametersValidationError) Reason

Reason function returns reason value.

type StartChatRequest_StartTwoWayChatParameters

type StartChatRequest_StartTwoWayChatParameters struct {

	// The account id of the user the caller wishes to chat with.
	OtherUserId *v1.UserId `protobuf:"bytes,1,opt,name=other_user_id,json=otherUserId,proto3" json:"other_user_id,omitempty"`
	// contains filtered or unexported fields
}

StartTwoWayChatParameters contains the parameters required to start or recover a two way chat between the caller and the specified 'other_user'.

The 'other_user' is currently the 'tip_address', normally retrieved from user.Identity.GetTwitterUser(username).

func (*StartChatRequest_StartTwoWayChatParameters) Descriptor deprecated

Deprecated: Use StartChatRequest_StartTwoWayChatParameters.ProtoReflect.Descriptor instead.

func (*StartChatRequest_StartTwoWayChatParameters) GetOtherUserId

func (*StartChatRequest_StartTwoWayChatParameters) ProtoMessage

func (*StartChatRequest_StartTwoWayChatParameters) ProtoReflect

func (*StartChatRequest_StartTwoWayChatParameters) Reset

func (*StartChatRequest_StartTwoWayChatParameters) String

func (*StartChatRequest_StartTwoWayChatParameters) Validate

Validate checks the field values on StartChatRequest_StartTwoWayChatParameters 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 (*StartChatRequest_StartTwoWayChatParameters) ValidateAll

ValidateAll checks the field values on StartChatRequest_StartTwoWayChatParameters 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 StartChatRequest_StartTwoWayChatParametersMultiError, or nil if none found.

type StartChatRequest_StartTwoWayChatParametersMultiError

type StartChatRequest_StartTwoWayChatParametersMultiError []error

StartChatRequest_StartTwoWayChatParametersMultiError is an error wrapping multiple validation errors returned by StartChatRequest_StartTwoWayChatParameters.ValidateAll() if the designated constraints aren't met.

func (StartChatRequest_StartTwoWayChatParametersMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StartChatRequest_StartTwoWayChatParametersMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StartChatRequest_StartTwoWayChatParametersValidationError

type StartChatRequest_StartTwoWayChatParametersValidationError struct {
	// contains filtered or unexported fields
}

StartChatRequest_StartTwoWayChatParametersValidationError is the validation error returned by StartChatRequest_StartTwoWayChatParameters.Validate if the designated constraints aren't met.

func (StartChatRequest_StartTwoWayChatParametersValidationError) Cause

Cause function returns cause value.

func (StartChatRequest_StartTwoWayChatParametersValidationError) Error

Error satisfies the builtin error interface

func (StartChatRequest_StartTwoWayChatParametersValidationError) ErrorName

ErrorName returns error name.

func (StartChatRequest_StartTwoWayChatParametersValidationError) Field

Field function returns field value.

func (StartChatRequest_StartTwoWayChatParametersValidationError) Key

Key function returns key value.

func (StartChatRequest_StartTwoWayChatParametersValidationError) Reason

Reason function returns reason value.

type StartChatRequest_TwoWayChat

type StartChatRequest_TwoWayChat struct {
	TwoWayChat *StartChatRequest_StartTwoWayChatParameters `protobuf:"bytes,1,opt,name=two_way_chat,json=twoWayChat,proto3,oneof"`
}

type StartChatResponse

type StartChatResponse struct {
	Result StartChatResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.StartChatResponse_Result" json:"result,omitempty"`
	// The chat to use, if result == OK.
	Chat *Metadata `protobuf:"bytes,2,opt,name=chat,proto3" json:"chat,omitempty"`
	// Members contains the chat members, if result == OK.
	Members []*Member `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*StartChatResponse) Descriptor deprecated

func (*StartChatResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartChatResponse.ProtoReflect.Descriptor instead.

func (*StartChatResponse) GetChat

func (x *StartChatResponse) GetChat() *Metadata

func (*StartChatResponse) GetMembers

func (x *StartChatResponse) GetMembers() []*Member

func (*StartChatResponse) GetResult

func (*StartChatResponse) ProtoMessage

func (*StartChatResponse) ProtoMessage()

func (*StartChatResponse) ProtoReflect

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

func (*StartChatResponse) Reset

func (x *StartChatResponse) Reset()

func (*StartChatResponse) String

func (x *StartChatResponse) String() string

func (*StartChatResponse) Validate

func (m *StartChatResponse) Validate() error

Validate checks the field values on StartChatResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StartChatResponse) ValidateAll

func (m *StartChatResponse) ValidateAll() error

ValidateAll checks the field values on StartChatResponse 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 StartChatResponseMultiError, or nil if none found.

type StartChatResponseMultiError

type StartChatResponseMultiError []error

StartChatResponseMultiError is an error wrapping multiple validation errors returned by StartChatResponse.ValidateAll() if the designated constraints aren't met.

func (StartChatResponseMultiError) AllErrors

func (m StartChatResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StartChatResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StartChatResponseValidationError

type StartChatResponseValidationError struct {
	// contains filtered or unexported fields
}

StartChatResponseValidationError is the validation error returned by StartChatResponse.Validate if the designated constraints aren't met.

func (StartChatResponseValidationError) Cause

Cause function returns cause value.

func (StartChatResponseValidationError) Error

Error satisfies the builtin error interface

func (StartChatResponseValidationError) ErrorName

ErrorName returns error name.

func (StartChatResponseValidationError) Field

Field function returns field value.

func (StartChatResponseValidationError) Key

Key function returns key value.

func (StartChatResponseValidationError) Reason

Reason function returns reason value.

type StartChatResponse_Result

type StartChatResponse_Result int32
const (
	StartChatResponse_OK StartChatResponse_Result = 0
	// DENIED indicates the caller is not allowed to start/join the chat.
	StartChatResponse_DENIED StartChatResponse_Result = 1
	// USER_NOT_FOUND indicates that (one of) the target user's was not found.
	StartChatResponse_USER_NOT_FOUND StartChatResponse_Result = 2
)

func (StartChatResponse_Result) Descriptor

func (StartChatResponse_Result) Enum

func (StartChatResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use StartChatResponse_Result.Descriptor instead.

func (StartChatResponse_Result) Number

func (StartChatResponse_Result) String

func (x StartChatResponse_Result) String() string

func (StartChatResponse_Result) Type

type StartGroupChatPaymentMetadata

type StartGroupChatPaymentMetadata struct {

	// The user creating the group chat, who will be the initial owner
	UserId *v1.UserId `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartGroupChatPaymentMetadata) Descriptor deprecated

func (*StartGroupChatPaymentMetadata) Descriptor() ([]byte, []int)

Deprecated: Use StartGroupChatPaymentMetadata.ProtoReflect.Descriptor instead.

func (*StartGroupChatPaymentMetadata) GetUserId

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

func (*StartGroupChatPaymentMetadata) ProtoMessage

func (*StartGroupChatPaymentMetadata) ProtoMessage()

func (*StartGroupChatPaymentMetadata) ProtoReflect

func (*StartGroupChatPaymentMetadata) Reset

func (x *StartGroupChatPaymentMetadata) Reset()

func (*StartGroupChatPaymentMetadata) String

func (*StartGroupChatPaymentMetadata) Validate

func (m *StartGroupChatPaymentMetadata) Validate() error

Validate checks the field values on StartGroupChatPaymentMetadata 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 (*StartGroupChatPaymentMetadata) ValidateAll

func (m *StartGroupChatPaymentMetadata) ValidateAll() error

ValidateAll checks the field values on StartGroupChatPaymentMetadata 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 StartGroupChatPaymentMetadataMultiError, or nil if none found.

type StartGroupChatPaymentMetadataMultiError

type StartGroupChatPaymentMetadataMultiError []error

StartGroupChatPaymentMetadataMultiError is an error wrapping multiple validation errors returned by StartGroupChatPaymentMetadata.ValidateAll() if the designated constraints aren't met.

func (StartGroupChatPaymentMetadataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StartGroupChatPaymentMetadataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StartGroupChatPaymentMetadataValidationError

type StartGroupChatPaymentMetadataValidationError struct {
	// contains filtered or unexported fields
}

StartGroupChatPaymentMetadataValidationError is the validation error returned by StartGroupChatPaymentMetadata.Validate if the designated constraints aren't met.

func (StartGroupChatPaymentMetadataValidationError) Cause

Cause function returns cause value.

func (StartGroupChatPaymentMetadataValidationError) Error

Error satisfies the builtin error interface

func (StartGroupChatPaymentMetadataValidationError) ErrorName

ErrorName returns error name.

func (StartGroupChatPaymentMetadataValidationError) Field

Field function returns field value.

func (StartGroupChatPaymentMetadataValidationError) Key

Key function returns key value.

func (StartGroupChatPaymentMetadataValidationError) Reason

Reason function returns reason value.

type StreamChatEventsRequest

type StreamChatEventsRequest struct {

	// Types that are assignable to Type:
	//
	//	*StreamChatEventsRequest_Params_
	//	*StreamChatEventsRequest_Pong
	Type isStreamChatEventsRequest_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*StreamChatEventsRequest) Descriptor deprecated

func (*StreamChatEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamChatEventsRequest.ProtoReflect.Descriptor instead.

func (*StreamChatEventsRequest) GetParams

func (*StreamChatEventsRequest) GetPong

func (x *StreamChatEventsRequest) GetPong() *v1.ClientPong

func (*StreamChatEventsRequest) GetType

func (m *StreamChatEventsRequest) GetType() isStreamChatEventsRequest_Type

func (*StreamChatEventsRequest) ProtoMessage

func (*StreamChatEventsRequest) ProtoMessage()

func (*StreamChatEventsRequest) ProtoReflect

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

func (*StreamChatEventsRequest) Reset

func (x *StreamChatEventsRequest) Reset()

func (*StreamChatEventsRequest) String

func (x *StreamChatEventsRequest) String() string

func (*StreamChatEventsRequest) Validate

func (m *StreamChatEventsRequest) Validate() error

Validate checks the field values on StreamChatEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StreamChatEventsRequest) ValidateAll

func (m *StreamChatEventsRequest) ValidateAll() error

ValidateAll checks the field values on StreamChatEventsRequest 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 StreamChatEventsRequestMultiError, or nil if none found.

type StreamChatEventsRequestMultiError

type StreamChatEventsRequestMultiError []error

StreamChatEventsRequestMultiError is an error wrapping multiple validation errors returned by StreamChatEventsRequest.ValidateAll() if the designated constraints aren't met.

func (StreamChatEventsRequestMultiError) AllErrors

func (m StreamChatEventsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StreamChatEventsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StreamChatEventsRequestValidationError

type StreamChatEventsRequestValidationError struct {
	// contains filtered or unexported fields
}

StreamChatEventsRequestValidationError is the validation error returned by StreamChatEventsRequest.Validate if the designated constraints aren't met.

func (StreamChatEventsRequestValidationError) Cause

Cause function returns cause value.

func (StreamChatEventsRequestValidationError) Error

Error satisfies the builtin error interface

func (StreamChatEventsRequestValidationError) ErrorName

ErrorName returns error name.

func (StreamChatEventsRequestValidationError) Field

Field function returns field value.

func (StreamChatEventsRequestValidationError) Key

Key function returns key value.

func (StreamChatEventsRequestValidationError) Reason

Reason function returns reason value.

type StreamChatEventsRequest_Params

type StreamChatEventsRequest_Params struct {
	Auth *v1.Auth `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
	// ts contains the time for stream open.
	//
	// It is used primarily as a nonce for auth. Server may reject
	// timestamps that are too far in the future or past.
	Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamChatEventsRequest_Params) Descriptor deprecated

func (*StreamChatEventsRequest_Params) Descriptor() ([]byte, []int)

Deprecated: Use StreamChatEventsRequest_Params.ProtoReflect.Descriptor instead.

func (*StreamChatEventsRequest_Params) GetAuth

func (x *StreamChatEventsRequest_Params) GetAuth() *v1.Auth

func (*StreamChatEventsRequest_Params) GetTs

func (*StreamChatEventsRequest_Params) ProtoMessage

func (*StreamChatEventsRequest_Params) ProtoMessage()

func (*StreamChatEventsRequest_Params) ProtoReflect

func (*StreamChatEventsRequest_Params) Reset

func (x *StreamChatEventsRequest_Params) Reset()

func (*StreamChatEventsRequest_Params) String

func (*StreamChatEventsRequest_Params) Validate

func (m *StreamChatEventsRequest_Params) Validate() error

Validate checks the field values on StreamChatEventsRequest_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 (*StreamChatEventsRequest_Params) ValidateAll

func (m *StreamChatEventsRequest_Params) ValidateAll() error

ValidateAll checks the field values on StreamChatEventsRequest_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 StreamChatEventsRequest_ParamsMultiError, or nil if none found.

type StreamChatEventsRequest_ParamsMultiError

type StreamChatEventsRequest_ParamsMultiError []error

StreamChatEventsRequest_ParamsMultiError is an error wrapping multiple validation errors returned by StreamChatEventsRequest_Params.ValidateAll() if the designated constraints aren't met.

func (StreamChatEventsRequest_ParamsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StreamChatEventsRequest_ParamsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StreamChatEventsRequest_ParamsValidationError

type StreamChatEventsRequest_ParamsValidationError struct {
	// contains filtered or unexported fields
}

StreamChatEventsRequest_ParamsValidationError is the validation error returned by StreamChatEventsRequest_Params.Validate if the designated constraints aren't met.

func (StreamChatEventsRequest_ParamsValidationError) Cause

Cause function returns cause value.

func (StreamChatEventsRequest_ParamsValidationError) Error

Error satisfies the builtin error interface

func (StreamChatEventsRequest_ParamsValidationError) ErrorName

ErrorName returns error name.

func (StreamChatEventsRequest_ParamsValidationError) Field

Field function returns field value.

func (StreamChatEventsRequest_ParamsValidationError) Key

Key function returns key value.

func (StreamChatEventsRequest_ParamsValidationError) Reason

Reason function returns reason value.

type StreamChatEventsRequest_Params_

type StreamChatEventsRequest_Params_ struct {
	Params *StreamChatEventsRequest_Params `protobuf:"bytes,1,opt,name=params,proto3,oneof"`
}

type StreamChatEventsRequest_Pong

type StreamChatEventsRequest_Pong struct {
	Pong *v1.ClientPong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}

type StreamChatEventsResponse

type StreamChatEventsResponse struct {

	// Types that are assignable to Type:
	//
	//	*StreamChatEventsResponse_Ping
	//	*StreamChatEventsResponse_Error
	//	*StreamChatEventsResponse_Events
	Type isStreamChatEventsResponse_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*StreamChatEventsResponse) Descriptor deprecated

func (*StreamChatEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamChatEventsResponse.ProtoReflect.Descriptor instead.

func (*StreamChatEventsResponse) GetError

func (*StreamChatEventsResponse) GetEvents

func (*StreamChatEventsResponse) GetPing

func (x *StreamChatEventsResponse) GetPing() *v1.ServerPing

func (*StreamChatEventsResponse) GetType

func (m *StreamChatEventsResponse) GetType() isStreamChatEventsResponse_Type

func (*StreamChatEventsResponse) ProtoMessage

func (*StreamChatEventsResponse) ProtoMessage()

func (*StreamChatEventsResponse) ProtoReflect

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

func (*StreamChatEventsResponse) Reset

func (x *StreamChatEventsResponse) Reset()

func (*StreamChatEventsResponse) String

func (x *StreamChatEventsResponse) String() string

func (*StreamChatEventsResponse) Validate

func (m *StreamChatEventsResponse) Validate() error

Validate checks the field values on StreamChatEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StreamChatEventsResponse) ValidateAll

func (m *StreamChatEventsResponse) ValidateAll() error

ValidateAll checks the field values on StreamChatEventsResponse 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 StreamChatEventsResponseMultiError, or nil if none found.

type StreamChatEventsResponseMultiError

type StreamChatEventsResponseMultiError []error

StreamChatEventsResponseMultiError is an error wrapping multiple validation errors returned by StreamChatEventsResponse.ValidateAll() if the designated constraints aren't met.

func (StreamChatEventsResponseMultiError) AllErrors

func (m StreamChatEventsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StreamChatEventsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StreamChatEventsResponseValidationError

type StreamChatEventsResponseValidationError struct {
	// contains filtered or unexported fields
}

StreamChatEventsResponseValidationError is the validation error returned by StreamChatEventsResponse.Validate if the designated constraints aren't met.

func (StreamChatEventsResponseValidationError) Cause

Cause function returns cause value.

func (StreamChatEventsResponseValidationError) Error

Error satisfies the builtin error interface

func (StreamChatEventsResponseValidationError) ErrorName

ErrorName returns error name.

func (StreamChatEventsResponseValidationError) Field

Field function returns field value.

func (StreamChatEventsResponseValidationError) Key

Key function returns key value.

func (StreamChatEventsResponseValidationError) Reason

Reason function returns reason value.

type StreamChatEventsResponse_ChatUpdate

type StreamChatEventsResponse_ChatUpdate struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// Metadata contains the latest (full) chat metadata.
	//
	// Deprecated: Use metadata_updates instead. For backwards compatibility
	// this will only contain full metadata refreshes.
	Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// MetadataUpdate contains updates to a chat metadata
	MetadataUpdates []*MetadataUpdate `protobuf:"bytes,7,rep,name=metadata_updates,json=metadataUpdates,proto3" json:"metadata_updates,omitempty"`
	// MemberUpdate contains an update to the membership set.
	//
	// Deprecated: Use member_updates instead. For backwards compatibility
	// this will only contain full member refreshes.
	MemberUpdate *MemberUpdate `protobuf:"bytes,3,opt,name=member_update,json=memberUpdate,proto3" json:"member_update,omitempty"`
	// MemberUpdate contains updates to the membership set.
	MemberUpdates []*MemberUpdate `protobuf:"bytes,8,rep,name=member_updates,json=memberUpdates,proto3" json:"member_updates,omitempty"`
	// Message contains the last known message of the chat.
	LastMessage *v11.Message `protobuf:"bytes,4,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"`
	// Relevant update to a chat member's pointer state, where 'relevant' means
	// "relevant to UI updates". For example, when a user has read the latest
	// message.
	//
	// Note: Updates now go through the message stream, but may be rediverted here
	// in the future
	Pointer *v11.PointerUpdate `protobuf:"bytes,5,opt,name=pointer,proto3" json:"pointer,omitempty"`
	// IsTyping indicates whether or not someone is typing in the group.
	//
	// Note: Updates now go through the message stream, but may be rediverted here
	// in the future
	IsTyping *v11.IsTyping `protobuf:"bytes,6,opt,name=is_typing,json=isTyping,proto3" json:"is_typing,omitempty"`
	// contains filtered or unexported fields
}

ChatUpdate contains a set of updates for a given chat id.

Only the relevant fields will be set on update. On initial stream open, all fields will be set, however.

func (*StreamChatEventsResponse_ChatUpdate) Descriptor deprecated

func (*StreamChatEventsResponse_ChatUpdate) Descriptor() ([]byte, []int)

Deprecated: Use StreamChatEventsResponse_ChatUpdate.ProtoReflect.Descriptor instead.

func (*StreamChatEventsResponse_ChatUpdate) GetChatId

func (*StreamChatEventsResponse_ChatUpdate) GetIsTyping

func (*StreamChatEventsResponse_ChatUpdate) GetLastMessage

func (x *StreamChatEventsResponse_ChatUpdate) GetLastMessage() *v11.Message

func (*StreamChatEventsResponse_ChatUpdate) GetMemberUpdate

func (x *StreamChatEventsResponse_ChatUpdate) GetMemberUpdate() *MemberUpdate

func (*StreamChatEventsResponse_ChatUpdate) GetMemberUpdates

func (x *StreamChatEventsResponse_ChatUpdate) GetMemberUpdates() []*MemberUpdate

func (*StreamChatEventsResponse_ChatUpdate) GetMetadata

func (*StreamChatEventsResponse_ChatUpdate) GetMetadataUpdates

func (x *StreamChatEventsResponse_ChatUpdate) GetMetadataUpdates() []*MetadataUpdate

func (*StreamChatEventsResponse_ChatUpdate) GetPointer

func (*StreamChatEventsResponse_ChatUpdate) ProtoMessage

func (*StreamChatEventsResponse_ChatUpdate) ProtoMessage()

func (*StreamChatEventsResponse_ChatUpdate) ProtoReflect

func (*StreamChatEventsResponse_ChatUpdate) Reset

func (*StreamChatEventsResponse_ChatUpdate) String

func (*StreamChatEventsResponse_ChatUpdate) Validate

Validate checks the field values on StreamChatEventsResponse_ChatUpdate 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 (*StreamChatEventsResponse_ChatUpdate) ValidateAll

func (m *StreamChatEventsResponse_ChatUpdate) ValidateAll() error

ValidateAll checks the field values on StreamChatEventsResponse_ChatUpdate 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 StreamChatEventsResponse_ChatUpdateMultiError, or nil if none found.

type StreamChatEventsResponse_ChatUpdateMultiError

type StreamChatEventsResponse_ChatUpdateMultiError []error

StreamChatEventsResponse_ChatUpdateMultiError is an error wrapping multiple validation errors returned by StreamChatEventsResponse_ChatUpdate.ValidateAll() if the designated constraints aren't met.

func (StreamChatEventsResponse_ChatUpdateMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StreamChatEventsResponse_ChatUpdateMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StreamChatEventsResponse_ChatUpdateValidationError

type StreamChatEventsResponse_ChatUpdateValidationError struct {
	// contains filtered or unexported fields
}

StreamChatEventsResponse_ChatUpdateValidationError is the validation error returned by StreamChatEventsResponse_ChatUpdate.Validate if the designated constraints aren't met.

func (StreamChatEventsResponse_ChatUpdateValidationError) Cause

Cause function returns cause value.

func (StreamChatEventsResponse_ChatUpdateValidationError) Error

Error satisfies the builtin error interface

func (StreamChatEventsResponse_ChatUpdateValidationError) ErrorName

ErrorName returns error name.

func (StreamChatEventsResponse_ChatUpdateValidationError) Field

Field function returns field value.

func (StreamChatEventsResponse_ChatUpdateValidationError) Key

Key function returns key value.

func (StreamChatEventsResponse_ChatUpdateValidationError) Reason

Reason function returns reason value.

type StreamChatEventsResponse_Error

type StreamChatEventsResponse_Error struct {
	Error *StreamChatEventsResponse_StreamError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type StreamChatEventsResponse_EventBatch

type StreamChatEventsResponse_EventBatch struct {
	Updates []*StreamChatEventsResponse_ChatUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamChatEventsResponse_EventBatch) Descriptor deprecated

func (*StreamChatEventsResponse_EventBatch) Descriptor() ([]byte, []int)

Deprecated: Use StreamChatEventsResponse_EventBatch.ProtoReflect.Descriptor instead.

func (*StreamChatEventsResponse_EventBatch) GetUpdates

func (*StreamChatEventsResponse_EventBatch) ProtoMessage

func (*StreamChatEventsResponse_EventBatch) ProtoMessage()

func (*StreamChatEventsResponse_EventBatch) ProtoReflect

func (*StreamChatEventsResponse_EventBatch) Reset

func (*StreamChatEventsResponse_EventBatch) String

func (*StreamChatEventsResponse_EventBatch) Validate

Validate checks the field values on StreamChatEventsResponse_EventBatch 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 (*StreamChatEventsResponse_EventBatch) ValidateAll

func (m *StreamChatEventsResponse_EventBatch) ValidateAll() error

ValidateAll checks the field values on StreamChatEventsResponse_EventBatch 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 StreamChatEventsResponse_EventBatchMultiError, or nil if none found.

type StreamChatEventsResponse_EventBatchMultiError

type StreamChatEventsResponse_EventBatchMultiError []error

StreamChatEventsResponse_EventBatchMultiError is an error wrapping multiple validation errors returned by StreamChatEventsResponse_EventBatch.ValidateAll() if the designated constraints aren't met.

func (StreamChatEventsResponse_EventBatchMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StreamChatEventsResponse_EventBatchMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StreamChatEventsResponse_EventBatchValidationError

type StreamChatEventsResponse_EventBatchValidationError struct {
	// contains filtered or unexported fields
}

StreamChatEventsResponse_EventBatchValidationError is the validation error returned by StreamChatEventsResponse_EventBatch.Validate if the designated constraints aren't met.

func (StreamChatEventsResponse_EventBatchValidationError) Cause

Cause function returns cause value.

func (StreamChatEventsResponse_EventBatchValidationError) Error

Error satisfies the builtin error interface

func (StreamChatEventsResponse_EventBatchValidationError) ErrorName

ErrorName returns error name.

func (StreamChatEventsResponse_EventBatchValidationError) Field

Field function returns field value.

func (StreamChatEventsResponse_EventBatchValidationError) Key

Key function returns key value.

func (StreamChatEventsResponse_EventBatchValidationError) Reason

Reason function returns reason value.

type StreamChatEventsResponse_Events

type StreamChatEventsResponse_Events struct {
	Events *StreamChatEventsResponse_EventBatch `protobuf:"bytes,3,opt,name=events,proto3,oneof"`
}

type StreamChatEventsResponse_Ping

type StreamChatEventsResponse_Ping struct {
	Ping *v1.ServerPing `protobuf:"bytes,1,opt,name=ping,proto3,oneof"`
}

type StreamChatEventsResponse_StreamError

type StreamChatEventsResponse_StreamError struct {
	Code StreamChatEventsResponse_StreamError_Code `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StreamChatEventsResponse_StreamError) Descriptor deprecated

func (*StreamChatEventsResponse_StreamError) Descriptor() ([]byte, []int)

Deprecated: Use StreamChatEventsResponse_StreamError.ProtoReflect.Descriptor instead.

func (*StreamChatEventsResponse_StreamError) GetCode

func (*StreamChatEventsResponse_StreamError) ProtoMessage

func (*StreamChatEventsResponse_StreamError) ProtoMessage()

func (*StreamChatEventsResponse_StreamError) ProtoReflect

func (*StreamChatEventsResponse_StreamError) Reset

func (*StreamChatEventsResponse_StreamError) String

func (*StreamChatEventsResponse_StreamError) Validate

Validate checks the field values on StreamChatEventsResponse_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 (*StreamChatEventsResponse_StreamError) ValidateAll

ValidateAll checks the field values on StreamChatEventsResponse_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 StreamChatEventsResponse_StreamErrorMultiError, or nil if none found.

type StreamChatEventsResponse_StreamErrorMultiError

type StreamChatEventsResponse_StreamErrorMultiError []error

StreamChatEventsResponse_StreamErrorMultiError is an error wrapping multiple validation errors returned by StreamChatEventsResponse_StreamError.ValidateAll() if the designated constraints aren't met.

func (StreamChatEventsResponse_StreamErrorMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StreamChatEventsResponse_StreamErrorMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StreamChatEventsResponse_StreamErrorValidationError

type StreamChatEventsResponse_StreamErrorValidationError struct {
	// contains filtered or unexported fields
}

StreamChatEventsResponse_StreamErrorValidationError is the validation error returned by StreamChatEventsResponse_StreamError.Validate if the designated constraints aren't met.

func (StreamChatEventsResponse_StreamErrorValidationError) Cause

Cause function returns cause value.

func (StreamChatEventsResponse_StreamErrorValidationError) Error

Error satisfies the builtin error interface

func (StreamChatEventsResponse_StreamErrorValidationError) ErrorName

ErrorName returns error name.

func (StreamChatEventsResponse_StreamErrorValidationError) Field

Field function returns field value.

func (StreamChatEventsResponse_StreamErrorValidationError) Key

Key function returns key value.

func (StreamChatEventsResponse_StreamErrorValidationError) Reason

Reason function returns reason value.

type StreamChatEventsResponse_StreamError_Code

type StreamChatEventsResponse_StreamError_Code int32
const (
	StreamChatEventsResponse_StreamError_DENIED StreamChatEventsResponse_StreamError_Code = 0
)

func (StreamChatEventsResponse_StreamError_Code) Descriptor

func (StreamChatEventsResponse_StreamError_Code) Enum

func (StreamChatEventsResponse_StreamError_Code) EnumDescriptor deprecated

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

Deprecated: Use StreamChatEventsResponse_StreamError_Code.Descriptor instead.

func (StreamChatEventsResponse_StreamError_Code) Number

func (StreamChatEventsResponse_StreamError_Code) String

func (StreamChatEventsResponse_StreamError_Code) Type

type UnimplementedChatServer

type UnimplementedChatServer struct{}

UnimplementedChatServer 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 (UnimplementedChatServer) CloseChat

func (UnimplementedChatServer) DemoteUser

func (UnimplementedChatServer) GetChat

func (UnimplementedChatServer) GetChats

func (UnimplementedChatServer) JoinChat

func (UnimplementedChatServer) LeaveChat

func (UnimplementedChatServer) MuteChat

func (UnimplementedChatServer) MuteUser

func (UnimplementedChatServer) OpenChat

func (UnimplementedChatServer) PromoteUser

func (UnimplementedChatServer) RemoveUser

func (UnimplementedChatServer) ReportUser

func (UnimplementedChatServer) SetCoverCharge

func (UnimplementedChatServer) SetDescription added in v1.4.2

func (UnimplementedChatServer) SetDisplayName

func (UnimplementedChatServer) SetMessagingFee

func (UnimplementedChatServer) StartChat

func (UnimplementedChatServer) UnmuteChat

type UnmuteChatRequest

type UnmuteChatRequest struct {
	ChatId *v1.ChatId `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	Auth   *v1.Auth   `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*UnmuteChatRequest) Descriptor deprecated

func (*UnmuteChatRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnmuteChatRequest.ProtoReflect.Descriptor instead.

func (*UnmuteChatRequest) GetAuth

func (x *UnmuteChatRequest) GetAuth() *v1.Auth

func (*UnmuteChatRequest) GetChatId

func (x *UnmuteChatRequest) GetChatId() *v1.ChatId

func (*UnmuteChatRequest) ProtoMessage

func (*UnmuteChatRequest) ProtoMessage()

func (*UnmuteChatRequest) ProtoReflect

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

func (*UnmuteChatRequest) Reset

func (x *UnmuteChatRequest) Reset()

func (*UnmuteChatRequest) String

func (x *UnmuteChatRequest) String() string

func (*UnmuteChatRequest) Validate

func (m *UnmuteChatRequest) Validate() error

Validate checks the field values on UnmuteChatRequest 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 (*UnmuteChatRequest) ValidateAll

func (m *UnmuteChatRequest) ValidateAll() error

ValidateAll checks the field values on UnmuteChatRequest 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 UnmuteChatRequestMultiError, or nil if none found.

type UnmuteChatRequestMultiError

type UnmuteChatRequestMultiError []error

UnmuteChatRequestMultiError is an error wrapping multiple validation errors returned by UnmuteChatRequest.ValidateAll() if the designated constraints aren't met.

func (UnmuteChatRequestMultiError) AllErrors

func (m UnmuteChatRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnmuteChatRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UnmuteChatRequestValidationError

type UnmuteChatRequestValidationError struct {
	// contains filtered or unexported fields
}

UnmuteChatRequestValidationError is the validation error returned by UnmuteChatRequest.Validate if the designated constraints aren't met.

func (UnmuteChatRequestValidationError) Cause

Cause function returns cause value.

func (UnmuteChatRequestValidationError) Error

Error satisfies the builtin error interface

func (UnmuteChatRequestValidationError) ErrorName

ErrorName returns error name.

func (UnmuteChatRequestValidationError) Field

Field function returns field value.

func (UnmuteChatRequestValidationError) Key

Key function returns key value.

func (UnmuteChatRequestValidationError) Reason

Reason function returns reason value.

type UnmuteChatResponse

type UnmuteChatResponse struct {
	Result UnmuteChatResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipchat.chat.v1.UnmuteChatResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*UnmuteChatResponse) Descriptor deprecated

func (*UnmuteChatResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnmuteChatResponse.ProtoReflect.Descriptor instead.

func (*UnmuteChatResponse) GetResult

func (*UnmuteChatResponse) ProtoMessage

func (*UnmuteChatResponse) ProtoMessage()

func (*UnmuteChatResponse) ProtoReflect

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

func (*UnmuteChatResponse) Reset

func (x *UnmuteChatResponse) Reset()

func (*UnmuteChatResponse) String

func (x *UnmuteChatResponse) String() string

func (*UnmuteChatResponse) Validate

func (m *UnmuteChatResponse) Validate() error

Validate checks the field values on UnmuteChatResponse 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 (*UnmuteChatResponse) ValidateAll

func (m *UnmuteChatResponse) ValidateAll() error

ValidateAll checks the field values on UnmuteChatResponse 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 UnmuteChatResponseMultiError, or nil if none found.

type UnmuteChatResponseMultiError

type UnmuteChatResponseMultiError []error

UnmuteChatResponseMultiError is an error wrapping multiple validation errors returned by UnmuteChatResponse.ValidateAll() if the designated constraints aren't met.

func (UnmuteChatResponseMultiError) AllErrors

func (m UnmuteChatResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnmuteChatResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UnmuteChatResponseValidationError

type UnmuteChatResponseValidationError struct {
	// contains filtered or unexported fields
}

UnmuteChatResponseValidationError is the validation error returned by UnmuteChatResponse.Validate if the designated constraints aren't met.

func (UnmuteChatResponseValidationError) Cause

Cause function returns cause value.

func (UnmuteChatResponseValidationError) Error

Error satisfies the builtin error interface

func (UnmuteChatResponseValidationError) ErrorName

ErrorName returns error name.

func (UnmuteChatResponseValidationError) Field

Field function returns field value.

func (UnmuteChatResponseValidationError) Key

Key function returns key value.

func (UnmuteChatResponseValidationError) Reason

Reason function returns reason value.

type UnmuteChatResponse_Result

type UnmuteChatResponse_Result int32
const (
	UnmuteChatResponse_OK     UnmuteChatResponse_Result = 0
	UnmuteChatResponse_DENIED UnmuteChatResponse_Result = 1
)

func (UnmuteChatResponse_Result) Descriptor

func (UnmuteChatResponse_Result) Enum

func (UnmuteChatResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use UnmuteChatResponse_Result.Descriptor instead.

func (UnmuteChatResponse_Result) Number

func (UnmuteChatResponse_Result) String

func (x UnmuteChatResponse_Result) String() string

func (UnmuteChatResponse_Result) Type

type UnsafeChatServer

type UnsafeChatServer interface {
	// contains filtered or unexported methods
}

UnsafeChatServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChatServer will result in compilation errors.

Jump to

Keyboard shortcuts

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