v1

package
v0.2.157 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MemberRole_name = map[int32]string{
		0: "None",
		1: "Member",
		2: "Moderator",
		3: "Director",
	}
	MemberRole_value = map[string]int32{
		"None":      0,
		"Member":    1,
		"Moderator": 2,
		"Director":  3,
	}
)

Enum value maps for MemberRole.

View Source
var (
	PageDir_name = map[int32]string{
		0: "Forward",
		1: "Backward",
	}
	PageDir_value = map[string]int32{
		"Forward":  0,
		"Backward": 1,
	}
)

Enum value maps for PageDir.

View Source
var (
	Chat_Kind_name = map[int32]string{
		0: "Unknown",
		1: "Direct",
		2: "Group",
		3: "Circle",
	}
	Chat_Kind_value = map[string]int32{
		"Unknown": 0,
		"Direct":  1,
		"Group":   2,
		"Circle":  3,
	}
)

Enum value maps for Chat_Kind.

View Source
var (
	ChatMessage_Kind_name = map[int32]string{
		0: "Unknown",
		1: "Text",
		2: "Component",
	}
	ChatMessage_Kind_value = map[string]int32{
		"Unknown":   0,
		"Text":      1,
		"Component": 2,
	}
)

Enum value maps for ChatMessage_Kind.

View Source
var (
	ChatComponent_Type_name = map[int32]string{
		0: "Type_Unknown",
		1: "Type_CircleInvite",
		2: "Type_SeedsExchange",
		3: "Type_GlitterBomb",
		4: "Type_User",
		5: "Type_Post",
		6: "Type_Circle",
		7: "Type_App",
	}
	ChatComponent_Type_value = map[string]int32{
		"Type_Unknown":       0,
		"Type_CircleInvite":  1,
		"Type_SeedsExchange": 2,
		"Type_GlitterBomb":   3,
		"Type_User":          4,
		"Type_Post":          5,
		"Type_Circle":        6,
		"Type_App":           7,
	}
)

Enum value maps for ChatComponent_Type.

View Source
var ChatAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chat_api.v1.ChatAPI",
	HandlerType: (*ChatAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateChat",
			Handler:    _ChatAPI_CreateChat_Handler,
		},
		{
			MethodName: "JoinChat",
			Handler:    _ChatAPI_JoinChat_Handler,
		},
		{
			MethodName: "LeaveChat",
			Handler:    _ChatAPI_LeaveChat_Handler,
		},
		{
			MethodName: "AddChatUser",
			Handler:    _ChatAPI_AddChatUser_Handler,
		},
		{
			MethodName: "RemoveChatUser",
			Handler:    _ChatAPI_RemoveChatUser_Handler,
		},
		{
			MethodName: "SetUserRoleInCircleChat",
			Handler:    _ChatAPI_SetUserRoleInCircleChat_Handler,
		},
		{
			MethodName: "SendMessage",
			Handler:    _ChatAPI_SendMessage_Handler,
		},
		{
			MethodName: "ReactToMessage",
			Handler:    _ChatAPI_ReactToMessage_Handler,
		},
		{
			MethodName: "DeleteReaction",
			Handler:    _ChatAPI_DeleteReaction_Handler,
		},
		{
			MethodName: "GetReactionUsers",
			Handler:    _ChatAPI_GetReactionUsers_Handler,
		},
		{
			MethodName: "DeleteMessage",
			Handler:    _ChatAPI_DeleteMessage_Handler,
		},
		{
			MethodName: "GetChat",
			Handler:    _ChatAPI_GetChat_Handler,
		},
		{
			MethodName: "DeleteChat",
			Handler:    _ChatAPI_DeleteChat_Handler,
		},
		{
			MethodName: "SearchChats",
			Handler:    _ChatAPI_SearchChats_Handler,
		},
		{
			MethodName: "GetMembers",
			Handler:    _ChatAPI_GetMembers_Handler,
		},
		{
			MethodName: "GetMessage",
			Handler:    _ChatAPI_GetMessage_Handler,
		},
		{
			MethodName: "GetMessages",
			Handler:    _ChatAPI_GetMessages_Handler,
		},
		{
			MethodName: "GetHistory",
			Handler:    _ChatAPI_GetHistory_Handler,
		},
		{
			MethodName: "UserChats",
			Handler:    _ChatAPI_UserChats_Handler,
		},
		{
			MethodName: "Channels",
			Handler:    _ChatAPI_Channels_Handler,
		},
		{
			MethodName: "GetSettings",
			Handler:    _ChatAPI_GetSettings_Handler,
		},
		{
			MethodName: "UpdateSettings",
			Handler:    _ChatAPI_UpdateSettings_Handler,
		},
		{
			MethodName: "SendCircleInvite",
			Handler:    _ChatAPI_SendCircleInvite_Handler,
		},
		{
			MethodName: "SendSeedsExchange",
			Handler:    _ChatAPI_SendSeedsExchange_Handler,
		},
		{
			MethodName: "SendGlitterBomb",
			Handler:    _ChatAPI_SendGlitterBomb_Handler,
		},
		{
			MethodName: "GetFeed",
			Handler:    _ChatAPI_GetFeed_Handler,
		},
		{
			MethodName: "GetRelatedMessages",
			Handler:    _ChatAPI_GetRelatedMessages_Handler,
		},
		{
			MethodName: "GetMemberByID",
			Handler:    _ChatAPI_GetMemberByID_Handler,
		},
		{
			MethodName: "GetUnreadChats",
			Handler:    _ChatAPI_GetUnreadChats_Handler,
		},
		{
			MethodName: "MarkMessageAsRead",
			Handler:    _ChatAPI_MarkMessageAsRead_Handler,
		},
		{
			MethodName: "DeleteUserMessagesInCircles",
			Handler:    _ChatAPI_DeleteUserMessagesInCircles_Handler,
		},
		{
			MethodName: "GetCircleIDs",
			Handler:    _ChatAPI_GetCircleIDs_Handler,
		},
		{
			MethodName: "GetChatID",
			Handler:    _ChatAPI_GetChatID_Handler,
		},
		{
			MethodName: "GetMessagesCount",
			Handler:    _ChatAPI_GetMessagesCount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chat-service/chat/v1/chat.proto",
}

ChatAPI_ServiceDesc is the grpc.ServiceDesc for ChatAPI 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_service_chat_v1_chat_proto protoreflect.FileDescriptor

Functions

func RegisterChatAPIServer

func RegisterChatAPIServer(s grpc.ServiceRegistrar, srv ChatAPIServer)

Types

type AddChatUserRequest

type AddChatUserRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	ChatId string `protobuf:"bytes,2,opt,name=chatId,proto3" json:"chatId,omitempty"`
	// contains filtered or unexported fields
}

func (*AddChatUserRequest) Descriptor deprecated

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

Deprecated: Use AddChatUserRequest.ProtoReflect.Descriptor instead.

func (*AddChatUserRequest) GetChatId

func (x *AddChatUserRequest) GetChatId() string

func (*AddChatUserRequest) GetUserId

func (x *AddChatUserRequest) GetUserId() string

func (*AddChatUserRequest) ProtoMessage

func (*AddChatUserRequest) ProtoMessage()

func (*AddChatUserRequest) ProtoReflect

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

func (*AddChatUserRequest) Reset

func (x *AddChatUserRequest) Reset()

func (*AddChatUserRequest) String

func (x *AddChatUserRequest) String() string

type AppPayload added in v0.2.41

type AppPayload struct {
	AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
	// contains filtered or unexported fields
}

func (*AppPayload) Descriptor deprecated added in v0.2.41

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

Deprecated: Use AppPayload.ProtoReflect.Descriptor instead.

func (*AppPayload) GetAppId added in v0.2.41

func (x *AppPayload) GetAppId() string

func (*AppPayload) ProtoMessage added in v0.2.41

func (*AppPayload) ProtoMessage()

func (*AppPayload) ProtoReflect added in v0.2.41

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

func (*AppPayload) Reset added in v0.2.41

func (x *AppPayload) Reset()

func (*AppPayload) String added in v0.2.41

func (x *AppPayload) String() string

type ChannelInfo

type ChannelInfo struct {
	NumClients uint32 `protobuf:"varint,1,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelInfo) Descriptor deprecated

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

Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead.

func (*ChannelInfo) GetNumClients

func (x *ChannelInfo) GetNumClients() uint32

func (*ChannelInfo) ProtoMessage

func (*ChannelInfo) ProtoMessage()

func (*ChannelInfo) ProtoReflect

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

func (*ChannelInfo) Reset

func (x *ChannelInfo) Reset()

func (*ChannelInfo) String

func (x *ChannelInfo) String() string

type ChannelsRequest

type ChannelsRequest struct {
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelsRequest) Descriptor deprecated

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

Deprecated: Use ChannelsRequest.ProtoReflect.Descriptor instead.

func (*ChannelsRequest) GetPattern

func (x *ChannelsRequest) GetPattern() string

func (*ChannelsRequest) ProtoMessage

func (*ChannelsRequest) ProtoMessage()

func (*ChannelsRequest) ProtoReflect

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

func (*ChannelsRequest) Reset

func (x *ChannelsRequest) Reset()

func (*ChannelsRequest) String

func (x *ChannelsRequest) String() string

type ChannelsResponse

type ChannelsResponse struct {
	Error  *Error          `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Result *ChannelsResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelsResponse) Descriptor deprecated

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

Deprecated: Use ChannelsResponse.ProtoReflect.Descriptor instead.

func (*ChannelsResponse) GetError

func (x *ChannelsResponse) GetError() *Error

func (*ChannelsResponse) GetResult

func (x *ChannelsResponse) GetResult() *ChannelsResult

func (*ChannelsResponse) ProtoMessage

func (*ChannelsResponse) ProtoMessage()

func (*ChannelsResponse) ProtoReflect

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

func (*ChannelsResponse) Reset

func (x *ChannelsResponse) Reset()

func (*ChannelsResponse) String

func (x *ChannelsResponse) String() string

type ChannelsResult

type ChannelsResult struct {
	Channels map[string]*ChannelInfo `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ChannelsResult) Descriptor deprecated

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

Deprecated: Use ChannelsResult.ProtoReflect.Descriptor instead.

func (*ChannelsResult) GetChannels

func (x *ChannelsResult) GetChannels() map[string]*ChannelInfo

func (*ChannelsResult) ProtoMessage

func (*ChannelsResult) ProtoMessage()

func (*ChannelsResult) ProtoReflect

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

func (*ChannelsResult) Reset

func (x *ChannelsResult) Reset()

func (*ChannelsResult) String

func (x *ChannelsResult) String() string

type Chat

type Chat struct {
	Id       string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CursorId string     `protobuf:"bytes,2,opt,name=cursorId,proto3" json:"cursorId,omitempty"`
	Data     *Chat_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Chat) Descriptor deprecated

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

Deprecated: Use Chat.ProtoReflect.Descriptor instead.

func (*Chat) GetCursorId

func (x *Chat) GetCursorId() string

func (*Chat) GetData

func (x *Chat) GetData() *Chat_Data

func (*Chat) GetId

func (x *Chat) GetId() string

func (*Chat) ProtoMessage

func (*Chat) ProtoMessage()

func (*Chat) ProtoReflect

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

func (*Chat) Reset

func (x *Chat) Reset()

func (*Chat) String

func (x *Chat) String() string

type ChatAPIClient

type ChatAPIClient interface {
	CreateChat(ctx context.Context, in *CreateChatRequest, opts ...grpc.CallOption) (*CreateChatResponse, error)
	JoinChat(ctx context.Context, in *JoinChatRequest, opts ...grpc.CallOption) (*Empty, error)
	LeaveChat(ctx context.Context, in *LeaveChatRequest, opts ...grpc.CallOption) (*Empty, error)
	AddChatUser(ctx context.Context, in *AddChatUserRequest, opts ...grpc.CallOption) (*Empty, error)
	RemoveChatUser(ctx context.Context, in *RemoveChatUserRequest, opts ...grpc.CallOption) (*Empty, error)
	SetUserRoleInCircleChat(ctx context.Context, in *SetUserRoleInCircleChatRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
	ReactToMessage(ctx context.Context, in *ReactToMessageRequest, opts ...grpc.CallOption) (*ReactToMessageResponse, error)
	DeleteReaction(ctx context.Context, in *DeleteReactionRequest, opts ...grpc.CallOption) (*DeleteReactionResponse, error)
	GetReactionUsers(ctx context.Context, in *GetReactionUsersRequest, opts ...grpc.CallOption) (*GetReactionUsersResponse, error)
	DeleteMessage(ctx context.Context, in *DeleteMessageRequest, opts ...grpc.CallOption) (*Empty, error)
	GetChat(ctx context.Context, in *GetChatRequest, opts ...grpc.CallOption) (*GetChatResponse, error)
	DeleteChat(ctx context.Context, in *DeleteChatRequest, opts ...grpc.CallOption) (*Empty, error)
	SearchChats(ctx context.Context, in *SearchChatsRequest, opts ...grpc.CallOption) (*ChatsResponse, error)
	GetMembers(ctx context.Context, in *GetMembersRequest, opts ...grpc.CallOption) (*GetMembersResponse, error)
	GetMessage(ctx context.Context, in *GetMessageRequest, opts ...grpc.CallOption) (*GetMessageResponse, error)
	GetMessages(ctx context.Context, in *GetMessagesRequest, opts ...grpc.CallOption) (*GetMessagesResponse, error)
	GetHistory(ctx context.Context, in *GetHistoryRequest, opts ...grpc.CallOption) (*GetHistoryResponse, error)
	UserChats(ctx context.Context, in *UserChatsRequest, opts ...grpc.CallOption) (*ChatsResponse, error)
	Channels(ctx context.Context, in *ChannelsRequest, opts ...grpc.CallOption) (*ChannelsResponse, error)
	GetSettings(ctx context.Context, in *GetSettingsRequest, opts ...grpc.CallOption) (*GetSettingsResponse, error)
	UpdateSettings(ctx context.Context, in *UpdateSettingsRequest, opts ...grpc.CallOption) (*Empty, error)
	SendCircleInvite(ctx context.Context, in *SendCircleInviteRequest, opts ...grpc.CallOption) (*Empty, error)
	SendSeedsExchange(ctx context.Context, in *SendSeedsExchangeRequest, opts ...grpc.CallOption) (*Empty, error)
	SendGlitterBomb(ctx context.Context, in *SendGlitterBombRequest, opts ...grpc.CallOption) (*Empty, error)
	GetFeed(ctx context.Context, in *GetFeedRequest, opts ...grpc.CallOption) (*GetFeedResponse, error)
	GetRelatedMessages(ctx context.Context, in *GetRelatedMessagesRequest, opts ...grpc.CallOption) (*GetRelatedMessagesResponse, error)
	GetMemberByID(ctx context.Context, in *GetMemberByIDRequest, opts ...grpc.CallOption) (*GetMemberByIDResponse, error)
	GetUnreadChats(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUnreadChatsResponse, error)
	MarkMessageAsRead(ctx context.Context, in *MarkMessageAsReadRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteUserMessagesInCircles(ctx context.Context, in *DeleteUserMessagesInCirclesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetCircleIDs(ctx context.Context, in *GetCircleIDsRequest, opts ...grpc.CallOption) (*GetCircleIDsResponse, error)
	GetChatID(ctx context.Context, in *GetChatIDRequest, opts ...grpc.CallOption) (*GetChatIDResponse, error)
	// Statistics
	GetMessagesCount(ctx context.Context, in *GetMessagesCountRequest, opts ...grpc.CallOption) (*GetMessagesCountResponse, error)
}

ChatAPIClient is the client API for ChatAPI 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 NewChatAPIClient

func NewChatAPIClient(cc grpc.ClientConnInterface) ChatAPIClient

type ChatAPIServer

type ChatAPIServer interface {
	CreateChat(context.Context, *CreateChatRequest) (*CreateChatResponse, error)
	JoinChat(context.Context, *JoinChatRequest) (*Empty, error)
	LeaveChat(context.Context, *LeaveChatRequest) (*Empty, error)
	AddChatUser(context.Context, *AddChatUserRequest) (*Empty, error)
	RemoveChatUser(context.Context, *RemoveChatUserRequest) (*Empty, error)
	SetUserRoleInCircleChat(context.Context, *SetUserRoleInCircleChatRequest) (*emptypb.Empty, error)
	SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
	ReactToMessage(context.Context, *ReactToMessageRequest) (*ReactToMessageResponse, error)
	DeleteReaction(context.Context, *DeleteReactionRequest) (*DeleteReactionResponse, error)
	GetReactionUsers(context.Context, *GetReactionUsersRequest) (*GetReactionUsersResponse, error)
	DeleteMessage(context.Context, *DeleteMessageRequest) (*Empty, error)
	GetChat(context.Context, *GetChatRequest) (*GetChatResponse, error)
	DeleteChat(context.Context, *DeleteChatRequest) (*Empty, error)
	SearchChats(context.Context, *SearchChatsRequest) (*ChatsResponse, error)
	GetMembers(context.Context, *GetMembersRequest) (*GetMembersResponse, error)
	GetMessage(context.Context, *GetMessageRequest) (*GetMessageResponse, error)
	GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
	GetHistory(context.Context, *GetHistoryRequest) (*GetHistoryResponse, error)
	UserChats(context.Context, *UserChatsRequest) (*ChatsResponse, error)
	Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error)
	GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
	UpdateSettings(context.Context, *UpdateSettingsRequest) (*Empty, error)
	SendCircleInvite(context.Context, *SendCircleInviteRequest) (*Empty, error)
	SendSeedsExchange(context.Context, *SendSeedsExchangeRequest) (*Empty, error)
	SendGlitterBomb(context.Context, *SendGlitterBombRequest) (*Empty, error)
	GetFeed(context.Context, *GetFeedRequest) (*GetFeedResponse, error)
	GetRelatedMessages(context.Context, *GetRelatedMessagesRequest) (*GetRelatedMessagesResponse, error)
	GetMemberByID(context.Context, *GetMemberByIDRequest) (*GetMemberByIDResponse, error)
	GetUnreadChats(context.Context, *emptypb.Empty) (*GetUnreadChatsResponse, error)
	MarkMessageAsRead(context.Context, *MarkMessageAsReadRequest) (*emptypb.Empty, error)
	DeleteUserMessagesInCircles(context.Context, *DeleteUserMessagesInCirclesRequest) (*emptypb.Empty, error)
	GetCircleIDs(context.Context, *GetCircleIDsRequest) (*GetCircleIDsResponse, error)
	GetChatID(context.Context, *GetChatIDRequest) (*GetChatIDResponse, error)
	// Statistics
	GetMessagesCount(context.Context, *GetMessagesCountRequest) (*GetMessagesCountResponse, error)
	// contains filtered or unexported methods
}

ChatAPIServer is the server API for ChatAPI service. All implementations must embed UnimplementedChatAPIServer for forward compatibility

type ChatComponent

type ChatComponent struct {
	Type ChatComponent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=chat_api.v1.ChatComponent_Type" json:"type,omitempty"`
	// Types that are assignable to Payload:
	//
	//	*ChatComponent_CircleInvite
	//	*ChatComponent_SeedsExchange
	//	*ChatComponent_GlitterBomb
	//	*ChatComponent_User
	//	*ChatComponent_Post
	//	*ChatComponent_Circle
	//	*ChatComponent_App
	Payload isChatComponent_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*ChatComponent) Descriptor deprecated

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

Deprecated: Use ChatComponent.ProtoReflect.Descriptor instead.

func (*ChatComponent) GetApp added in v0.2.41

func (x *ChatComponent) GetApp() *AppPayload

func (*ChatComponent) GetCircle added in v0.2.41

func (x *ChatComponent) GetCircle() *CirclePayload

func (*ChatComponent) GetCircleInvite

func (x *ChatComponent) GetCircleInvite() *CircleInvitePayload

func (*ChatComponent) GetGlitterBomb

func (x *ChatComponent) GetGlitterBomb() *GlitterBombPayload

func (*ChatComponent) GetPayload

func (m *ChatComponent) GetPayload() isChatComponent_Payload

func (*ChatComponent) GetPost added in v0.2.41

func (x *ChatComponent) GetPost() *PostPayload

func (*ChatComponent) GetSeedsExchange

func (x *ChatComponent) GetSeedsExchange() *SeedsExchangePayload

func (*ChatComponent) GetType

func (x *ChatComponent) GetType() ChatComponent_Type

func (*ChatComponent) GetUser added in v0.2.41

func (x *ChatComponent) GetUser() *UserPayload

func (*ChatComponent) ProtoMessage

func (*ChatComponent) ProtoMessage()

func (*ChatComponent) ProtoReflect

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

func (*ChatComponent) Reset

func (x *ChatComponent) Reset()

func (*ChatComponent) String

func (x *ChatComponent) String() string

type ChatComponent_App added in v0.2.41

type ChatComponent_App struct {
	App *AppPayload `protobuf:"bytes,8,opt,name=app,proto3,oneof"`
}

type ChatComponent_Circle added in v0.2.41

type ChatComponent_Circle struct {
	Circle *CirclePayload `protobuf:"bytes,7,opt,name=circle,proto3,oneof"`
}

type ChatComponent_CircleInvite

type ChatComponent_CircleInvite struct {
	CircleInvite *CircleInvitePayload `protobuf:"bytes,2,opt,name=circleInvite,proto3,oneof"`
}

type ChatComponent_GlitterBomb

type ChatComponent_GlitterBomb struct {
	GlitterBomb *GlitterBombPayload `protobuf:"bytes,4,opt,name=glitterBomb,proto3,oneof"`
}

type ChatComponent_Post added in v0.2.41

type ChatComponent_Post struct {
	Post *PostPayload `protobuf:"bytes,6,opt,name=post,proto3,oneof"`
}

type ChatComponent_SeedsExchange

type ChatComponent_SeedsExchange struct {
	SeedsExchange *SeedsExchangePayload `protobuf:"bytes,3,opt,name=seedsExchange,proto3,oneof"`
}

type ChatComponent_Type

type ChatComponent_Type int32
const (
	ChatComponent_Type_Unknown       ChatComponent_Type = 0
	ChatComponent_Type_CircleInvite  ChatComponent_Type = 1
	ChatComponent_Type_SeedsExchange ChatComponent_Type = 2
	ChatComponent_Type_GlitterBomb   ChatComponent_Type = 3
	ChatComponent_Type_User          ChatComponent_Type = 4
	ChatComponent_Type_Post          ChatComponent_Type = 5
	ChatComponent_Type_Circle        ChatComponent_Type = 6
	ChatComponent_Type_App           ChatComponent_Type = 7
)

func (ChatComponent_Type) Descriptor

func (ChatComponent_Type) Enum

func (ChatComponent_Type) EnumDescriptor deprecated

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

Deprecated: Use ChatComponent_Type.Descriptor instead.

func (ChatComponent_Type) Number

func (ChatComponent_Type) String

func (x ChatComponent_Type) String() string

func (ChatComponent_Type) Type

type ChatComponent_User added in v0.2.41

type ChatComponent_User struct {
	User *UserPayload `protobuf:"bytes,5,opt,name=user,proto3,oneof"`
}

type ChatExcerpt

type ChatExcerpt struct {
	Chat     *Chat          `protobuf:"bytes,1,opt,name=chat,proto3" json:"chat,omitempty"`
	Messages []*ChatMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatExcerpt) Descriptor deprecated

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

Deprecated: Use ChatExcerpt.ProtoReflect.Descriptor instead.

func (*ChatExcerpt) GetChat

func (x *ChatExcerpt) GetChat() *Chat

func (*ChatExcerpt) GetMessages

func (x *ChatExcerpt) GetMessages() []*ChatMessage

func (*ChatExcerpt) ProtoMessage

func (*ChatExcerpt) ProtoMessage()

func (*ChatExcerpt) ProtoReflect

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

func (*ChatExcerpt) Reset

func (x *ChatExcerpt) Reset()

func (*ChatExcerpt) String

func (x *ChatExcerpt) String() string

type ChatMember

type ChatMember struct {
	ChatId            string                 `protobuf:"bytes,1,opt,name=chatId,proto3" json:"chatId,omitempty"`
	UserId            string                 `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Role              MemberRole             `protobuf:"varint,3,opt,name=role,proto3,enum=chat_api.v1.MemberRole" json:"role,omitempty"`
	Presence          *ChatMember_Presence   `protobuf:"bytes,4,opt,name=presence,proto3" json:"presence,omitempty"`
	CursorId          string                 `protobuf:"bytes,5,opt,name=cursorId,proto3" json:"cursorId,omitempty"`
	JoinedAt          string                 `protobuf:"bytes,6,opt,name=joinedAt,proto3" json:"joinedAt,omitempty"`
	LastMessageReadAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=lastMessageReadAt,proto3,oneof" json:"lastMessageReadAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatMember) Descriptor deprecated

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

Deprecated: Use ChatMember.ProtoReflect.Descriptor instead.

func (*ChatMember) GetChatId

func (x *ChatMember) GetChatId() string

func (*ChatMember) GetCursorId

func (x *ChatMember) GetCursorId() string

func (*ChatMember) GetJoinedAt

func (x *ChatMember) GetJoinedAt() string

func (*ChatMember) GetLastMessageReadAt

func (x *ChatMember) GetLastMessageReadAt() *timestamppb.Timestamp

func (*ChatMember) GetPresence

func (x *ChatMember) GetPresence() *ChatMember_Presence

func (*ChatMember) GetRole

func (x *ChatMember) GetRole() MemberRole

func (*ChatMember) GetUserId

func (x *ChatMember) GetUserId() string

func (*ChatMember) ProtoMessage

func (*ChatMember) ProtoMessage()

func (*ChatMember) ProtoReflect

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

func (*ChatMember) Reset

func (x *ChatMember) Reset()

func (*ChatMember) String

func (x *ChatMember) String() string

type ChatMember_Presence

type ChatMember_Presence struct {
	IsOnline     bool   `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline,omitempty"`
	LastActivity string `protobuf:"bytes,2,opt,name=lastActivity,proto3" json:"lastActivity,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatMember_Presence) Descriptor deprecated

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

Deprecated: Use ChatMember_Presence.ProtoReflect.Descriptor instead.

func (*ChatMember_Presence) GetIsOnline

func (x *ChatMember_Presence) GetIsOnline() bool

func (*ChatMember_Presence) GetLastActivity

func (x *ChatMember_Presence) GetLastActivity() string

func (*ChatMember_Presence) ProtoMessage

func (*ChatMember_Presence) ProtoMessage()

func (*ChatMember_Presence) ProtoReflect

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

func (*ChatMember_Presence) Reset

func (x *ChatMember_Presence) Reset()

func (*ChatMember_Presence) String

func (x *ChatMember_Presence) String() string

type ChatMessage

type ChatMessage struct {
	Id              string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Kind            ChatMessage_Kind     `protobuf:"varint,2,opt,name=kind,proto3,enum=chat_api.v1.ChatMessage_Kind" json:"kind,omitempty"`
	ChatId          string               `protobuf:"bytes,3,opt,name=chatId,proto3" json:"chatId,omitempty"`
	UserId          string               `protobuf:"bytes,4,opt,name=userId,proto3" json:"userId,omitempty"`
	Content         string               `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	CreatedAt       string               `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	EditedAt        string               `protobuf:"bytes,7,opt,name=editedAt,proto3" json:"editedAt,omitempty"`
	EditedBy        string               `protobuf:"bytes,8,opt,name=editedBy,proto3" json:"editedBy,omitempty"`
	ReplyTo         string               `protobuf:"bytes,9,opt,name=replyTo,proto3" json:"replyTo,omitempty"`
	ReadBy          []string             `protobuf:"bytes,10,rep,name=readBy,proto3" json:"readBy,omitempty"`
	ReactionsShort  []*ReactionShort     `protobuf:"bytes,11,rep,name=reactionsShort,proto3" json:"reactionsShort,omitempty"`
	AttachmentsIds  []string             `protobuf:"bytes,12,rep,name=attachmentsIds,proto3" json:"attachmentsIds,omitempty"`
	Component       *ChatComponent       `protobuf:"bytes,13,opt,name=component,proto3,oneof" json:"component,omitempty"`
	UserMentions    []string             `protobuf:"bytes,15,rep,name=userMentions,proto3" json:"userMentions,omitempty"`
	ContactMentions []string             `protobuf:"bytes,16,rep,name=contactMentions,proto3" json:"contactMentions,omitempty"`
	CircleMentions  []string             `protobuf:"bytes,17,rep,name=circleMentions,proto3" json:"circleMentions,omitempty"`
	AppMentions     []string             `protobuf:"bytes,18,rep,name=appMentions,proto3" json:"appMentions,omitempty"`
	Attachments     []*MessageAttachment `protobuf:"bytes,19,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatMessage) Descriptor deprecated

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

Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead.

func (*ChatMessage) GetAppMentions added in v0.2.29

func (x *ChatMessage) GetAppMentions() []string

func (*ChatMessage) GetAttachments added in v0.2.141

func (x *ChatMessage) GetAttachments() []*MessageAttachment

func (*ChatMessage) GetAttachmentsIds

func (x *ChatMessage) GetAttachmentsIds() []string

func (*ChatMessage) GetChatId

func (x *ChatMessage) GetChatId() string

func (*ChatMessage) GetCircleMentions added in v0.2.29

func (x *ChatMessage) GetCircleMentions() []string

func (*ChatMessage) GetComponent

func (x *ChatMessage) GetComponent() *ChatComponent

func (*ChatMessage) GetContactMentions added in v0.2.29

func (x *ChatMessage) GetContactMentions() []string

func (*ChatMessage) GetContent

func (x *ChatMessage) GetContent() string

func (*ChatMessage) GetCreatedAt

func (x *ChatMessage) GetCreatedAt() string

func (*ChatMessage) GetEditedAt

func (x *ChatMessage) GetEditedAt() string

func (*ChatMessage) GetEditedBy

func (x *ChatMessage) GetEditedBy() string

func (*ChatMessage) GetId

func (x *ChatMessage) GetId() string

func (*ChatMessage) GetKind

func (x *ChatMessage) GetKind() ChatMessage_Kind

func (*ChatMessage) GetReactionsShort

func (x *ChatMessage) GetReactionsShort() []*ReactionShort

func (*ChatMessage) GetReadBy

func (x *ChatMessage) GetReadBy() []string

func (*ChatMessage) GetReplyTo

func (x *ChatMessage) GetReplyTo() string

func (*ChatMessage) GetUserId

func (x *ChatMessage) GetUserId() string

func (*ChatMessage) GetUserMentions added in v0.2.29

func (x *ChatMessage) GetUserMentions() []string

func (*ChatMessage) ProtoMessage

func (*ChatMessage) ProtoMessage()

func (*ChatMessage) ProtoReflect

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

func (*ChatMessage) Reset

func (x *ChatMessage) Reset()

func (*ChatMessage) String

func (x *ChatMessage) String() string

type ChatMessage_Kind

type ChatMessage_Kind int32
const (
	ChatMessage_Unknown   ChatMessage_Kind = 0
	ChatMessage_Text      ChatMessage_Kind = 1
	ChatMessage_Component ChatMessage_Kind = 2
)

func (ChatMessage_Kind) Descriptor

func (ChatMessage_Kind) Enum

func (ChatMessage_Kind) EnumDescriptor deprecated

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

Deprecated: Use ChatMessage_Kind.Descriptor instead.

func (ChatMessage_Kind) Number

func (ChatMessage_Kind) String

func (x ChatMessage_Kind) String() string

func (ChatMessage_Kind) Type

type Chat_Data

type Chat_Data struct {
	Kind                Chat_Kind              `protobuf:"varint,1,opt,name=kind,proto3,enum=chat_api.v1.Chat_Kind" json:"kind,omitempty"`
	Name                string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Title               string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Language            string                 `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
	MembersCount        uint32                 `protobuf:"varint,6,opt,name=membersCount,proto3" json:"membersCount,omitempty"`
	LastMessageAt       *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=lastMessageAt,proto3,oneof" json:"lastMessageAt,omitempty"`
	UnreadMessagesCount uint64                 `protobuf:"varint,8,opt,name=unreadMessagesCount,proto3" json:"unreadMessagesCount,omitempty"`
	Emoji               string                 `protobuf:"bytes,9,opt,name=emoji,proto3" json:"emoji,omitempty"`
	// contains filtered or unexported fields
}

func (*Chat_Data) Descriptor deprecated

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

Deprecated: Use Chat_Data.ProtoReflect.Descriptor instead.

func (*Chat_Data) GetEmoji added in v0.2.153

func (x *Chat_Data) GetEmoji() string

func (*Chat_Data) GetKind

func (x *Chat_Data) GetKind() Chat_Kind

func (*Chat_Data) GetLanguage

func (x *Chat_Data) GetLanguage() string

func (*Chat_Data) GetLastMessageAt

func (x *Chat_Data) GetLastMessageAt() *timestamppb.Timestamp

func (*Chat_Data) GetMembersCount

func (x *Chat_Data) GetMembersCount() uint32

func (*Chat_Data) GetName

func (x *Chat_Data) GetName() string

func (*Chat_Data) GetTitle

func (x *Chat_Data) GetTitle() string

func (*Chat_Data) GetUnreadMessagesCount

func (x *Chat_Data) GetUnreadMessagesCount() uint64

func (*Chat_Data) ProtoMessage

func (*Chat_Data) ProtoMessage()

func (*Chat_Data) ProtoReflect

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

func (*Chat_Data) Reset

func (x *Chat_Data) Reset()

func (*Chat_Data) String

func (x *Chat_Data) String() string

type Chat_Kind

type Chat_Kind int32
const (
	Chat_Unknown Chat_Kind = 0
	Chat_Direct  Chat_Kind = 1
	Chat_Group   Chat_Kind = 2
	Chat_Circle  Chat_Kind = 3
)

func (Chat_Kind) Descriptor

func (Chat_Kind) Descriptor() protoreflect.EnumDescriptor

func (Chat_Kind) Enum

func (x Chat_Kind) Enum() *Chat_Kind

func (Chat_Kind) EnumDescriptor deprecated

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

Deprecated: Use Chat_Kind.Descriptor instead.

func (Chat_Kind) Number

func (x Chat_Kind) Number() protoreflect.EnumNumber

func (Chat_Kind) String

func (x Chat_Kind) String() string

func (Chat_Kind) Type

type Chat_Params

type Chat_Params struct {
	Public   bool   `protobuf:"varint,5,opt,name=public,proto3" json:"public,omitempty"`
	Discover bool   `protobuf:"varint,6,opt,name=discover,proto3" json:"discover,omitempty"`
	Group    string `protobuf:"bytes,7,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*Chat_Params) Descriptor deprecated

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

Deprecated: Use Chat_Params.ProtoReflect.Descriptor instead.

func (*Chat_Params) GetDiscover

func (x *Chat_Params) GetDiscover() bool

func (*Chat_Params) GetGroup

func (x *Chat_Params) GetGroup() string

func (*Chat_Params) GetPublic

func (x *Chat_Params) GetPublic() bool

func (*Chat_Params) ProtoMessage

func (*Chat_Params) ProtoMessage()

func (*Chat_Params) ProtoReflect

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

func (*Chat_Params) Reset

func (x *Chat_Params) Reset()

func (*Chat_Params) String

func (x *Chat_Params) String() string

type ChatsResponse

type ChatsResponse struct {
	Chats    []*Chat   `protobuf:"bytes,1,rep,name=chats,proto3" json:"chats,omitempty"`
	PageInfo *PageInfo `protobuf:"bytes,2,opt,name=pageInfo,proto3" json:"pageInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatsResponse) Descriptor deprecated

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

Deprecated: Use ChatsResponse.ProtoReflect.Descriptor instead.

func (*ChatsResponse) GetChats

func (x *ChatsResponse) GetChats() []*Chat

func (*ChatsResponse) GetPageInfo

func (x *ChatsResponse) GetPageInfo() *PageInfo

func (*ChatsResponse) ProtoMessage

func (*ChatsResponse) ProtoMessage()

func (*ChatsResponse) ProtoReflect

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

func (*ChatsResponse) Reset

func (x *ChatsResponse) Reset()

func (*ChatsResponse) String

func (x *ChatsResponse) String() string

type CircleInvitePayload

type CircleInvitePayload struct {
	CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"`
	UserId   string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*CircleInvitePayload) Descriptor deprecated

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

Deprecated: Use CircleInvitePayload.ProtoReflect.Descriptor instead.

func (*CircleInvitePayload) GetCircleId

func (x *CircleInvitePayload) GetCircleId() string

func (*CircleInvitePayload) GetUserId

func (x *CircleInvitePayload) GetUserId() string

func (*CircleInvitePayload) ProtoMessage

func (*CircleInvitePayload) ProtoMessage()

func (*CircleInvitePayload) ProtoReflect

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

func (*CircleInvitePayload) Reset

func (x *CircleInvitePayload) Reset()

func (*CircleInvitePayload) String

func (x *CircleInvitePayload) String() string

type CirclePayload added in v0.2.41

type CirclePayload struct {
	CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"`
	// contains filtered or unexported fields
}

func (*CirclePayload) Descriptor deprecated added in v0.2.41

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

Deprecated: Use CirclePayload.ProtoReflect.Descriptor instead.

func (*CirclePayload) GetCircleId added in v0.2.41

func (x *CirclePayload) GetCircleId() string

func (*CirclePayload) ProtoMessage added in v0.2.41

func (*CirclePayload) ProtoMessage()

func (*CirclePayload) ProtoReflect added in v0.2.41

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

func (*CirclePayload) Reset added in v0.2.41

func (x *CirclePayload) Reset()

func (*CirclePayload) String added in v0.2.41

func (x *CirclePayload) String() string

type CreateChatRequest

type CreateChatRequest struct {
	Data     *Chat_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	UsersIds []string   `protobuf:"bytes,2,rep,name=usersIds,proto3" json:"usersIds,omitempty"`
	CircleId *string    `protobuf:"bytes,3,opt,name=circleId,proto3,oneof" json:"circleId,omitempty"`
	GroupId  *string    `protobuf:"bytes,4,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateChatRequest) Descriptor deprecated

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

Deprecated: Use CreateChatRequest.ProtoReflect.Descriptor instead.

func (*CreateChatRequest) GetCircleId

func (x *CreateChatRequest) GetCircleId() string

func (*CreateChatRequest) GetData

func (x *CreateChatRequest) GetData() *Chat_Data

func (*CreateChatRequest) GetGroupId

func (x *CreateChatRequest) GetGroupId() string

func (*CreateChatRequest) GetUsersIds

func (x *CreateChatRequest) GetUsersIds() []string

func (*CreateChatRequest) ProtoMessage

func (*CreateChatRequest) ProtoMessage()

func (*CreateChatRequest) ProtoReflect

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

func (*CreateChatRequest) Reset

func (x *CreateChatRequest) Reset()

func (*CreateChatRequest) String

func (x *CreateChatRequest) String() string

type CreateChatResponse

type CreateChatResponse struct {
	Chat *Chat `protobuf:"bytes,3,opt,name=chat,proto3" json:"chat,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateChatResponse) Descriptor deprecated

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

Deprecated: Use CreateChatResponse.ProtoReflect.Descriptor instead.

func (*CreateChatResponse) GetChat

func (x *CreateChatResponse) GetChat() *Chat

func (*CreateChatResponse) ProtoMessage

func (*CreateChatResponse) ProtoMessage()

func (*CreateChatResponse) ProtoReflect

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

func (*CreateChatResponse) Reset

func (x *CreateChatResponse) Reset()

func (*CreateChatResponse) String

func (x *CreateChatResponse) String() string

type DeleteChatRequest

type DeleteChatRequest struct {
	ChatId string `protobuf:"bytes,1,opt,name=chatId,proto3" json:"chatId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteChatRequest) Descriptor deprecated

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

Deprecated: Use DeleteChatRequest.ProtoReflect.Descriptor instead.

func (*DeleteChatRequest) GetChatId

func (x *DeleteChatRequest) GetChatId() string

func (*DeleteChatRequest) ProtoMessage

func (*DeleteChatRequest) ProtoMessage()

func (*DeleteChatRequest) ProtoReflect

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

func (*DeleteChatRequest) Reset

func (x *DeleteChatRequest) Reset()

func (*DeleteChatRequest) String

func (x *DeleteChatRequest) String() string

type DeleteMessageRequest

type DeleteMessageRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteMessageRequest) Descriptor deprecated

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

Deprecated: Use DeleteMessageRequest.ProtoReflect.Descriptor instead.

func (*DeleteMessageRequest) GetId

func (x *DeleteMessageRequest) GetId() string

func (*DeleteMessageRequest) ProtoMessage

func (*DeleteMessageRequest) ProtoMessage()

func (*DeleteMessageRequest) ProtoReflect

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

func (*DeleteMessageRequest) Reset

func (x *DeleteMessageRequest) Reset()

func (*DeleteMessageRequest) String

func (x *DeleteMessageRequest) String() string

type DeleteReactionRequest

type DeleteReactionRequest struct {
	MessageId string `protobuf:"bytes,1,opt,name=messageId,proto3" json:"messageId,omitempty"`
	Reaction  string `protobuf:"bytes,2,opt,name=reaction,proto3" json:"reaction,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteReactionRequest) Descriptor deprecated

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

Deprecated: Use DeleteReactionRequest.ProtoReflect.Descriptor instead.

func (*DeleteReactionRequest) GetMessageId

func (x *DeleteReactionRequest) GetMessageId() string

func (*DeleteReactionRequest) GetReaction

func (x *DeleteReactionRequest) GetReaction() string

func (*DeleteReactionRequest) ProtoMessage

func (*DeleteReactionRequest) ProtoMessage()

func (*DeleteReactionRequest) ProtoReflect

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

func (*DeleteReactionRequest) Reset

func (x *DeleteReactionRequest) Reset()

func (*DeleteReactionRequest) String

func (x *DeleteReactionRequest) String() string

type DeleteReactionResponse

type DeleteReactionResponse struct {
	Reaction *ReactionShort `protobuf:"bytes,1,opt,name=reaction,proto3" json:"reaction,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteReactionResponse) Descriptor deprecated

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

Deprecated: Use DeleteReactionResponse.ProtoReflect.Descriptor instead.

func (*DeleteReactionResponse) GetReaction

func (x *DeleteReactionResponse) GetReaction() *ReactionShort

func (*DeleteReactionResponse) ProtoMessage

func (*DeleteReactionResponse) ProtoMessage()

func (*DeleteReactionResponse) ProtoReflect

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

func (*DeleteReactionResponse) Reset

func (x *DeleteReactionResponse) Reset()

func (*DeleteReactionResponse) String

func (x *DeleteReactionResponse) String() string

type DeleteUserMessagesInCirclesRequest

type DeleteUserMessagesInCirclesRequest struct {
	AuthorId string  `protobuf:"bytes,1,opt,name=authorId,proto3" json:"authorId,omitempty"`
	From     *string `protobuf:"bytes,2,opt,name=from,proto3,oneof" json:"from,omitempty"`
	To       *string `protobuf:"bytes,3,opt,name=to,proto3,oneof" json:"to,omitempty"`
	CircleId *string `protobuf:"bytes,4,opt,name=circleId,proto3,oneof" json:"circleId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserMessagesInCirclesRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserMessagesInCirclesRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserMessagesInCirclesRequest) GetAuthorId

func (x *DeleteUserMessagesInCirclesRequest) GetAuthorId() string

func (*DeleteUserMessagesInCirclesRequest) GetCircleId

func (x *DeleteUserMessagesInCirclesRequest) GetCircleId() string

func (*DeleteUserMessagesInCirclesRequest) GetFrom

func (*DeleteUserMessagesInCirclesRequest) GetTo

func (*DeleteUserMessagesInCirclesRequest) ProtoMessage

func (*DeleteUserMessagesInCirclesRequest) ProtoMessage()

func (*DeleteUserMessagesInCirclesRequest) ProtoReflect

func (*DeleteUserMessagesInCirclesRequest) Reset

func (*DeleteUserMessagesInCirclesRequest) String

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Error

type Error struct {
	Code    uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() uint32

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type GetChatIDRequest added in v0.2.121

type GetChatIDRequest struct {
	CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatIDRequest) Descriptor deprecated added in v0.2.121

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

Deprecated: Use GetChatIDRequest.ProtoReflect.Descriptor instead.

func (*GetChatIDRequest) GetCircleId added in v0.2.121

func (x *GetChatIDRequest) GetCircleId() string

func (*GetChatIDRequest) ProtoMessage added in v0.2.121

func (*GetChatIDRequest) ProtoMessage()

func (*GetChatIDRequest) ProtoReflect added in v0.2.121

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

func (*GetChatIDRequest) Reset added in v0.2.121

func (x *GetChatIDRequest) Reset()

func (*GetChatIDRequest) String added in v0.2.121

func (x *GetChatIDRequest) String() string

type GetChatIDResponse added in v0.2.121

type GetChatIDResponse struct {
	ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatIDResponse) Descriptor deprecated added in v0.2.121

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

Deprecated: Use GetChatIDResponse.ProtoReflect.Descriptor instead.

func (*GetChatIDResponse) GetChatId added in v0.2.121

func (x *GetChatIDResponse) GetChatId() string

func (*GetChatIDResponse) ProtoMessage added in v0.2.121

func (*GetChatIDResponse) ProtoMessage()

func (*GetChatIDResponse) ProtoReflect added in v0.2.121

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

func (*GetChatIDResponse) Reset added in v0.2.121

func (x *GetChatIDResponse) Reset()

func (*GetChatIDResponse) String added in v0.2.121

func (x *GetChatIDResponse) String() string

type GetChatRequest

type GetChatRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatRequest) Descriptor deprecated

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

Deprecated: Use GetChatRequest.ProtoReflect.Descriptor instead.

func (*GetChatRequest) GetId

func (x *GetChatRequest) GetId() string

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

type GetChatResponse

type GetChatResponse struct {
	Chat         *Chat `protobuf:"bytes,1,opt,name=chat,proto3" json:"chat,omitempty"`
	MembersCount int64 `protobuf:"varint,2,opt,name=membersCount,proto3" json:"membersCount,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatResponse) Descriptor deprecated

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

Deprecated: Use GetChatResponse.ProtoReflect.Descriptor instead.

func (*GetChatResponse) GetChat

func (x *GetChatResponse) GetChat() *Chat

func (*GetChatResponse) GetMembersCount

func (x *GetChatResponse) GetMembersCount() int64

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

type GetChatsRequest

type GetChatsRequest struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChatsRequest) Descriptor deprecated

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

Deprecated: Use GetChatsRequest.ProtoReflect.Descriptor instead.

func (*GetChatsRequest) GetIds

func (x *GetChatsRequest) GetIds() []string

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

type GetChatsResponse

type GetChatsResponse struct {
	Chats []*Chat `protobuf:"bytes,1,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() []*Chat

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

type GetCircleIDsRequest added in v0.2.112

type GetCircleIDsRequest struct {
	ChatIds []string `protobuf:"bytes,1,rep,name=chat_ids,json=chatIds,proto3" json:"chat_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCircleIDsRequest) Descriptor deprecated added in v0.2.112

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

Deprecated: Use GetCircleIDsRequest.ProtoReflect.Descriptor instead.

func (*GetCircleIDsRequest) GetChatIds added in v0.2.112

func (x *GetCircleIDsRequest) GetChatIds() []string

func (*GetCircleIDsRequest) ProtoMessage added in v0.2.112

func (*GetCircleIDsRequest) ProtoMessage()

func (*GetCircleIDsRequest) ProtoReflect added in v0.2.112

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

func (*GetCircleIDsRequest) Reset added in v0.2.112

func (x *GetCircleIDsRequest) Reset()

func (*GetCircleIDsRequest) String added in v0.2.112

func (x *GetCircleIDsRequest) String() string

type GetCircleIDsResponse added in v0.2.112

type GetCircleIDsResponse struct {
	ChatIdToCircleId map[string]string `` /* 203-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCircleIDsResponse) Descriptor deprecated added in v0.2.112

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

Deprecated: Use GetCircleIDsResponse.ProtoReflect.Descriptor instead.

func (*GetCircleIDsResponse) GetChatIdToCircleId added in v0.2.112

func (x *GetCircleIDsResponse) GetChatIdToCircleId() map[string]string

func (*GetCircleIDsResponse) ProtoMessage added in v0.2.112

func (*GetCircleIDsResponse) ProtoMessage()

func (*GetCircleIDsResponse) ProtoReflect added in v0.2.112

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

func (*GetCircleIDsResponse) Reset added in v0.2.112

func (x *GetCircleIDsResponse) Reset()

func (*GetCircleIDsResponse) String added in v0.2.112

func (x *GetCircleIDsResponse) String() string

type GetFeedRequest

type GetFeedRequest struct {
	Cursor *PageCursor `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeedRequest) Descriptor deprecated

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

Deprecated: Use GetFeedRequest.ProtoReflect.Descriptor instead.

func (*GetFeedRequest) GetCursor

func (x *GetFeedRequest) GetCursor() *PageCursor

func (*GetFeedRequest) ProtoMessage

func (*GetFeedRequest) ProtoMessage()

func (*GetFeedRequest) ProtoReflect

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

func (*GetFeedRequest) Reset

func (x *GetFeedRequest) Reset()

func (*GetFeedRequest) String

func (x *GetFeedRequest) String() string

type GetFeedResponse

type GetFeedResponse struct {
	UpdatesCount int64          `protobuf:"varint,1,opt,name=updatesCount,proto3" json:"updatesCount,omitempty"`
	Chats        []*ChatExcerpt `protobuf:"bytes,2,rep,name=chats,proto3" json:"chats,omitempty"`
	Page         *PageInfo      `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeedResponse) Descriptor deprecated

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

Deprecated: Use GetFeedResponse.ProtoReflect.Descriptor instead.

func (*GetFeedResponse) GetChats

func (x *GetFeedResponse) GetChats() []*ChatExcerpt

func (*GetFeedResponse) GetPage

func (x *GetFeedResponse) GetPage() *PageInfo

func (*GetFeedResponse) GetUpdatesCount

func (x *GetFeedResponse) GetUpdatesCount() int64

func (*GetFeedResponse) ProtoMessage

func (*GetFeedResponse) ProtoMessage()

func (*GetFeedResponse) ProtoReflect

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

func (*GetFeedResponse) Reset

func (x *GetFeedResponse) Reset()

func (*GetFeedResponse) String

func (x *GetFeedResponse) String() string

type GetHistoryRequest

type GetHistoryRequest struct {
	ChatId string      `protobuf:"bytes,1,opt,name=chatId,proto3" json:"chatId,omitempty"`
	Query  string      `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	Cursor *PageCursor `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHistoryRequest) Descriptor deprecated

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

Deprecated: Use GetHistoryRequest.ProtoReflect.Descriptor instead.

func (*GetHistoryRequest) GetChatId

func (x *GetHistoryRequest) GetChatId() string

func (*GetHistoryRequest) GetCursor

func (x *GetHistoryRequest) GetCursor() *PageCursor

func (*GetHistoryRequest) GetQuery

func (x *GetHistoryRequest) GetQuery() string

func (*GetHistoryRequest) ProtoMessage

func (*GetHistoryRequest) ProtoMessage()

func (*GetHistoryRequest) ProtoReflect

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

func (*GetHistoryRequest) Reset

func (x *GetHistoryRequest) Reset()

func (*GetHistoryRequest) String

func (x *GetHistoryRequest) String() string

type GetHistoryResponse

type GetHistoryResponse struct {
	Messages []*ChatMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	PageInfo *PageInfo      `protobuf:"bytes,2,opt,name=pageInfo,proto3" json:"pageInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHistoryResponse) Descriptor deprecated

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

Deprecated: Use GetHistoryResponse.ProtoReflect.Descriptor instead.

func (*GetHistoryResponse) GetMessages

func (x *GetHistoryResponse) GetMessages() []*ChatMessage

func (*GetHistoryResponse) GetPageInfo

func (x *GetHistoryResponse) GetPageInfo() *PageInfo

func (*GetHistoryResponse) ProtoMessage

func (*GetHistoryResponse) ProtoMessage()

func (*GetHistoryResponse) ProtoReflect

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

func (*GetHistoryResponse) Reset

func (x *GetHistoryResponse) Reset()

func (*GetHistoryResponse) String

func (x *GetHistoryResponse) String() string

type GetMemberByIDRequest

type GetMemberByIDRequest struct {
	ChatId string `protobuf:"bytes,1,opt,name=chatId,proto3" json:"chatId,omitempty"`
	UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMemberByIDRequest) Descriptor deprecated

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

Deprecated: Use GetMemberByIDRequest.ProtoReflect.Descriptor instead.

func (*GetMemberByIDRequest) GetChatId

func (x *GetMemberByIDRequest) GetChatId() string

func (*GetMemberByIDRequest) GetUserId

func (x *GetMemberByIDRequest) GetUserId() string

func (*GetMemberByIDRequest) ProtoMessage

func (*GetMemberByIDRequest) ProtoMessage()

func (*GetMemberByIDRequest) ProtoReflect

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

func (*GetMemberByIDRequest) Reset

func (x *GetMemberByIDRequest) Reset()

func (*GetMemberByIDRequest) String

func (x *GetMemberByIDRequest) String() string

type GetMemberByIDResponse

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

func (*GetMemberByIDResponse) Descriptor deprecated

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

Deprecated: Use GetMemberByIDResponse.ProtoReflect.Descriptor instead.

func (*GetMemberByIDResponse) GetMember

func (x *GetMemberByIDResponse) GetMember() *ChatMember

func (*GetMemberByIDResponse) ProtoMessage

func (*GetMemberByIDResponse) ProtoMessage()

func (*GetMemberByIDResponse) ProtoReflect

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

func (*GetMemberByIDResponse) Reset

func (x *GetMemberByIDResponse) Reset()

func (*GetMemberByIDResponse) String

func (x *GetMemberByIDResponse) String() string

type GetMembersRequest

type GetMembersRequest struct {
	ChatId string      `protobuf:"bytes,1,opt,name=chatId,proto3" json:"chatId,omitempty"`
	Cursor *PageCursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMembersRequest) Descriptor deprecated

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

Deprecated: Use GetMembersRequest.ProtoReflect.Descriptor instead.

func (*GetMembersRequest) GetChatId

func (x *GetMembersRequest) GetChatId() string

func (*GetMembersRequest) GetCursor

func (x *GetMembersRequest) GetCursor() *PageCursor

func (*GetMembersRequest) ProtoMessage

func (*GetMembersRequest) ProtoMessage()

func (*GetMembersRequest) ProtoReflect

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

func (*GetMembersRequest) Reset

func (x *GetMembersRequest) Reset()

func (*GetMembersRequest) String

func (x *GetMembersRequest) String() string

type GetMembersResponse

type GetMembersResponse struct {
	Members  []*ChatMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	PageInfo *PageInfo     `protobuf:"bytes,2,opt,name=pageInfo,proto3" json:"pageInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMembersResponse) Descriptor deprecated

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

Deprecated: Use GetMembersResponse.ProtoReflect.Descriptor instead.

func (*GetMembersResponse) GetMembers

func (x *GetMembersResponse) GetMembers() []*ChatMember

func (*GetMembersResponse) GetPageInfo

func (x *GetMembersResponse) GetPageInfo() *PageInfo

func (*GetMembersResponse) ProtoMessage

func (*GetMembersResponse) ProtoMessage()

func (*GetMembersResponse) ProtoReflect

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

func (*GetMembersResponse) Reset

func (x *GetMembersResponse) Reset()

func (*GetMembersResponse) String

func (x *GetMembersResponse) String() string

type GetMessageRequest

type GetMessageRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessageRequest) Descriptor deprecated

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

Deprecated: Use GetMessageRequest.ProtoReflect.Descriptor instead.

func (*GetMessageRequest) GetId

func (x *GetMessageRequest) GetId() string

func (*GetMessageRequest) ProtoMessage

func (*GetMessageRequest) ProtoMessage()

func (*GetMessageRequest) ProtoReflect

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

func (*GetMessageRequest) Reset

func (x *GetMessageRequest) Reset()

func (*GetMessageRequest) String

func (x *GetMessageRequest) String() string

type GetMessageResponse

type GetMessageResponse struct {
	Message *ChatMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessageResponse) Descriptor deprecated

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

Deprecated: Use GetMessageResponse.ProtoReflect.Descriptor instead.

func (*GetMessageResponse) GetMessage

func (x *GetMessageResponse) GetMessage() *ChatMessage

func (*GetMessageResponse) ProtoMessage

func (*GetMessageResponse) ProtoMessage()

func (*GetMessageResponse) ProtoReflect

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

func (*GetMessageResponse) Reset

func (x *GetMessageResponse) Reset()

func (*GetMessageResponse) String

func (x *GetMessageResponse) String() string

type GetMessagesCountRequest added in v0.2.26

type GetMessagesCountRequest struct {
	CircleId  string                 `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"`
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessagesCountRequest) Descriptor deprecated added in v0.2.26

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

Deprecated: Use GetMessagesCountRequest.ProtoReflect.Descriptor instead.

func (*GetMessagesCountRequest) GetCircleId added in v0.2.26

func (x *GetMessagesCountRequest) GetCircleId() string

func (*GetMessagesCountRequest) GetEndTime added in v0.2.26

func (*GetMessagesCountRequest) GetStartTime added in v0.2.26

func (x *GetMessagesCountRequest) GetStartTime() *timestamppb.Timestamp

func (*GetMessagesCountRequest) ProtoMessage added in v0.2.26

func (*GetMessagesCountRequest) ProtoMessage()

func (*GetMessagesCountRequest) ProtoReflect added in v0.2.26

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

func (*GetMessagesCountRequest) Reset added in v0.2.26

func (x *GetMessagesCountRequest) Reset()

func (*GetMessagesCountRequest) String added in v0.2.26

func (x *GetMessagesCountRequest) String() string

type GetMessagesCountResponse added in v0.2.26

type GetMessagesCountResponse struct {
	TotalCount int64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessagesCountResponse) Descriptor deprecated added in v0.2.26

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

Deprecated: Use GetMessagesCountResponse.ProtoReflect.Descriptor instead.

func (*GetMessagesCountResponse) GetTotalCount added in v0.2.26

func (x *GetMessagesCountResponse) GetTotalCount() int64

func (*GetMessagesCountResponse) ProtoMessage added in v0.2.26

func (*GetMessagesCountResponse) ProtoMessage()

func (*GetMessagesCountResponse) ProtoReflect added in v0.2.26

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

func (*GetMessagesCountResponse) Reset added in v0.2.26

func (x *GetMessagesCountResponse) Reset()

func (*GetMessagesCountResponse) String added in v0.2.26

func (x *GetMessagesCountResponse) String() string

type GetMessagesRequest

type GetMessagesRequest struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessagesRequest) Descriptor deprecated

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

Deprecated: Use GetMessagesRequest.ProtoReflect.Descriptor instead.

func (*GetMessagesRequest) GetIds

func (x *GetMessagesRequest) GetIds() []string

func (*GetMessagesRequest) ProtoMessage

func (*GetMessagesRequest) ProtoMessage()

func (*GetMessagesRequest) ProtoReflect

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

func (*GetMessagesRequest) Reset

func (x *GetMessagesRequest) Reset()

func (*GetMessagesRequest) String

func (x *GetMessagesRequest) String() string

type GetMessagesResponse

type GetMessagesResponse struct {
	Messages []*ChatMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessagesResponse) Descriptor deprecated

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

Deprecated: Use GetMessagesResponse.ProtoReflect.Descriptor instead.

func (*GetMessagesResponse) GetMessages

func (x *GetMessagesResponse) GetMessages() []*ChatMessage

func (*GetMessagesResponse) ProtoMessage

func (*GetMessagesResponse) ProtoMessage()

func (*GetMessagesResponse) ProtoReflect

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

func (*GetMessagesResponse) Reset

func (x *GetMessagesResponse) Reset()

func (*GetMessagesResponse) String

func (x *GetMessagesResponse) String() string

type GetReactionUsersRequest

type GetReactionUsersRequest struct {
	MessageId string      `protobuf:"bytes,1,opt,name=messageId,proto3" json:"messageId,omitempty"`
	Reaction  string      `protobuf:"bytes,2,opt,name=reaction,proto3" json:"reaction,omitempty"`
	Cursor    *PageCursor `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReactionUsersRequest) Descriptor deprecated

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

Deprecated: Use GetReactionUsersRequest.ProtoReflect.Descriptor instead.

func (*GetReactionUsersRequest) GetCursor

func (x *GetReactionUsersRequest) GetCursor() *PageCursor

func (*GetReactionUsersRequest) GetMessageId

func (x *GetReactionUsersRequest) GetMessageId() string

func (*GetReactionUsersRequest) GetReaction

func (x *GetReactionUsersRequest) GetReaction() string

func (*GetReactionUsersRequest) ProtoMessage

func (*GetReactionUsersRequest) ProtoMessage()

func (*GetReactionUsersRequest) ProtoReflect

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

func (*GetReactionUsersRequest) Reset

func (x *GetReactionUsersRequest) Reset()

func (*GetReactionUsersRequest) String

func (x *GetReactionUsersRequest) String() string

type GetReactionUsersResponse

type GetReactionUsersResponse struct {
	UserIds  []string  `protobuf:"bytes,1,rep,name=userIds,proto3" json:"userIds,omitempty"`
	PageInfo *PageInfo `protobuf:"bytes,2,opt,name=pageInfo,proto3" json:"pageInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReactionUsersResponse) Descriptor deprecated

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

Deprecated: Use GetReactionUsersResponse.ProtoReflect.Descriptor instead.

func (*GetReactionUsersResponse) GetPageInfo

func (x *GetReactionUsersResponse) GetPageInfo() *PageInfo

func (*GetReactionUsersResponse) GetUserIds

func (x *GetReactionUsersResponse) GetUserIds() []string

func (*GetReactionUsersResponse) ProtoMessage

func (*GetReactionUsersResponse) ProtoMessage()

func (*GetReactionUsersResponse) ProtoReflect

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

func (*GetReactionUsersResponse) Reset

func (x *GetReactionUsersResponse) Reset()

func (*GetReactionUsersResponse) String

func (x *GetReactionUsersResponse) String() string

type GetRelatedMessagesRequest

type GetRelatedMessagesRequest struct {
	MessageId  string `protobuf:"bytes,1,opt,name=messageId,proto3" json:"messageId,omitempty"`
	MarginSize uint32 `protobuf:"varint,2,opt,name=marginSize,proto3" json:"marginSize,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRelatedMessagesRequest) Descriptor deprecated

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

Deprecated: Use GetRelatedMessagesRequest.ProtoReflect.Descriptor instead.

func (*GetRelatedMessagesRequest) GetMarginSize

func (x *GetRelatedMessagesRequest) GetMarginSize() uint32

func (*GetRelatedMessagesRequest) GetMessageId

func (x *GetRelatedMessagesRequest) GetMessageId() string

func (*GetRelatedMessagesRequest) ProtoMessage

func (*GetRelatedMessagesRequest) ProtoMessage()

func (*GetRelatedMessagesRequest) ProtoReflect

func (*GetRelatedMessagesRequest) Reset

func (x *GetRelatedMessagesRequest) Reset()

func (*GetRelatedMessagesRequest) String

func (x *GetRelatedMessagesRequest) String() string

type GetRelatedMessagesResponse

type GetRelatedMessagesResponse struct {
	Messages []*ChatMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRelatedMessagesResponse) Descriptor deprecated

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

Deprecated: Use GetRelatedMessagesResponse.ProtoReflect.Descriptor instead.

func (*GetRelatedMessagesResponse) GetMessages

func (x *GetRelatedMessagesResponse) GetMessages() []*ChatMessage

func (*GetRelatedMessagesResponse) ProtoMessage

func (*GetRelatedMessagesResponse) ProtoMessage()

func (*GetRelatedMessagesResponse) ProtoReflect

func (*GetRelatedMessagesResponse) Reset

func (x *GetRelatedMessagesResponse) Reset()

func (*GetRelatedMessagesResponse) String

func (x *GetRelatedMessagesResponse) String() string

type GetSettingsRequest

type GetSettingsRequest struct {
	ChatId string `protobuf:"bytes,1,opt,name=chatId,proto3" json:"chatId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSettingsRequest) Descriptor deprecated

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

Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetSettingsRequest) GetChatId

func (x *GetSettingsRequest) GetChatId() string

func (*GetSettingsRequest) ProtoMessage

func (*GetSettingsRequest) ProtoMessage()

func (*GetSettingsRequest) ProtoReflect

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

func (*GetSettingsRequest) Reset

func (x *GetSettingsRequest) Reset()

func (*GetSettingsRequest) String

func (x *GetSettingsRequest) String() string

type GetSettingsResponse

type GetSettingsResponse struct {
	IsMuted bool `protobuf:"varint,1,opt,name=isMuted,proto3" json:"isMuted,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSettingsResponse) Descriptor deprecated

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

Deprecated: Use GetSettingsResponse.ProtoReflect.Descriptor instead.

func (*GetSettingsResponse) GetIsMuted

func (x *GetSettingsResponse) GetIsMuted() bool

func (*GetSettingsResponse) ProtoMessage

func (*GetSettingsResponse) ProtoMessage()

func (*GetSettingsResponse) ProtoReflect

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

func (*GetSettingsResponse) Reset

func (x *GetSettingsResponse) Reset()

func (*GetSettingsResponse) String

func (x *GetSettingsResponse) String() string

type GetUnreadChatsResponse

type GetUnreadChatsResponse struct {
	UnreadChatMetadataList []*UnreadChatMetadata `protobuf:"bytes,1,rep,name=unreadChatMetadataList,proto3" json:"unreadChatMetadataList,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnreadChatsResponse) Descriptor deprecated

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

Deprecated: Use GetUnreadChatsResponse.ProtoReflect.Descriptor instead.

func (*GetUnreadChatsResponse) GetUnreadChatMetadataList

func (x *GetUnreadChatsResponse) GetUnreadChatMetadataList() []*UnreadChatMetadata

func (*GetUnreadChatsResponse) ProtoMessage

func (*GetUnreadChatsResponse) ProtoMessage()

func (*GetUnreadChatsResponse) ProtoReflect

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

func (*GetUnreadChatsResponse) Reset

func (x *GetUnreadChatsResponse) Reset()

func (*GetUnreadChatsResponse) String

func (x *GetUnreadChatsResponse) String() string

type GlitterBombPayload

type GlitterBombPayload struct {
	SenderId string `protobuf:"bytes,1,opt,name=senderId,proto3" json:"senderId,omitempty"`
	// contains filtered or unexported fields
}

func (*GlitterBombPayload) Descriptor deprecated

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

Deprecated: Use GlitterBombPayload.ProtoReflect.Descriptor instead.

func (*GlitterBombPayload) GetSenderId

func (x *GlitterBombPayload) GetSenderId() string

func (*GlitterBombPayload) ProtoMessage

func (*GlitterBombPayload) ProtoMessage()

func (*GlitterBombPayload) ProtoReflect

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

func (*GlitterBombPayload) Reset

func (x *GlitterBombPayload) Reset()

func (*GlitterBombPayload) String

func (x *GlitterBombPayload) String() string

type JoinChatRequest

type JoinChatRequest struct {
	UserId string     `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	ChatId string     `protobuf:"bytes,2,opt,name=chatId,proto3" json:"chatId,omitempty"`
	Role   MemberRole `protobuf:"varint,3,opt,name=role,proto3,enum=chat_api.v1.MemberRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinChatRequest) Descriptor deprecated

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

Deprecated: Use JoinChatRequest.ProtoReflect.Descriptor instead.

func (*JoinChatRequest) GetChatId

func (x *JoinChatRequest) GetChatId() string

func (*JoinChatRequest) GetRole

func (x *JoinChatRequest) GetRole() MemberRole

func (*JoinChatRequest) GetUserId

func (x *JoinChatRequest) GetUserId() string

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

type LeaveChatRequest

type LeaveChatRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	ChatId string `protobuf:"bytes,2,opt,name=chatId,proto3" json:"chatId,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaveChatRequest) Descriptor deprecated

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

Deprecated: Use LeaveChatRequest.ProtoReflect.Descriptor instead.

func (*LeaveChatRequest) GetChatId

func (x *LeaveChatRequest) GetChatId() string

func (*LeaveChatRequest) GetUserId

func (x *LeaveChatRequest) GetUserId() string

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

type MarkMessageAsReadRequest

type MarkMessageAsReadRequest struct {
	MessageId string `protobuf:"bytes,1,opt,name=messageId,proto3" json:"messageId,omitempty"`
	// contains filtered or unexported fields
}

func (*MarkMessageAsReadRequest) Descriptor deprecated

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

Deprecated: Use MarkMessageAsReadRequest.ProtoReflect.Descriptor instead.

func (*MarkMessageAsReadRequest) GetMessageId

func (x *MarkMessageAsReadRequest) GetMessageId() string

func (*MarkMessageAsReadRequest) ProtoMessage

func (*MarkMessageAsReadRequest) ProtoMessage()

func (*MarkMessageAsReadRequest) ProtoReflect

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

func (*MarkMessageAsReadRequest) Reset

func (x *MarkMessageAsReadRequest) Reset()

func (*MarkMessageAsReadRequest) String

func (x *MarkMessageAsReadRequest) String() string

type MemberRole

type MemberRole int32
const (
	MemberRole_None      MemberRole = 0
	MemberRole_Member    MemberRole = 1
	MemberRole_Moderator MemberRole = 2
	MemberRole_Director  MemberRole = 3
)

func (MemberRole) Descriptor

func (MemberRole) Descriptor() protoreflect.EnumDescriptor

func (MemberRole) Enum

func (x MemberRole) Enum() *MemberRole

func (MemberRole) EnumDescriptor deprecated

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

Deprecated: Use MemberRole.Descriptor instead.

func (MemberRole) Number

func (x MemberRole) Number() protoreflect.EnumNumber

func (MemberRole) String

func (x MemberRole) String() string

func (MemberRole) Type

type MessageAttachment added in v0.2.141

type MessageAttachment struct {
	Id                   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContentType          string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	OriginalUrl          string `protobuf:"bytes,3,opt,name=original_url,json=originalUrl,proto3" json:"original_url,omitempty"`
	ThumbnailUrl         string `protobuf:"bytes,4,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"`
	HlsUrl               string `protobuf:"bytes,5,opt,name=hls_url,json=hlsUrl,proto3" json:"hls_url,omitempty"`
	WatermarkedUrl       string `protobuf:"bytes,6,opt,name=watermarked_url,json=watermarkedUrl,proto3" json:"watermarked_url,omitempty"`
	DurationMilliseconds int64  `protobuf:"varint,7,opt,name=duration_milliseconds,json=durationMilliseconds,proto3" json:"duration_milliseconds,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageAttachment) Descriptor deprecated added in v0.2.141

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

Deprecated: Use MessageAttachment.ProtoReflect.Descriptor instead.

func (*MessageAttachment) GetContentType added in v0.2.141

func (x *MessageAttachment) GetContentType() string

func (*MessageAttachment) GetDurationMilliseconds added in v0.2.141

func (x *MessageAttachment) GetDurationMilliseconds() int64

func (*MessageAttachment) GetHlsUrl added in v0.2.141

func (x *MessageAttachment) GetHlsUrl() string

func (*MessageAttachment) GetId added in v0.2.141

func (x *MessageAttachment) GetId() string

func (*MessageAttachment) GetOriginalUrl added in v0.2.141

func (x *MessageAttachment) GetOriginalUrl() string

func (*MessageAttachment) GetThumbnailUrl added in v0.2.141

func (x *MessageAttachment) GetThumbnailUrl() string

func (*MessageAttachment) GetWatermarkedUrl added in v0.2.141

func (x *MessageAttachment) GetWatermarkedUrl() string

func (*MessageAttachment) ProtoMessage added in v0.2.141

func (*MessageAttachment) ProtoMessage()

func (*MessageAttachment) ProtoReflect added in v0.2.141

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

func (*MessageAttachment) Reset added in v0.2.141

func (x *MessageAttachment) Reset()

func (*MessageAttachment) String added in v0.2.141

func (x *MessageAttachment) String() string

type PageCursor

type PageCursor struct {
	CursorId string  `protobuf:"bytes,1,opt,name=cursorId,proto3" json:"cursorId,omitempty"`
	Limit    uint32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Dir      PageDir `protobuf:"varint,3,opt,name=dir,proto3,enum=chat_api.v1.PageDir" json:"dir,omitempty"`
	// contains filtered or unexported fields
}

func (*PageCursor) Descriptor deprecated

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

Deprecated: Use PageCursor.ProtoReflect.Descriptor instead.

func (*PageCursor) GetCursorId

func (x *PageCursor) GetCursorId() string

func (*PageCursor) GetDir

func (x *PageCursor) GetDir() PageDir

func (*PageCursor) GetLimit

func (x *PageCursor) GetLimit() uint32

func (*PageCursor) ProtoMessage

func (*PageCursor) ProtoMessage()

func (*PageCursor) ProtoReflect

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

func (*PageCursor) Reset

func (x *PageCursor) Reset()

func (*PageCursor) String

func (x *PageCursor) String() string

type PageDir

type PageDir int32
const (
	PageDir_Forward  PageDir = 0
	PageDir_Backward PageDir = 1
)

func (PageDir) Descriptor

func (PageDir) Descriptor() protoreflect.EnumDescriptor

func (PageDir) Enum

func (x PageDir) Enum() *PageDir

func (PageDir) EnumDescriptor deprecated

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

Deprecated: Use PageDir.Descriptor instead.

func (PageDir) Number

func (x PageDir) Number() protoreflect.EnumNumber

func (PageDir) String

func (x PageDir) String() string

func (PageDir) Type

func (PageDir) Type() protoreflect.EnumType

type PageInfo

type PageInfo struct {
	FirstId *string `protobuf:"bytes,1,opt,name=firstId,proto3,oneof" json:"firstId,omitempty"`
	LastId  *string `protobuf:"bytes,2,opt,name=lastId,proto3,oneof" json:"lastId,omitempty"`
	HasPrev bool    `protobuf:"varint,3,opt,name=hasPrev,proto3" json:"hasPrev,omitempty"`
	HasNext bool    `protobuf:"varint,4,opt,name=hasNext,proto3" json:"hasNext,omitempty"`
	Length  uint32  `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo) Descriptor deprecated

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

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetFirstId

func (x *PageInfo) GetFirstId() string

func (*PageInfo) GetHasNext

func (x *PageInfo) GetHasNext() bool

func (*PageInfo) GetHasPrev

func (x *PageInfo) GetHasPrev() bool

func (*PageInfo) GetLastId

func (x *PageInfo) GetLastId() string

func (*PageInfo) GetLength

func (x *PageInfo) GetLength() uint32

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

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

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

type PostPayload added in v0.2.41

type PostPayload struct {
	PostId string `protobuf:"bytes,1,opt,name=postId,proto3" json:"postId,omitempty"`
	// contains filtered or unexported fields
}

func (*PostPayload) Descriptor deprecated added in v0.2.41

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

Deprecated: Use PostPayload.ProtoReflect.Descriptor instead.

func (*PostPayload) GetPostId added in v0.2.41

func (x *PostPayload) GetPostId() string

func (*PostPayload) ProtoMessage added in v0.2.41

func (*PostPayload) ProtoMessage()

func (*PostPayload) ProtoReflect added in v0.2.41

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

func (*PostPayload) Reset added in v0.2.41

func (x *PostPayload) Reset()

func (*PostPayload) String added in v0.2.41

func (x *PostPayload) String() string

type ReactToMessageRequest

type ReactToMessageRequest struct {
	MessageId string `protobuf:"bytes,1,opt,name=messageId,proto3" json:"messageId,omitempty"`
	Reaction  string `protobuf:"bytes,2,opt,name=reaction,proto3" json:"reaction,omitempty"`
	// contains filtered or unexported fields
}

func (*ReactToMessageRequest) Descriptor deprecated

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

Deprecated: Use ReactToMessageRequest.ProtoReflect.Descriptor instead.

func (*ReactToMessageRequest) GetMessageId

func (x *ReactToMessageRequest) GetMessageId() string

func (*ReactToMessageRequest) GetReaction

func (x *ReactToMessageRequest) GetReaction() string

func (*ReactToMessageRequest) ProtoMessage

func (*ReactToMessageRequest) ProtoMessage()

func (*ReactToMessageRequest) ProtoReflect

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

func (*ReactToMessageRequest) Reset

func (x *ReactToMessageRequest) Reset()

func (*ReactToMessageRequest) String

func (x *ReactToMessageRequest) String() string

type ReactToMessageResponse

type ReactToMessageResponse struct {
	Reaction *ReactionShort `protobuf:"bytes,1,opt,name=reaction,proto3" json:"reaction,omitempty"`
	// contains filtered or unexported fields
}

func (*ReactToMessageResponse) Descriptor deprecated

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

Deprecated: Use ReactToMessageResponse.ProtoReflect.Descriptor instead.

func (*ReactToMessageResponse) GetReaction

func (x *ReactToMessageResponse) GetReaction() *ReactionShort

func (*ReactToMessageResponse) ProtoMessage

func (*ReactToMessageResponse) ProtoMessage()

func (*ReactToMessageResponse) ProtoReflect

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

func (*ReactToMessageResponse) Reset

func (x *ReactToMessageResponse) Reset()

func (*ReactToMessageResponse) String

func (x *ReactToMessageResponse) String() string

type ReactionShort

type ReactionShort struct {
	Reaction   string `protobuf:"bytes,1,opt,name=reaction,proto3" json:"reaction,omitempty"`
	Count      uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	HasReacted bool   `protobuf:"varint,3,opt,name=hasReacted,proto3" json:"hasReacted,omitempty"`
	// contains filtered or unexported fields
}

func (*ReactionShort) Descriptor deprecated

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

Deprecated: Use ReactionShort.ProtoReflect.Descriptor instead.

func (*ReactionShort) GetCount

func (x *ReactionShort) GetCount() uint32

func (*ReactionShort) GetHasReacted

func (x *ReactionShort) GetHasReacted() bool

func (*ReactionShort) GetReaction

func (x *ReactionShort) GetReaction() string

func (*ReactionShort) ProtoMessage

func (*ReactionShort) ProtoMessage()

func (*ReactionShort) ProtoReflect

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

func (*ReactionShort) Reset

func (x *ReactionShort) Reset()

func (*ReactionShort) String

func (x *ReactionShort) String() string

type RemoveChatUserRequest

type RemoveChatUserRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	ChatId string `protobuf:"bytes,2,opt,name=chatId,proto3" json:"chatId,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveChatUserRequest) Descriptor deprecated

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

Deprecated: Use RemoveChatUserRequest.ProtoReflect.Descriptor instead.

func (*RemoveChatUserRequest) GetChatId

func (x *RemoveChatUserRequest) GetChatId() string

func (*RemoveChatUserRequest) GetUserId

func (x *RemoveChatUserRequest) GetUserId() string

func (*RemoveChatUserRequest) ProtoMessage

func (*RemoveChatUserRequest) ProtoMessage()

func (*RemoveChatUserRequest) ProtoReflect

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

func (*RemoveChatUserRequest) Reset

func (x *RemoveChatUserRequest) Reset()

func (*RemoveChatUserRequest) String

func (x *RemoveChatUserRequest) String() string

type SearchChatsRequest

type SearchChatsRequest struct {
	Query  string      `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Kinds  []Chat_Kind `protobuf:"varint,2,rep,packed,name=kinds,proto3,enum=chat_api.v1.Chat_Kind" json:"kinds,omitempty"`
	Cursor *PageCursor `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchChatsRequest) Descriptor deprecated

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

Deprecated: Use SearchChatsRequest.ProtoReflect.Descriptor instead.

func (*SearchChatsRequest) GetCursor

func (x *SearchChatsRequest) GetCursor() *PageCursor

func (*SearchChatsRequest) GetKinds

func (x *SearchChatsRequest) GetKinds() []Chat_Kind

func (*SearchChatsRequest) GetQuery

func (x *SearchChatsRequest) GetQuery() string

func (*SearchChatsRequest) ProtoMessage

func (*SearchChatsRequest) ProtoMessage()

func (*SearchChatsRequest) ProtoReflect

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

func (*SearchChatsRequest) Reset

func (x *SearchChatsRequest) Reset()

func (*SearchChatsRequest) String

func (x *SearchChatsRequest) String() string

type SeedsExchangePayload

type SeedsExchangePayload struct {
	OfferId string `protobuf:"bytes,1,opt,name=offerId,proto3" json:"offerId,omitempty"`
	UserId  string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*SeedsExchangePayload) Descriptor deprecated

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

Deprecated: Use SeedsExchangePayload.ProtoReflect.Descriptor instead.

func (*SeedsExchangePayload) GetOfferId

func (x *SeedsExchangePayload) GetOfferId() string

func (*SeedsExchangePayload) GetUserId

func (x *SeedsExchangePayload) GetUserId() string

func (*SeedsExchangePayload) ProtoMessage

func (*SeedsExchangePayload) ProtoMessage()

func (*SeedsExchangePayload) ProtoReflect

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

func (*SeedsExchangePayload) Reset

func (x *SeedsExchangePayload) Reset()

func (*SeedsExchangePayload) String

func (x *SeedsExchangePayload) String() string

type SendCircleInviteRequest

type SendCircleInviteRequest struct {
	CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"`
	UserId   string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*SendCircleInviteRequest) Descriptor deprecated

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

Deprecated: Use SendCircleInviteRequest.ProtoReflect.Descriptor instead.

func (*SendCircleInviteRequest) GetCircleId

func (x *SendCircleInviteRequest) GetCircleId() string

func (*SendCircleInviteRequest) GetUserId

func (x *SendCircleInviteRequest) GetUserId() string

func (*SendCircleInviteRequest) ProtoMessage

func (*SendCircleInviteRequest) ProtoMessage()

func (*SendCircleInviteRequest) ProtoReflect

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

func (*SendCircleInviteRequest) Reset

func (x *SendCircleInviteRequest) Reset()

func (*SendCircleInviteRequest) String

func (x *SendCircleInviteRequest) String() string

type SendGlitterBombRequest

type SendGlitterBombRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*SendGlitterBombRequest) Descriptor deprecated

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

Deprecated: Use SendGlitterBombRequest.ProtoReflect.Descriptor instead.

func (*SendGlitterBombRequest) GetUserId

func (x *SendGlitterBombRequest) GetUserId() string

func (*SendGlitterBombRequest) ProtoMessage

func (*SendGlitterBombRequest) ProtoMessage()

func (*SendGlitterBombRequest) ProtoReflect

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

func (*SendGlitterBombRequest) Reset

func (x *SendGlitterBombRequest) Reset()

func (*SendGlitterBombRequest) String

func (x *SendGlitterBombRequest) String() string

type SendMessageRequest

type SendMessageRequest struct {
	Kind            ChatMessage_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=chat_api.v1.ChatMessage_Kind" json:"kind,omitempty"`
	Content         string           `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	ChatId          string           `protobuf:"bytes,3,opt,name=chatId,proto3" json:"chatId,omitempty"`
	ReplyTo         *string          `protobuf:"bytes,4,opt,name=replyTo,proto3,oneof" json:"replyTo,omitempty"`
	AttachmentsIds  []string         `protobuf:"bytes,5,rep,name=attachmentsIds,proto3" json:"attachmentsIds,omitempty"`
	UserMentions    []string         `protobuf:"bytes,6,rep,name=userMentions,proto3" json:"userMentions,omitempty"`
	ContactMentions []string         `protobuf:"bytes,7,rep,name=contactMentions,proto3" json:"contactMentions,omitempty"`
	CircleMentions  []string         `protobuf:"bytes,8,rep,name=circleMentions,proto3" json:"circleMentions,omitempty"`
	AppMentions     []string         `protobuf:"bytes,9,rep,name=appMentions,proto3" json:"appMentions,omitempty"`
	Component       *ChatComponent   `protobuf:"bytes,10,opt,name=component,proto3,oneof" json:"component,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageRequest) Descriptor deprecated

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

Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.

func (*SendMessageRequest) GetAppMentions added in v0.2.29

func (x *SendMessageRequest) GetAppMentions() []string

func (*SendMessageRequest) GetAttachmentsIds

func (x *SendMessageRequest) GetAttachmentsIds() []string

func (*SendMessageRequest) GetChatId

func (x *SendMessageRequest) GetChatId() string

func (*SendMessageRequest) GetCircleMentions added in v0.2.29

func (x *SendMessageRequest) GetCircleMentions() []string

func (*SendMessageRequest) GetComponent added in v0.2.41

func (x *SendMessageRequest) GetComponent() *ChatComponent

func (*SendMessageRequest) GetContactMentions added in v0.2.29

func (x *SendMessageRequest) GetContactMentions() []string

func (*SendMessageRequest) GetContent

func (x *SendMessageRequest) GetContent() string

func (*SendMessageRequest) GetKind

func (x *SendMessageRequest) GetKind() ChatMessage_Kind

func (*SendMessageRequest) GetReplyTo

func (x *SendMessageRequest) GetReplyTo() string

func (*SendMessageRequest) GetUserMentions added in v0.2.29

func (x *SendMessageRequest) GetUserMentions() []string

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) ProtoReflect

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

func (*SendMessageRequest) Reset

func (x *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (x *SendMessageRequest) String() string

type SendMessageResponse

type SendMessageResponse struct {
	Message *ChatMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageResponse) Descriptor deprecated

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

Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.

func (*SendMessageResponse) GetMessage

func (x *SendMessageResponse) GetMessage() *ChatMessage

func (*SendMessageResponse) ProtoMessage

func (*SendMessageResponse) ProtoMessage()

func (*SendMessageResponse) ProtoReflect

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

func (*SendMessageResponse) Reset

func (x *SendMessageResponse) Reset()

func (*SendMessageResponse) String

func (x *SendMessageResponse) String() string

type SendSeedsExchangeRequest

type SendSeedsExchangeRequest struct {
	OfferId string `protobuf:"bytes,1,opt,name=offerId,proto3" json:"offerId,omitempty"`
	UserId  string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*SendSeedsExchangeRequest) Descriptor deprecated

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

Deprecated: Use SendSeedsExchangeRequest.ProtoReflect.Descriptor instead.

func (*SendSeedsExchangeRequest) GetOfferId

func (x *SendSeedsExchangeRequest) GetOfferId() string

func (*SendSeedsExchangeRequest) GetUserId

func (x *SendSeedsExchangeRequest) GetUserId() string

func (*SendSeedsExchangeRequest) ProtoMessage

func (*SendSeedsExchangeRequest) ProtoMessage()

func (*SendSeedsExchangeRequest) ProtoReflect

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

func (*SendSeedsExchangeRequest) Reset

func (x *SendSeedsExchangeRequest) Reset()

func (*SendSeedsExchangeRequest) String

func (x *SendSeedsExchangeRequest) String() string

type SetUserRoleInCircleChatRequest added in v0.2.116

type SetUserRoleInCircleChatRequest struct {
	UserId   string     `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	CircleId string     `protobuf:"bytes,2,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"`
	Role     MemberRole `protobuf:"varint,3,opt,name=role,proto3,enum=chat_api.v1.MemberRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUserRoleInCircleChatRequest) Descriptor deprecated added in v0.2.116

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

Deprecated: Use SetUserRoleInCircleChatRequest.ProtoReflect.Descriptor instead.

func (*SetUserRoleInCircleChatRequest) GetCircleId added in v0.2.116

func (x *SetUserRoleInCircleChatRequest) GetCircleId() string

func (*SetUserRoleInCircleChatRequest) GetRole added in v0.2.116

func (*SetUserRoleInCircleChatRequest) GetUserId added in v0.2.116

func (x *SetUserRoleInCircleChatRequest) GetUserId() string

func (*SetUserRoleInCircleChatRequest) ProtoMessage added in v0.2.116

func (*SetUserRoleInCircleChatRequest) ProtoMessage()

func (*SetUserRoleInCircleChatRequest) ProtoReflect added in v0.2.116

func (*SetUserRoleInCircleChatRequest) Reset added in v0.2.116

func (x *SetUserRoleInCircleChatRequest) Reset()

func (*SetUserRoleInCircleChatRequest) String added in v0.2.116

type UnimplementedChatAPIServer

type UnimplementedChatAPIServer struct {
}

UnimplementedChatAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedChatAPIServer) AddChatUser

func (UnimplementedChatAPIServer) Channels

func (UnimplementedChatAPIServer) CreateChat

func (UnimplementedChatAPIServer) DeleteChat

func (UnimplementedChatAPIServer) DeleteMessage

func (UnimplementedChatAPIServer) DeleteReaction

func (UnimplementedChatAPIServer) DeleteUserMessagesInCircles

func (UnimplementedChatAPIServer) GetChat

func (UnimplementedChatAPIServer) GetChatID added in v0.2.121

func (UnimplementedChatAPIServer) GetCircleIDs added in v0.2.112

func (UnimplementedChatAPIServer) GetFeed

func (UnimplementedChatAPIServer) GetHistory

func (UnimplementedChatAPIServer) GetMemberByID

func (UnimplementedChatAPIServer) GetMembers

func (UnimplementedChatAPIServer) GetMessage

func (UnimplementedChatAPIServer) GetMessages

func (UnimplementedChatAPIServer) GetMessagesCount added in v0.2.26

func (UnimplementedChatAPIServer) GetReactionUsers

func (UnimplementedChatAPIServer) GetSettings

func (UnimplementedChatAPIServer) GetUnreadChats

func (UnimplementedChatAPIServer) JoinChat

func (UnimplementedChatAPIServer) LeaveChat

func (UnimplementedChatAPIServer) MarkMessageAsRead

func (UnimplementedChatAPIServer) ReactToMessage

func (UnimplementedChatAPIServer) RemoveChatUser

func (UnimplementedChatAPIServer) SearchChats

func (UnimplementedChatAPIServer) SendCircleInvite

func (UnimplementedChatAPIServer) SendGlitterBomb

func (UnimplementedChatAPIServer) SendMessage

func (UnimplementedChatAPIServer) SendSeedsExchange

func (UnimplementedChatAPIServer) SetUserRoleInCircleChat added in v0.2.116

func (UnimplementedChatAPIServer) UpdateSettings

func (UnimplementedChatAPIServer) UserChats

type UnreadChatMetadata

type UnreadChatMetadata struct {
	ChatId        string                 `protobuf:"bytes,1,opt,name=chatId,proto3" json:"chatId,omitempty"`
	Kind          Chat_Kind              `protobuf:"varint,2,opt,name=kind,proto3,enum=chat_api.v1.Chat_Kind" json:"kind,omitempty"`
	LastMessageAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=lastMessageAt,proto3" json:"lastMessageAt,omitempty"`
	// contains filtered or unexported fields
}

func (*UnreadChatMetadata) Descriptor deprecated

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

Deprecated: Use UnreadChatMetadata.ProtoReflect.Descriptor instead.

func (*UnreadChatMetadata) GetChatId

func (x *UnreadChatMetadata) GetChatId() string

func (*UnreadChatMetadata) GetKind

func (x *UnreadChatMetadata) GetKind() Chat_Kind

func (*UnreadChatMetadata) GetLastMessageAt

func (x *UnreadChatMetadata) GetLastMessageAt() *timestamppb.Timestamp

func (*UnreadChatMetadata) ProtoMessage

func (*UnreadChatMetadata) ProtoMessage()

func (*UnreadChatMetadata) ProtoReflect

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

func (*UnreadChatMetadata) Reset

func (x *UnreadChatMetadata) Reset()

func (*UnreadChatMetadata) String

func (x *UnreadChatMetadata) String() string

type UnsafeChatAPIServer

type UnsafeChatAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeChatAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChatAPIServer will result in compilation errors.

type UpdateSettingsRequest

type UpdateSettingsRequest struct {
	ChatId  string  `protobuf:"bytes,1,opt,name=chatId,proto3" json:"chatId,omitempty"`
	Name    *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	IsMuted *bool   `protobuf:"varint,3,opt,name=isMuted,proto3,oneof" json:"isMuted,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSettingsRequest) Descriptor deprecated

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

Deprecated: Use UpdateSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateSettingsRequest) GetChatId

func (x *UpdateSettingsRequest) GetChatId() string

func (*UpdateSettingsRequest) GetIsMuted

func (x *UpdateSettingsRequest) GetIsMuted() bool

func (*UpdateSettingsRequest) GetName

func (x *UpdateSettingsRequest) GetName() string

func (*UpdateSettingsRequest) ProtoMessage

func (*UpdateSettingsRequest) ProtoMessage()

func (*UpdateSettingsRequest) ProtoReflect

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

func (*UpdateSettingsRequest) Reset

func (x *UpdateSettingsRequest) Reset()

func (*UpdateSettingsRequest) String

func (x *UpdateSettingsRequest) String() string

type UserChatsRequest

type UserChatsRequest struct {
	UserId string      `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Cursor *PageCursor `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*UserChatsRequest) Descriptor deprecated

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

Deprecated: Use UserChatsRequest.ProtoReflect.Descriptor instead.

func (*UserChatsRequest) GetCursor

func (x *UserChatsRequest) GetCursor() *PageCursor

func (*UserChatsRequest) GetUserId

func (x *UserChatsRequest) GetUserId() string

func (*UserChatsRequest) ProtoMessage

func (*UserChatsRequest) ProtoMessage()

func (*UserChatsRequest) ProtoReflect

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

func (*UserChatsRequest) Reset

func (x *UserChatsRequest) Reset()

func (*UserChatsRequest) String

func (x *UserChatsRequest) String() string

type UserPayload added in v0.2.41

type UserPayload struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*UserPayload) Descriptor deprecated added in v0.2.41

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

Deprecated: Use UserPayload.ProtoReflect.Descriptor instead.

func (*UserPayload) GetUserId added in v0.2.41

func (x *UserPayload) GetUserId() string

func (*UserPayload) ProtoMessage added in v0.2.41

func (*UserPayload) ProtoMessage()

func (*UserPayload) ProtoReflect added in v0.2.41

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

func (*UserPayload) Reset added in v0.2.41

func (x *UserPayload) Reset()

func (*UserPayload) String added in v0.2.41

func (x *UserPayload) String() string

Directories

Path Synopsis
Package chat_mock is a generated GoMock package.
Package chat_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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