Documentation ¶
Index ¶
- Variables
- func RegisterChatAPIServer(s grpc.ServiceRegistrar, srv ChatAPIServer)
- type AddChatUserRequest
- func (*AddChatUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddChatUserRequest) GetChatId() string
- func (x *AddChatUserRequest) GetUserId() string
- func (*AddChatUserRequest) ProtoMessage()
- func (x *AddChatUserRequest) ProtoReflect() protoreflect.Message
- func (x *AddChatUserRequest) Reset()
- func (x *AddChatUserRequest) String() string
- type AppPayload
- type BanUserRequest
- func (*BanUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BanUserRequest) GetCircleId() string
- func (x *BanUserRequest) GetUserId() string
- func (*BanUserRequest) ProtoMessage()
- func (x *BanUserRequest) ProtoReflect() protoreflect.Message
- func (x *BanUserRequest) Reset()
- func (x *BanUserRequest) String() string
- type ChannelInfo
- type ChannelsRequest
- type ChannelsResponse
- func (*ChannelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelsResponse) GetError() *Error
- func (x *ChannelsResponse) GetResult() *ChannelsResult
- func (*ChannelsResponse) ProtoMessage()
- func (x *ChannelsResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelsResponse) Reset()
- func (x *ChannelsResponse) String() string
- type ChannelsResult
- type Chat
- type ChatAPIClient
- type ChatAPIServer
- type ChatComponent
- func (*ChatComponent) Descriptor() ([]byte, []int)deprecated
- func (x *ChatComponent) GetApp() *AppPayload
- func (x *ChatComponent) GetCircle() *CirclePayload
- func (x *ChatComponent) GetCircleInvite() *CircleInvitePayload
- func (x *ChatComponent) GetGlitterBomb() *GlitterBombPayload
- func (m *ChatComponent) GetPayload() isChatComponent_Payload
- func (x *ChatComponent) GetPost() *PostPayload
- func (x *ChatComponent) GetSeedsExchange() *SeedsExchangePayload
- func (x *ChatComponent) GetType() ChatComponent_Type
- func (x *ChatComponent) GetUser() *UserPayload
- func (*ChatComponent) ProtoMessage()
- func (x *ChatComponent) ProtoReflect() protoreflect.Message
- func (x *ChatComponent) Reset()
- func (x *ChatComponent) String() string
- type ChatComponent_App
- type ChatComponent_Circle
- type ChatComponent_CircleInvite
- type ChatComponent_GlitterBomb
- type ChatComponent_Post
- type ChatComponent_SeedsExchange
- type ChatComponent_Type
- func (ChatComponent_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ChatComponent_Type) Enum() *ChatComponent_Type
- func (ChatComponent_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChatComponent_Type) Number() protoreflect.EnumNumber
- func (x ChatComponent_Type) String() string
- func (ChatComponent_Type) Type() protoreflect.EnumType
- type ChatComponent_User
- type ChatExcerpt
- func (*ChatExcerpt) Descriptor() ([]byte, []int)deprecated
- func (x *ChatExcerpt) GetChat() *Chat
- func (x *ChatExcerpt) GetMessages() []*ChatMessage
- func (*ChatExcerpt) ProtoMessage()
- func (x *ChatExcerpt) ProtoReflect() protoreflect.Message
- func (x *ChatExcerpt) Reset()
- func (x *ChatExcerpt) String() string
- type ChatMember
- func (*ChatMember) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMember) GetChatId() string
- func (x *ChatMember) GetCursorId() string
- func (x *ChatMember) GetJoinedAt() string
- func (x *ChatMember) GetLastMessageReadAt() *timestamppb.Timestamp
- func (x *ChatMember) GetPresence() *ChatMember_Presence
- func (x *ChatMember) GetRole() MemberRole
- func (x *ChatMember) GetUserId() string
- func (*ChatMember) ProtoMessage()
- func (x *ChatMember) ProtoReflect() protoreflect.Message
- func (x *ChatMember) Reset()
- func (x *ChatMember) String() string
- type ChatMember_Presence
- func (*ChatMember_Presence) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMember_Presence) GetIsOnline() bool
- func (x *ChatMember_Presence) GetLastActivity() string
- func (*ChatMember_Presence) ProtoMessage()
- func (x *ChatMember_Presence) ProtoReflect() protoreflect.Message
- func (x *ChatMember_Presence) Reset()
- func (x *ChatMember_Presence) String() string
- type ChatMessage
- func (*ChatMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMessage) GetAppMentions() []string
- func (x *ChatMessage) GetAttachmentsIds() []string
- func (x *ChatMessage) GetChatId() string
- func (x *ChatMessage) GetCircleMentions() []string
- func (x *ChatMessage) GetComponent() *ChatComponent
- func (x *ChatMessage) GetContactMentions() []string
- func (x *ChatMessage) GetContent() string
- func (x *ChatMessage) GetCreatedAt() string
- func (x *ChatMessage) GetEditedAt() string
- func (x *ChatMessage) GetEditedBy() string
- func (x *ChatMessage) GetId() string
- func (x *ChatMessage) GetKind() ChatMessage_Kind
- func (x *ChatMessage) GetReactionsShort() []*ReactionShort
- func (x *ChatMessage) GetReadBy() []string
- func (x *ChatMessage) GetReplyTo() string
- func (x *ChatMessage) GetUserId() string
- func (x *ChatMessage) GetUserMentions() []string
- func (*ChatMessage) ProtoMessage()
- func (x *ChatMessage) ProtoReflect() protoreflect.Message
- func (x *ChatMessage) Reset()
- func (x *ChatMessage) String() string
- type ChatMessage_Kind
- func (ChatMessage_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x ChatMessage_Kind) Enum() *ChatMessage_Kind
- func (ChatMessage_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChatMessage_Kind) Number() protoreflect.EnumNumber
- func (x ChatMessage_Kind) String() string
- func (ChatMessage_Kind) Type() protoreflect.EnumType
- type Chat_Data
- func (*Chat_Data) Descriptor() ([]byte, []int)deprecated
- func (x *Chat_Data) GetImageUrl() string
- func (x *Chat_Data) GetKind() Chat_Kind
- func (x *Chat_Data) GetLanguage() string
- func (x *Chat_Data) GetLastMessageAt() *timestamppb.Timestamp
- func (x *Chat_Data) GetMembersCount() uint32
- func (x *Chat_Data) GetName() string
- func (x *Chat_Data) GetTitle() string
- func (x *Chat_Data) GetUnreadMessagesCount() uint64
- func (*Chat_Data) ProtoMessage()
- func (x *Chat_Data) ProtoReflect() protoreflect.Message
- func (x *Chat_Data) Reset()
- func (x *Chat_Data) String() string
- type Chat_Kind
- type Chat_Params
- func (*Chat_Params) Descriptor() ([]byte, []int)deprecated
- func (x *Chat_Params) GetDiscover() bool
- func (x *Chat_Params) GetGroup() string
- func (x *Chat_Params) GetPublic() bool
- func (*Chat_Params) ProtoMessage()
- func (x *Chat_Params) ProtoReflect() protoreflect.Message
- func (x *Chat_Params) Reset()
- func (x *Chat_Params) String() string
- type ChatsResponse
- func (*ChatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChatsResponse) GetChats() []*Chat
- func (x *ChatsResponse) GetPageInfo() *PageInfo
- func (*ChatsResponse) ProtoMessage()
- func (x *ChatsResponse) ProtoReflect() protoreflect.Message
- func (x *ChatsResponse) Reset()
- func (x *ChatsResponse) String() string
- type CircleInvitePayload
- func (*CircleInvitePayload) Descriptor() ([]byte, []int)deprecated
- func (x *CircleInvitePayload) GetCircleId() string
- func (x *CircleInvitePayload) GetUserId() string
- func (*CircleInvitePayload) ProtoMessage()
- func (x *CircleInvitePayload) ProtoReflect() protoreflect.Message
- func (x *CircleInvitePayload) Reset()
- func (x *CircleInvitePayload) String() string
- type CirclePayload
- type CreateChatRequest
- func (*CreateChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChatRequest) GetCircleId() string
- func (x *CreateChatRequest) GetData() *Chat_Data
- func (x *CreateChatRequest) GetGroupId() string
- func (x *CreateChatRequest) GetUsersIds() []string
- func (*CreateChatRequest) ProtoMessage()
- func (x *CreateChatRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChatRequest) Reset()
- func (x *CreateChatRequest) String() string
- type CreateChatResponse
- type CreateUserRequest
- type DeleteChatRequest
- type DeleteMessageRequest
- func (*DeleteMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMessageRequest) GetId() string
- func (*DeleteMessageRequest) ProtoMessage()
- func (x *DeleteMessageRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMessageRequest) Reset()
- func (x *DeleteMessageRequest) String() string
- type DeleteReactionRequest
- func (*DeleteReactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteReactionRequest) GetMessageId() string
- func (x *DeleteReactionRequest) GetReaction() string
- func (*DeleteReactionRequest) ProtoMessage()
- func (x *DeleteReactionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteReactionRequest) Reset()
- func (x *DeleteReactionRequest) String() string
- type DeleteReactionResponse
- func (*DeleteReactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteReactionResponse) GetReaction() *ReactionShort
- func (*DeleteReactionResponse) ProtoMessage()
- func (x *DeleteReactionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteReactionResponse) Reset()
- func (x *DeleteReactionResponse) String() string
- type DeleteUserMessagesInCirclesRequest
- func (*DeleteUserMessagesInCirclesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserMessagesInCirclesRequest) GetAuthorId() string
- func (x *DeleteUserMessagesInCirclesRequest) GetCircleId() string
- func (x *DeleteUserMessagesInCirclesRequest) GetFrom() string
- func (x *DeleteUserMessagesInCirclesRequest) GetTo() string
- func (*DeleteUserMessagesInCirclesRequest) ProtoMessage()
- func (x *DeleteUserMessagesInCirclesRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserMessagesInCirclesRequest) Reset()
- func (x *DeleteUserMessagesInCirclesRequest) String() string
- type Empty
- type Error
- type GetChatRequest
- type GetChatResponse
- func (*GetChatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChatResponse) GetChat() *Chat
- func (x *GetChatResponse) GetMembersCount() int64
- func (*GetChatResponse) ProtoMessage()
- func (x *GetChatResponse) ProtoReflect() protoreflect.Message
- func (x *GetChatResponse) Reset()
- func (x *GetChatResponse) String() string
- type GetChatsRequest
- type GetChatsResponse
- type GetFeedRequest
- type GetFeedResponse
- func (*GetFeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeedResponse) GetChats() []*ChatExcerpt
- func (x *GetFeedResponse) GetPage() *PageInfo
- func (x *GetFeedResponse) GetUpdatesCount() int64
- func (*GetFeedResponse) ProtoMessage()
- func (x *GetFeedResponse) ProtoReflect() protoreflect.Message
- func (x *GetFeedResponse) Reset()
- func (x *GetFeedResponse) String() string
- type GetHistoryRequest
- func (*GetHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoryRequest) GetChatId() string
- func (x *GetHistoryRequest) GetCursor() *PageCursor
- func (x *GetHistoryRequest) GetQuery() string
- func (*GetHistoryRequest) ProtoMessage()
- func (x *GetHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetHistoryRequest) Reset()
- func (x *GetHistoryRequest) String() string
- type GetHistoryResponse
- func (*GetHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoryResponse) GetMessages() []*ChatMessage
- func (x *GetHistoryResponse) GetPageInfo() *PageInfo
- func (*GetHistoryResponse) ProtoMessage()
- func (x *GetHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetHistoryResponse) Reset()
- func (x *GetHistoryResponse) String() string
- type GetMemberByIDRequest
- func (*GetMemberByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMemberByIDRequest) GetChatId() string
- func (x *GetMemberByIDRequest) GetUserId() string
- func (*GetMemberByIDRequest) ProtoMessage()
- func (x *GetMemberByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetMemberByIDRequest) Reset()
- func (x *GetMemberByIDRequest) String() string
- type GetMemberByIDResponse
- func (*GetMemberByIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMemberByIDResponse) GetMember() *ChatMember
- func (*GetMemberByIDResponse) ProtoMessage()
- func (x *GetMemberByIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetMemberByIDResponse) Reset()
- func (x *GetMemberByIDResponse) String() string
- type GetMembersRequest
- func (*GetMembersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMembersRequest) GetChatId() string
- func (x *GetMembersRequest) GetCursor() *PageCursor
- func (*GetMembersRequest) ProtoMessage()
- func (x *GetMembersRequest) ProtoReflect() protoreflect.Message
- func (x *GetMembersRequest) Reset()
- func (x *GetMembersRequest) String() string
- type GetMembersResponse
- func (*GetMembersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMembersResponse) GetMembers() []*ChatMember
- func (x *GetMembersResponse) GetPageInfo() *PageInfo
- func (*GetMembersResponse) ProtoMessage()
- func (x *GetMembersResponse) ProtoReflect() protoreflect.Message
- func (x *GetMembersResponse) Reset()
- func (x *GetMembersResponse) String() string
- type GetMessageRequest
- type GetMessageResponse
- func (*GetMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessageResponse) GetMessage() *ChatMessage
- func (*GetMessageResponse) ProtoMessage()
- func (x *GetMessageResponse) ProtoReflect() protoreflect.Message
- func (x *GetMessageResponse) Reset()
- func (x *GetMessageResponse) String() string
- type GetMessagesCountRequest
- func (*GetMessagesCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesCountRequest) GetCircleId() string
- func (x *GetMessagesCountRequest) GetEndTime() *timestamppb.Timestamp
- func (x *GetMessagesCountRequest) GetStartTime() *timestamppb.Timestamp
- func (*GetMessagesCountRequest) ProtoMessage()
- func (x *GetMessagesCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessagesCountRequest) Reset()
- func (x *GetMessagesCountRequest) String() string
- type GetMessagesCountResponse
- func (*GetMessagesCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesCountResponse) GetTotalCount() int64
- func (*GetMessagesCountResponse) ProtoMessage()
- func (x *GetMessagesCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetMessagesCountResponse) Reset()
- func (x *GetMessagesCountResponse) String() string
- type GetMessagesRequest
- func (*GetMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesRequest) GetIds() []string
- func (*GetMessagesRequest) ProtoMessage()
- func (x *GetMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessagesRequest) Reset()
- func (x *GetMessagesRequest) String() string
- type GetMessagesResponse
- func (*GetMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesResponse) GetMessages() []*ChatMessage
- func (*GetMessagesResponse) ProtoMessage()
- func (x *GetMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetMessagesResponse) Reset()
- func (x *GetMessagesResponse) String() string
- type GetReactionUsersRequest
- func (*GetReactionUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReactionUsersRequest) GetCursor() *PageCursor
- func (x *GetReactionUsersRequest) GetMessageId() string
- func (x *GetReactionUsersRequest) GetReaction() string
- func (*GetReactionUsersRequest) ProtoMessage()
- func (x *GetReactionUsersRequest) ProtoReflect() protoreflect.Message
- func (x *GetReactionUsersRequest) Reset()
- func (x *GetReactionUsersRequest) String() string
- type GetReactionUsersResponse
- func (*GetReactionUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReactionUsersResponse) GetPageInfo() *PageInfo
- func (x *GetReactionUsersResponse) GetUserIds() []string
- func (*GetReactionUsersResponse) ProtoMessage()
- func (x *GetReactionUsersResponse) ProtoReflect() protoreflect.Message
- func (x *GetReactionUsersResponse) Reset()
- func (x *GetReactionUsersResponse) String() string
- type GetRelatedMessagesRequest
- func (*GetRelatedMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRelatedMessagesRequest) GetMarginSize() uint32
- func (x *GetRelatedMessagesRequest) GetMessageId() string
- func (*GetRelatedMessagesRequest) ProtoMessage()
- func (x *GetRelatedMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRelatedMessagesRequest) Reset()
- func (x *GetRelatedMessagesRequest) String() string
- type GetRelatedMessagesResponse
- func (*GetRelatedMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRelatedMessagesResponse) GetMessages() []*ChatMessage
- func (*GetRelatedMessagesResponse) ProtoMessage()
- func (x *GetRelatedMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetRelatedMessagesResponse) Reset()
- func (x *GetRelatedMessagesResponse) String() string
- type GetSettingsRequest
- func (*GetSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingsRequest) GetChatId() string
- func (*GetSettingsRequest) ProtoMessage()
- func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSettingsRequest) Reset()
- func (x *GetSettingsRequest) String() string
- type GetSettingsResponse
- func (*GetSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingsResponse) GetIsMuted() bool
- func (*GetSettingsResponse) ProtoMessage()
- func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSettingsResponse) Reset()
- func (x *GetSettingsResponse) String() string
- type GetUnreadChatsResponse
- func (*GetUnreadChatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnreadChatsResponse) GetUnreadChatMetadataList() []*UnreadChatMetadata
- func (*GetUnreadChatsResponse) ProtoMessage()
- func (x *GetUnreadChatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUnreadChatsResponse) Reset()
- func (x *GetUnreadChatsResponse) String() string
- type GlitterBombPayload
- func (*GlitterBombPayload) Descriptor() ([]byte, []int)deprecated
- func (x *GlitterBombPayload) GetSenderId() string
- func (*GlitterBombPayload) ProtoMessage()
- func (x *GlitterBombPayload) ProtoReflect() protoreflect.Message
- func (x *GlitterBombPayload) Reset()
- func (x *GlitterBombPayload) String() string
- type IsLastMessageReadAtMigrationRunningRequest
- func (*IsLastMessageReadAtMigrationRunningRequest) Descriptor() ([]byte, []int)deprecated
- func (*IsLastMessageReadAtMigrationRunningRequest) ProtoMessage()
- func (x *IsLastMessageReadAtMigrationRunningRequest) ProtoReflect() protoreflect.Message
- func (x *IsLastMessageReadAtMigrationRunningRequest) Reset()
- func (x *IsLastMessageReadAtMigrationRunningRequest) String() string
- type IsLastMessageReadAtMigrationRunningResponse
- func (*IsLastMessageReadAtMigrationRunningResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsLastMessageReadAtMigrationRunningResponse) GetRunning() bool
- func (*IsLastMessageReadAtMigrationRunningResponse) ProtoMessage()
- func (x *IsLastMessageReadAtMigrationRunningResponse) ProtoReflect() protoreflect.Message
- func (x *IsLastMessageReadAtMigrationRunningResponse) Reset()
- func (x *IsLastMessageReadAtMigrationRunningResponse) String() string
- type JoinChatRequest
- func (*JoinChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinChatRequest) GetChatId() string
- func (x *JoinChatRequest) GetRole() MemberRole
- func (x *JoinChatRequest) GetUserId() string
- func (*JoinChatRequest) ProtoMessage()
- func (x *JoinChatRequest) ProtoReflect() protoreflect.Message
- func (x *JoinChatRequest) Reset()
- func (x *JoinChatRequest) String() string
- type LeaveChatRequest
- func (*LeaveChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeaveChatRequest) GetChatId() string
- func (x *LeaveChatRequest) GetUserId() string
- func (*LeaveChatRequest) ProtoMessage()
- func (x *LeaveChatRequest) ProtoReflect() protoreflect.Message
- func (x *LeaveChatRequest) Reset()
- func (x *LeaveChatRequest) String() string
- type MarkMessageAsReadRequest
- func (*MarkMessageAsReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarkMessageAsReadRequest) GetMessageId() string
- func (*MarkMessageAsReadRequest) ProtoMessage()
- func (x *MarkMessageAsReadRequest) ProtoReflect() protoreflect.Message
- func (x *MarkMessageAsReadRequest) Reset()
- func (x *MarkMessageAsReadRequest) String() string
- type MemberRole
- type PageCursor
- func (*PageCursor) Descriptor() ([]byte, []int)deprecated
- func (x *PageCursor) GetCursorId() string
- func (x *PageCursor) GetDir() PageDir
- func (x *PageCursor) GetLimit() uint32
- func (*PageCursor) ProtoMessage()
- func (x *PageCursor) ProtoReflect() protoreflect.Message
- func (x *PageCursor) Reset()
- func (x *PageCursor) String() string
- type PageDir
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetFirstId() string
- func (x *PageInfo) GetHasNext() bool
- func (x *PageInfo) GetHasPrev() bool
- func (x *PageInfo) GetLastId() string
- func (x *PageInfo) GetLength() uint32
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
- type PostPayload
- type ReactToMessageRequest
- func (*ReactToMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReactToMessageRequest) GetMessageId() string
- func (x *ReactToMessageRequest) GetReaction() string
- func (*ReactToMessageRequest) ProtoMessage()
- func (x *ReactToMessageRequest) ProtoReflect() protoreflect.Message
- func (x *ReactToMessageRequest) Reset()
- func (x *ReactToMessageRequest) String() string
- type ReactToMessageResponse
- func (*ReactToMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReactToMessageResponse) GetReaction() *ReactionShort
- func (*ReactToMessageResponse) ProtoMessage()
- func (x *ReactToMessageResponse) ProtoReflect() protoreflect.Message
- func (x *ReactToMessageResponse) Reset()
- func (x *ReactToMessageResponse) String() string
- type ReactionShort
- func (*ReactionShort) Descriptor() ([]byte, []int)deprecated
- func (x *ReactionShort) GetCount() uint32
- func (x *ReactionShort) GetHasReacted() bool
- func (x *ReactionShort) GetReaction() string
- func (*ReactionShort) ProtoMessage()
- func (x *ReactionShort) ProtoReflect() protoreflect.Message
- func (x *ReactionShort) Reset()
- func (x *ReactionShort) String() string
- type RemoveChatUserRequest
- func (*RemoveChatUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveChatUserRequest) GetChatId() string
- func (x *RemoveChatUserRequest) GetUserId() string
- func (*RemoveChatUserRequest) ProtoMessage()
- func (x *RemoveChatUserRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveChatUserRequest) Reset()
- func (x *RemoveChatUserRequest) String() string
- type SearchChatsRequest
- func (*SearchChatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchChatsRequest) GetCursor() *PageCursor
- func (x *SearchChatsRequest) GetKinds() []Chat_Kind
- func (x *SearchChatsRequest) GetQuery() string
- func (*SearchChatsRequest) ProtoMessage()
- func (x *SearchChatsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchChatsRequest) Reset()
- func (x *SearchChatsRequest) String() string
- type SeedsExchangePayload
- func (*SeedsExchangePayload) Descriptor() ([]byte, []int)deprecated
- func (x *SeedsExchangePayload) GetOfferId() string
- func (x *SeedsExchangePayload) GetUserId() string
- func (*SeedsExchangePayload) ProtoMessage()
- func (x *SeedsExchangePayload) ProtoReflect() protoreflect.Message
- func (x *SeedsExchangePayload) Reset()
- func (x *SeedsExchangePayload) String() string
- type SendCircleInviteRequest
- func (*SendCircleInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendCircleInviteRequest) GetCircleId() string
- func (x *SendCircleInviteRequest) GetUserId() string
- func (*SendCircleInviteRequest) ProtoMessage()
- func (x *SendCircleInviteRequest) ProtoReflect() protoreflect.Message
- func (x *SendCircleInviteRequest) Reset()
- func (x *SendCircleInviteRequest) String() string
- type SendGlitterBombRequest
- func (*SendGlitterBombRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendGlitterBombRequest) GetUserId() string
- func (*SendGlitterBombRequest) ProtoMessage()
- func (x *SendGlitterBombRequest) ProtoReflect() protoreflect.Message
- func (x *SendGlitterBombRequest) Reset()
- func (x *SendGlitterBombRequest) String() string
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetAppMentions() []string
- func (x *SendMessageRequest) GetAttachmentsIds() []string
- func (x *SendMessageRequest) GetChatId() string
- func (x *SendMessageRequest) GetCircleMentions() []string
- func (x *SendMessageRequest) GetComponent() *ChatComponent
- func (x *SendMessageRequest) GetContactMentions() []string
- func (x *SendMessageRequest) GetContent() string
- func (x *SendMessageRequest) GetKind() ChatMessage_Kind
- func (x *SendMessageRequest) GetReplyTo() string
- func (x *SendMessageRequest) GetUserMentions() []string
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- type SendMessageResponse
- func (*SendMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageResponse) GetMessage() *ChatMessage
- func (*SendMessageResponse) ProtoMessage()
- func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendMessageResponse) Reset()
- func (x *SendMessageResponse) String() string
- type SendSeedsExchangeRequest
- func (*SendSeedsExchangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendSeedsExchangeRequest) GetOfferId() string
- func (x *SendSeedsExchangeRequest) GetUserId() string
- func (*SendSeedsExchangeRequest) ProtoMessage()
- func (x *SendSeedsExchangeRequest) ProtoReflect() protoreflect.Message
- func (x *SendSeedsExchangeRequest) Reset()
- func (x *SendSeedsExchangeRequest) String() string
- type SetChatUserRoleRequest
- func (*SetChatUserRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetChatUserRoleRequest) GetChatId() string
- func (x *SetChatUserRoleRequest) GetRole() MemberRole
- func (x *SetChatUserRoleRequest) GetUserId() string
- func (*SetChatUserRoleRequest) ProtoMessage()
- func (x *SetChatUserRoleRequest) ProtoReflect() protoreflect.Message
- func (x *SetChatUserRoleRequest) Reset()
- func (x *SetChatUserRoleRequest) String() string
- type StartLastMessageReadAtMigrationRequest
- func (*StartLastMessageReadAtMigrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartLastMessageReadAtMigrationRequest) GetBatchSize() int64
- func (x *StartLastMessageReadAtMigrationRequest) GetInterval() int64
- func (x *StartLastMessageReadAtMigrationRequest) GetMigration() int64
- func (*StartLastMessageReadAtMigrationRequest) ProtoMessage()
- func (x *StartLastMessageReadAtMigrationRequest) ProtoReflect() protoreflect.Message
- func (x *StartLastMessageReadAtMigrationRequest) Reset()
- func (x *StartLastMessageReadAtMigrationRequest) String() string
- type StartLastMessageReadAtMigrationResponse
- func (*StartLastMessageReadAtMigrationResponse) Descriptor() ([]byte, []int)deprecated
- func (*StartLastMessageReadAtMigrationResponse) ProtoMessage()
- func (x *StartLastMessageReadAtMigrationResponse) ProtoReflect() protoreflect.Message
- func (x *StartLastMessageReadAtMigrationResponse) Reset()
- func (x *StartLastMessageReadAtMigrationResponse) String() string
- type StopLastMessageReadAtMigrationRequest
- func (*StopLastMessageReadAtMigrationRequest) Descriptor() ([]byte, []int)deprecated
- func (*StopLastMessageReadAtMigrationRequest) ProtoMessage()
- func (x *StopLastMessageReadAtMigrationRequest) ProtoReflect() protoreflect.Message
- func (x *StopLastMessageReadAtMigrationRequest) Reset()
- func (x *StopLastMessageReadAtMigrationRequest) String() string
- type StopLastMessageReadAtMigrationResponse
- func (*StopLastMessageReadAtMigrationResponse) Descriptor() ([]byte, []int)deprecated
- func (*StopLastMessageReadAtMigrationResponse) ProtoMessage()
- func (x *StopLastMessageReadAtMigrationResponse) ProtoReflect() protoreflect.Message
- func (x *StopLastMessageReadAtMigrationResponse) Reset()
- func (x *StopLastMessageReadAtMigrationResponse) String() string
- type UnbanUserRequest
- func (*UnbanUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnbanUserRequest) GetCircleId() string
- func (x *UnbanUserRequest) GetUserId() string
- func (*UnbanUserRequest) ProtoMessage()
- func (x *UnbanUserRequest) ProtoReflect() protoreflect.Message
- func (x *UnbanUserRequest) Reset()
- func (x *UnbanUserRequest) String() string
- type UnimplementedChatAPIServer
- func (UnimplementedChatAPIServer) AddChatUser(context.Context, *AddChatUserRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) BanUser(context.Context, *BanUserRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error)
- func (UnimplementedChatAPIServer) CreateChat(context.Context, *CreateChatRequest) (*CreateChatResponse, error)
- func (UnimplementedChatAPIServer) CreateUser(context.Context, *CreateUserRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) DeleteChat(context.Context, *DeleteChatRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) DeleteMessage(context.Context, *DeleteMessageRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) DeleteReaction(context.Context, *DeleteReactionRequest) (*DeleteReactionResponse, error)
- func (UnimplementedChatAPIServer) DeleteUserMessagesInCircles(context.Context, *DeleteUserMessagesInCirclesRequest) (*emptypb.Empty, error)
- func (UnimplementedChatAPIServer) GetChat(context.Context, *GetChatRequest) (*GetChatResponse, error)
- func (UnimplementedChatAPIServer) GetFeed(context.Context, *GetFeedRequest) (*GetFeedResponse, error)
- func (UnimplementedChatAPIServer) GetHistory(context.Context, *GetHistoryRequest) (*GetHistoryResponse, error)
- func (UnimplementedChatAPIServer) GetMemberByID(context.Context, *GetMemberByIDRequest) (*GetMemberByIDResponse, error)
- func (UnimplementedChatAPIServer) GetMembers(context.Context, *GetMembersRequest) (*GetMembersResponse, error)
- func (UnimplementedChatAPIServer) GetMessage(context.Context, *GetMessageRequest) (*GetMessageResponse, error)
- func (UnimplementedChatAPIServer) GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
- func (UnimplementedChatAPIServer) GetMessagesCount(context.Context, *GetMessagesCountRequest) (*GetMessagesCountResponse, error)
- func (UnimplementedChatAPIServer) GetReactionUsers(context.Context, *GetReactionUsersRequest) (*GetReactionUsersResponse, error)
- func (UnimplementedChatAPIServer) GetRelatedMessages(context.Context, *GetRelatedMessagesRequest) (*GetRelatedMessagesResponse, error)
- func (UnimplementedChatAPIServer) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
- func (UnimplementedChatAPIServer) GetUnreadChats(context.Context, *emptypb.Empty) (*GetUnreadChatsResponse, error)
- func (UnimplementedChatAPIServer) IsLastMessageReadAtMigrationRunning(context.Context, *IsLastMessageReadAtMigrationRunningRequest) (*IsLastMessageReadAtMigrationRunningResponse, error)
- func (UnimplementedChatAPIServer) JoinChat(context.Context, *JoinChatRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) LeaveChat(context.Context, *LeaveChatRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) MarkMessageAsRead(context.Context, *MarkMessageAsReadRequest) (*emptypb.Empty, error)
- func (UnimplementedChatAPIServer) ReactToMessage(context.Context, *ReactToMessageRequest) (*ReactToMessageResponse, error)
- func (UnimplementedChatAPIServer) RemoveChatUser(context.Context, *RemoveChatUserRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) SearchChats(context.Context, *SearchChatsRequest) (*ChatsResponse, error)
- func (UnimplementedChatAPIServer) SendCircleInvite(context.Context, *SendCircleInviteRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) SendGlitterBomb(context.Context, *SendGlitterBombRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
- func (UnimplementedChatAPIServer) SendSeedsExchange(context.Context, *SendSeedsExchangeRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) SetChatUserRole(context.Context, *SetChatUserRoleRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) SetChatUserRoleNoAuth(context.Context, *SetChatUserRoleRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) StartLastMessageReadAtMigration(context.Context, *StartLastMessageReadAtMigrationRequest) (*StartLastMessageReadAtMigrationResponse, error)
- func (UnimplementedChatAPIServer) StopLastMessageReadAtMigration(context.Context, *StopLastMessageReadAtMigrationRequest) (*StopLastMessageReadAtMigrationResponse, error)
- func (UnimplementedChatAPIServer) UnbanUser(context.Context, *UnbanUserRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) UnwatchChat(context.Context, *UnwatchChatRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*Empty, error)
- func (UnimplementedChatAPIServer) UserChats(context.Context, *UserChatsRequest) (*ChatsResponse, error)
- func (UnimplementedChatAPIServer) WatchChat(context.Context, *WatchChatRequest) (*Empty, error)
- type UnreadChatMetadata
- func (*UnreadChatMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UnreadChatMetadata) GetChatId() string
- func (x *UnreadChatMetadata) GetKind() Chat_Kind
- func (x *UnreadChatMetadata) GetLastMessageAt() *timestamppb.Timestamp
- func (*UnreadChatMetadata) ProtoMessage()
- func (x *UnreadChatMetadata) ProtoReflect() protoreflect.Message
- func (x *UnreadChatMetadata) Reset()
- func (x *UnreadChatMetadata) String() string
- type UnsafeChatAPIServer
- type UnwatchChatRequest
- func (*UnwatchChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnwatchChatRequest) GetChatId() string
- func (x *UnwatchChatRequest) GetUserId() string
- func (*UnwatchChatRequest) ProtoMessage()
- func (x *UnwatchChatRequest) ProtoReflect() protoreflect.Message
- func (x *UnwatchChatRequest) Reset()
- func (x *UnwatchChatRequest) String() string
- type UpdateSettingsRequest
- func (*UpdateSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettingsRequest) GetChatId() string
- func (x *UpdateSettingsRequest) GetIsMuted() bool
- func (x *UpdateSettingsRequest) GetName() string
- func (*UpdateSettingsRequest) ProtoMessage()
- func (x *UpdateSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingsRequest) Reset()
- func (x *UpdateSettingsRequest) String() string
- type UserChatsRequest
- func (*UserChatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserChatsRequest) GetCursor() *PageCursor
- func (x *UserChatsRequest) GetUserId() string
- func (*UserChatsRequest) ProtoMessage()
- func (x *UserChatsRequest) ProtoReflect() protoreflect.Message
- func (x *UserChatsRequest) Reset()
- func (x *UserChatsRequest) String() string
- type UserPayload
- type WatchChatRequest
- func (*WatchChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchChatRequest) GetChatId() string
- func (x *WatchChatRequest) GetUserId() string
- func (*WatchChatRequest) ProtoMessage()
- func (x *WatchChatRequest) ProtoReflect() protoreflect.Message
- func (x *WatchChatRequest) Reset()
- func (x *WatchChatRequest) String() string
Constants ¶
This section is empty.
Variables ¶
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.
var ( PageDir_name = map[int32]string{ 0: "Forward", 1: "Backward", } PageDir_value = map[string]int32{ "Forward": 0, "Backward": 1, } )
Enum value maps for PageDir.
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.
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.
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.
var ChatAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chat_api.v1.ChatAPI", HandlerType: (*ChatAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _ChatAPI_CreateUser_Handler, }, { 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: "SetChatUserRole", Handler: _ChatAPI_SetChatUserRole_Handler, }, { MethodName: "SetChatUserRoleNoAuth", Handler: _ChatAPI_SetChatUserRoleNoAuth_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: "WatchChat", Handler: _ChatAPI_WatchChat_Handler, }, { MethodName: "UnwatchChat", Handler: _ChatAPI_UnwatchChat_Handler, }, { MethodName: "BanUser", Handler: _ChatAPI_BanUser_Handler, }, { MethodName: "UnbanUser", Handler: _ChatAPI_UnbanUser_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: "StartLastMessageReadAtMigration", Handler: _ChatAPI_StartLastMessageReadAtMigration_Handler, }, { MethodName: "IsLastMessageReadAtMigrationRunning", Handler: _ChatAPI_IsLastMessageReadAtMigrationRunning_Handler, }, { MethodName: "StopLastMessageReadAtMigration", Handler: _ChatAPI_StopLastMessageReadAtMigration_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)
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 BanUserRequest ¶
type BanUserRequest 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 (*BanUserRequest) Descriptor
deprecated
func (*BanUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use BanUserRequest.ProtoReflect.Descriptor instead.
func (*BanUserRequest) GetCircleId ¶
func (x *BanUserRequest) GetCircleId() string
func (*BanUserRequest) GetUserId ¶
func (x *BanUserRequest) GetUserId() string
func (*BanUserRequest) ProtoMessage ¶
func (*BanUserRequest) ProtoMessage()
func (*BanUserRequest) ProtoReflect ¶
func (x *BanUserRequest) ProtoReflect() protoreflect.Message
func (*BanUserRequest) Reset ¶
func (x *BanUserRequest) Reset()
func (*BanUserRequest) String ¶
func (x *BanUserRequest) 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) GetCursorId ¶
func (*Chat) ProtoMessage ¶
func (*Chat) ProtoMessage()
func (*Chat) ProtoReflect ¶
func (x *Chat) ProtoReflect() protoreflect.Message
type ChatAPIClient ¶
type ChatAPIClient interface { // Deprecated: Do not use. CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*Empty, error) 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) SetChatUserRole(ctx context.Context, in *SetChatUserRoleRequest, opts ...grpc.CallOption) (*Empty, error) SetChatUserRoleNoAuth(ctx context.Context, in *SetChatUserRoleRequest, opts ...grpc.CallOption) (*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) WatchChat(ctx context.Context, in *WatchChatRequest, opts ...grpc.CallOption) (*Empty, error) UnwatchChat(ctx context.Context, in *UnwatchChatRequest, opts ...grpc.CallOption) (*Empty, error) BanUser(ctx context.Context, in *BanUserRequest, opts ...grpc.CallOption) (*Empty, error) UnbanUser(ctx context.Context, in *UnbanUserRequest, opts ...grpc.CallOption) (*Empty, 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) // Migrations StartLastMessageReadAtMigration(ctx context.Context, in *StartLastMessageReadAtMigrationRequest, opts ...grpc.CallOption) (*StartLastMessageReadAtMigrationResponse, error) IsLastMessageReadAtMigrationRunning(ctx context.Context, in *IsLastMessageReadAtMigrationRunningRequest, opts ...grpc.CallOption) (*IsLastMessageReadAtMigrationRunningResponse, error) StopLastMessageReadAtMigration(ctx context.Context, in *StopLastMessageReadAtMigrationRequest, opts ...grpc.CallOption) (*StopLastMessageReadAtMigrationResponse, 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 { // Deprecated: Do not use. CreateUser(context.Context, *CreateUserRequest) (*Empty, error) 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) SetChatUserRole(context.Context, *SetChatUserRoleRequest) (*Empty, error) SetChatUserRoleNoAuth(context.Context, *SetChatUserRoleRequest) (*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) WatchChat(context.Context, *WatchChatRequest) (*Empty, error) UnwatchChat(context.Context, *UnwatchChatRequest) (*Empty, error) BanUser(context.Context, *BanUserRequest) (*Empty, error) UnbanUser(context.Context, *UnbanUserRequest) (*Empty, 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) // Migrations StartLastMessageReadAtMigration(context.Context, *StartLastMessageReadAtMigrationRequest) (*StartLastMessageReadAtMigrationResponse, error) IsLastMessageReadAtMigrationRunning(context.Context, *IsLastMessageReadAtMigrationRunningRequest) (*IsLastMessageReadAtMigrationRunningResponse, error) StopLastMessageReadAtMigration(context.Context, *StopLastMessageReadAtMigrationRequest) (*StopLastMessageReadAtMigrationResponse, 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) Descriptor() protoreflect.EnumDescriptor
func (ChatComponent_Type) Enum ¶
func (x ChatComponent_Type) Enum() *ChatComponent_Type
func (ChatComponent_Type) EnumDescriptor
deprecated
func (ChatComponent_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChatComponent_Type.Descriptor instead.
func (ChatComponent_Type) Number ¶
func (x ChatComponent_Type) Number() protoreflect.EnumNumber
func (ChatComponent_Type) String ¶
func (x ChatComponent_Type) String() string
func (ChatComponent_Type) Type ¶
func (ChatComponent_Type) Type() protoreflect.EnumType
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"` // 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) 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) Descriptor() protoreflect.EnumDescriptor
func (ChatMessage_Kind) Enum ¶
func (x ChatMessage_Kind) Enum() *ChatMessage_Kind
func (ChatMessage_Kind) EnumDescriptor
deprecated
func (ChatMessage_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChatMessage_Kind.Descriptor instead.
func (ChatMessage_Kind) Number ¶
func (x ChatMessage_Kind) Number() protoreflect.EnumNumber
func (ChatMessage_Kind) String ¶
func (x ChatMessage_Kind) String() string
func (ChatMessage_Kind) Type ¶
func (ChatMessage_Kind) Type() protoreflect.EnumType
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"` ImageUrl string `protobuf:"bytes,5,opt,name=imageUrl,proto3" json:"imageUrl,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"` // contains filtered or unexported fields }
func (*Chat_Data) Descriptor
deprecated
func (*Chat_Data) GetImageUrl ¶
func (*Chat_Data) GetLanguage ¶
func (*Chat_Data) GetLastMessageAt ¶
func (x *Chat_Data) GetLastMessageAt() *timestamppb.Timestamp
func (*Chat_Data) GetMembersCount ¶
func (*Chat_Data) GetUnreadMessagesCount ¶
func (*Chat_Data) ProtoMessage ¶
func (*Chat_Data) ProtoMessage()
func (*Chat_Data) ProtoReflect ¶
func (x *Chat_Data) ProtoReflect() protoreflect.Message
type Chat_Kind ¶
type Chat_Kind int32
func (Chat_Kind) Descriptor ¶
func (Chat_Kind) Descriptor() protoreflect.EnumDescriptor
func (Chat_Kind) EnumDescriptor
deprecated
func (Chat_Kind) Number ¶
func (x Chat_Kind) Number() protoreflect.EnumNumber
func (Chat_Kind) Type ¶
func (Chat_Kind) Type() protoreflect.EnumType
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 CreateUserRequest ¶
type CreateUserRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetUserId ¶
func (x *CreateUserRequest) GetUserId() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) 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 (x *DeleteUserMessagesInCirclesRequest) GetFrom() string
func (*DeleteUserMessagesInCirclesRequest) GetTo ¶
func (x *DeleteUserMessagesInCirclesRequest) GetTo() string
func (*DeleteUserMessagesInCirclesRequest) ProtoMessage ¶
func (*DeleteUserMessagesInCirclesRequest) ProtoMessage()
func (*DeleteUserMessagesInCirclesRequest) ProtoReflect ¶
func (x *DeleteUserMessagesInCirclesRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserMessagesInCirclesRequest) Reset ¶
func (x *DeleteUserMessagesInCirclesRequest) Reset()
func (*DeleteUserMessagesInCirclesRequest) String ¶
func (x *DeleteUserMessagesInCirclesRequest) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
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) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
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 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 (x *GetMessagesCountRequest) GetEndTime() *timestamppb.Timestamp
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 (x *GetRelatedMessagesRequest) ProtoReflect() protoreflect.Message
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 (x *GetRelatedMessagesResponse) ProtoReflect() protoreflect.Message
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 IsLastMessageReadAtMigrationRunningRequest ¶
type IsLastMessageReadAtMigrationRunningRequest struct {
// contains filtered or unexported fields
}
func (*IsLastMessageReadAtMigrationRunningRequest) Descriptor
deprecated
func (*IsLastMessageReadAtMigrationRunningRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsLastMessageReadAtMigrationRunningRequest.ProtoReflect.Descriptor instead.
func (*IsLastMessageReadAtMigrationRunningRequest) ProtoMessage ¶
func (*IsLastMessageReadAtMigrationRunningRequest) ProtoMessage()
func (*IsLastMessageReadAtMigrationRunningRequest) ProtoReflect ¶
func (x *IsLastMessageReadAtMigrationRunningRequest) ProtoReflect() protoreflect.Message
func (*IsLastMessageReadAtMigrationRunningRequest) Reset ¶
func (x *IsLastMessageReadAtMigrationRunningRequest) Reset()
func (*IsLastMessageReadAtMigrationRunningRequest) String ¶
func (x *IsLastMessageReadAtMigrationRunningRequest) String() string
type IsLastMessageReadAtMigrationRunningResponse ¶
type IsLastMessageReadAtMigrationRunningResponse struct { Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"` // contains filtered or unexported fields }
func (*IsLastMessageReadAtMigrationRunningResponse) Descriptor
deprecated
func (*IsLastMessageReadAtMigrationRunningResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsLastMessageReadAtMigrationRunningResponse.ProtoReflect.Descriptor instead.
func (*IsLastMessageReadAtMigrationRunningResponse) GetRunning ¶
func (x *IsLastMessageReadAtMigrationRunningResponse) GetRunning() bool
func (*IsLastMessageReadAtMigrationRunningResponse) ProtoMessage ¶
func (*IsLastMessageReadAtMigrationRunningResponse) ProtoMessage()
func (*IsLastMessageReadAtMigrationRunningResponse) ProtoReflect ¶
func (x *IsLastMessageReadAtMigrationRunningResponse) ProtoReflect() protoreflect.Message
func (*IsLastMessageReadAtMigrationRunningResponse) Reset ¶
func (x *IsLastMessageReadAtMigrationRunningResponse) Reset()
func (*IsLastMessageReadAtMigrationRunningResponse) String ¶
func (x *IsLastMessageReadAtMigrationRunningResponse) 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 ¶
func (MemberRole) Type() protoreflect.EnumType
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
func (PageDir) Descriptor ¶
func (PageDir) Descriptor() protoreflect.EnumDescriptor
func (PageDir) EnumDescriptor
deprecated
func (PageDir) Number ¶
func (x PageDir) Number() protoreflect.EnumNumber
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) GetFirstId ¶
func (*PageInfo) GetHasNext ¶
func (*PageInfo) GetHasPrev ¶
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
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 SetChatUserRoleRequest ¶
type SetChatUserRoleRequest 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 (*SetChatUserRoleRequest) Descriptor
deprecated
func (*SetChatUserRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetChatUserRoleRequest.ProtoReflect.Descriptor instead.
func (*SetChatUserRoleRequest) GetChatId ¶
func (x *SetChatUserRoleRequest) GetChatId() string
func (*SetChatUserRoleRequest) GetRole ¶
func (x *SetChatUserRoleRequest) GetRole() MemberRole
func (*SetChatUserRoleRequest) GetUserId ¶
func (x *SetChatUserRoleRequest) GetUserId() string
func (*SetChatUserRoleRequest) ProtoMessage ¶
func (*SetChatUserRoleRequest) ProtoMessage()
func (*SetChatUserRoleRequest) ProtoReflect ¶
func (x *SetChatUserRoleRequest) ProtoReflect() protoreflect.Message
func (*SetChatUserRoleRequest) Reset ¶
func (x *SetChatUserRoleRequest) Reset()
func (*SetChatUserRoleRequest) String ¶
func (x *SetChatUserRoleRequest) String() string
type StartLastMessageReadAtMigrationRequest ¶
type StartLastMessageReadAtMigrationRequest struct { BatchSize int64 `protobuf:"varint,1,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` Interval int64 `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"` Migration int64 `protobuf:"varint,3,opt,name=migration,proto3" json:"migration,omitempty"` // contains filtered or unexported fields }
func (*StartLastMessageReadAtMigrationRequest) Descriptor
deprecated
func (*StartLastMessageReadAtMigrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartLastMessageReadAtMigrationRequest.ProtoReflect.Descriptor instead.
func (*StartLastMessageReadAtMigrationRequest) GetBatchSize ¶
func (x *StartLastMessageReadAtMigrationRequest) GetBatchSize() int64
func (*StartLastMessageReadAtMigrationRequest) GetInterval ¶
func (x *StartLastMessageReadAtMigrationRequest) GetInterval() int64
func (*StartLastMessageReadAtMigrationRequest) GetMigration ¶
func (x *StartLastMessageReadAtMigrationRequest) GetMigration() int64
func (*StartLastMessageReadAtMigrationRequest) ProtoMessage ¶
func (*StartLastMessageReadAtMigrationRequest) ProtoMessage()
func (*StartLastMessageReadAtMigrationRequest) ProtoReflect ¶
func (x *StartLastMessageReadAtMigrationRequest) ProtoReflect() protoreflect.Message
func (*StartLastMessageReadAtMigrationRequest) Reset ¶
func (x *StartLastMessageReadAtMigrationRequest) Reset()
func (*StartLastMessageReadAtMigrationRequest) String ¶
func (x *StartLastMessageReadAtMigrationRequest) String() string
type StartLastMessageReadAtMigrationResponse ¶
type StartLastMessageReadAtMigrationResponse struct {
// contains filtered or unexported fields
}
func (*StartLastMessageReadAtMigrationResponse) Descriptor
deprecated
func (*StartLastMessageReadAtMigrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartLastMessageReadAtMigrationResponse.ProtoReflect.Descriptor instead.
func (*StartLastMessageReadAtMigrationResponse) ProtoMessage ¶
func (*StartLastMessageReadAtMigrationResponse) ProtoMessage()
func (*StartLastMessageReadAtMigrationResponse) ProtoReflect ¶
func (x *StartLastMessageReadAtMigrationResponse) ProtoReflect() protoreflect.Message
func (*StartLastMessageReadAtMigrationResponse) Reset ¶
func (x *StartLastMessageReadAtMigrationResponse) Reset()
func (*StartLastMessageReadAtMigrationResponse) String ¶
func (x *StartLastMessageReadAtMigrationResponse) String() string
type StopLastMessageReadAtMigrationRequest ¶
type StopLastMessageReadAtMigrationRequest struct {
// contains filtered or unexported fields
}
func (*StopLastMessageReadAtMigrationRequest) Descriptor
deprecated
func (*StopLastMessageReadAtMigrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopLastMessageReadAtMigrationRequest.ProtoReflect.Descriptor instead.
func (*StopLastMessageReadAtMigrationRequest) ProtoMessage ¶
func (*StopLastMessageReadAtMigrationRequest) ProtoMessage()
func (*StopLastMessageReadAtMigrationRequest) ProtoReflect ¶
func (x *StopLastMessageReadAtMigrationRequest) ProtoReflect() protoreflect.Message
func (*StopLastMessageReadAtMigrationRequest) Reset ¶
func (x *StopLastMessageReadAtMigrationRequest) Reset()
func (*StopLastMessageReadAtMigrationRequest) String ¶
func (x *StopLastMessageReadAtMigrationRequest) String() string
type StopLastMessageReadAtMigrationResponse ¶
type StopLastMessageReadAtMigrationResponse struct {
// contains filtered or unexported fields
}
func (*StopLastMessageReadAtMigrationResponse) Descriptor
deprecated
func (*StopLastMessageReadAtMigrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopLastMessageReadAtMigrationResponse.ProtoReflect.Descriptor instead.
func (*StopLastMessageReadAtMigrationResponse) ProtoMessage ¶
func (*StopLastMessageReadAtMigrationResponse) ProtoMessage()
func (*StopLastMessageReadAtMigrationResponse) ProtoReflect ¶
func (x *StopLastMessageReadAtMigrationResponse) ProtoReflect() protoreflect.Message
func (*StopLastMessageReadAtMigrationResponse) Reset ¶
func (x *StopLastMessageReadAtMigrationResponse) Reset()
func (*StopLastMessageReadAtMigrationResponse) String ¶
func (x *StopLastMessageReadAtMigrationResponse) String() string
type UnbanUserRequest ¶
type UnbanUserRequest 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 (*UnbanUserRequest) Descriptor
deprecated
func (*UnbanUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnbanUserRequest.ProtoReflect.Descriptor instead.
func (*UnbanUserRequest) GetCircleId ¶
func (x *UnbanUserRequest) GetCircleId() string
func (*UnbanUserRequest) GetUserId ¶
func (x *UnbanUserRequest) GetUserId() string
func (*UnbanUserRequest) ProtoMessage ¶
func (*UnbanUserRequest) ProtoMessage()
func (*UnbanUserRequest) ProtoReflect ¶
func (x *UnbanUserRequest) ProtoReflect() protoreflect.Message
func (*UnbanUserRequest) Reset ¶
func (x *UnbanUserRequest) Reset()
func (*UnbanUserRequest) String ¶
func (x *UnbanUserRequest) String() string
type UnimplementedChatAPIServer ¶
type UnimplementedChatAPIServer struct { }
UnimplementedChatAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedChatAPIServer) AddChatUser ¶
func (UnimplementedChatAPIServer) AddChatUser(context.Context, *AddChatUserRequest) (*Empty, error)
func (UnimplementedChatAPIServer) BanUser ¶
func (UnimplementedChatAPIServer) BanUser(context.Context, *BanUserRequest) (*Empty, error)
func (UnimplementedChatAPIServer) Channels ¶
func (UnimplementedChatAPIServer) Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error)
func (UnimplementedChatAPIServer) CreateChat ¶
func (UnimplementedChatAPIServer) CreateChat(context.Context, *CreateChatRequest) (*CreateChatResponse, error)
func (UnimplementedChatAPIServer) CreateUser ¶
func (UnimplementedChatAPIServer) CreateUser(context.Context, *CreateUserRequest) (*Empty, error)
func (UnimplementedChatAPIServer) DeleteChat ¶
func (UnimplementedChatAPIServer) DeleteChat(context.Context, *DeleteChatRequest) (*Empty, error)
func (UnimplementedChatAPIServer) DeleteMessage ¶
func (UnimplementedChatAPIServer) DeleteMessage(context.Context, *DeleteMessageRequest) (*Empty, error)
func (UnimplementedChatAPIServer) DeleteReaction ¶
func (UnimplementedChatAPIServer) DeleteReaction(context.Context, *DeleteReactionRequest) (*DeleteReactionResponse, error)
func (UnimplementedChatAPIServer) DeleteUserMessagesInCircles ¶
func (UnimplementedChatAPIServer) DeleteUserMessagesInCircles(context.Context, *DeleteUserMessagesInCirclesRequest) (*emptypb.Empty, error)
func (UnimplementedChatAPIServer) GetChat ¶
func (UnimplementedChatAPIServer) GetChat(context.Context, *GetChatRequest) (*GetChatResponse, error)
func (UnimplementedChatAPIServer) GetFeed ¶
func (UnimplementedChatAPIServer) GetFeed(context.Context, *GetFeedRequest) (*GetFeedResponse, error)
func (UnimplementedChatAPIServer) GetHistory ¶
func (UnimplementedChatAPIServer) GetHistory(context.Context, *GetHistoryRequest) (*GetHistoryResponse, error)
func (UnimplementedChatAPIServer) GetMemberByID ¶
func (UnimplementedChatAPIServer) GetMemberByID(context.Context, *GetMemberByIDRequest) (*GetMemberByIDResponse, error)
func (UnimplementedChatAPIServer) GetMembers ¶
func (UnimplementedChatAPIServer) GetMembers(context.Context, *GetMembersRequest) (*GetMembersResponse, error)
func (UnimplementedChatAPIServer) GetMessage ¶
func (UnimplementedChatAPIServer) GetMessage(context.Context, *GetMessageRequest) (*GetMessageResponse, error)
func (UnimplementedChatAPIServer) GetMessages ¶
func (UnimplementedChatAPIServer) GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
func (UnimplementedChatAPIServer) GetMessagesCount ¶ added in v0.2.26
func (UnimplementedChatAPIServer) GetMessagesCount(context.Context, *GetMessagesCountRequest) (*GetMessagesCountResponse, error)
func (UnimplementedChatAPIServer) GetReactionUsers ¶
func (UnimplementedChatAPIServer) GetReactionUsers(context.Context, *GetReactionUsersRequest) (*GetReactionUsersResponse, error)
func (UnimplementedChatAPIServer) GetRelatedMessages ¶
func (UnimplementedChatAPIServer) GetRelatedMessages(context.Context, *GetRelatedMessagesRequest) (*GetRelatedMessagesResponse, error)
func (UnimplementedChatAPIServer) GetSettings ¶
func (UnimplementedChatAPIServer) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
func (UnimplementedChatAPIServer) GetUnreadChats ¶
func (UnimplementedChatAPIServer) GetUnreadChats(context.Context, *emptypb.Empty) (*GetUnreadChatsResponse, error)
func (UnimplementedChatAPIServer) IsLastMessageReadAtMigrationRunning ¶
func (UnimplementedChatAPIServer) IsLastMessageReadAtMigrationRunning(context.Context, *IsLastMessageReadAtMigrationRunningRequest) (*IsLastMessageReadAtMigrationRunningResponse, error)
func (UnimplementedChatAPIServer) JoinChat ¶
func (UnimplementedChatAPIServer) JoinChat(context.Context, *JoinChatRequest) (*Empty, error)
func (UnimplementedChatAPIServer) LeaveChat ¶
func (UnimplementedChatAPIServer) LeaveChat(context.Context, *LeaveChatRequest) (*Empty, error)
func (UnimplementedChatAPIServer) MarkMessageAsRead ¶
func (UnimplementedChatAPIServer) MarkMessageAsRead(context.Context, *MarkMessageAsReadRequest) (*emptypb.Empty, error)
func (UnimplementedChatAPIServer) ReactToMessage ¶
func (UnimplementedChatAPIServer) ReactToMessage(context.Context, *ReactToMessageRequest) (*ReactToMessageResponse, error)
func (UnimplementedChatAPIServer) RemoveChatUser ¶
func (UnimplementedChatAPIServer) RemoveChatUser(context.Context, *RemoveChatUserRequest) (*Empty, error)
func (UnimplementedChatAPIServer) SearchChats ¶
func (UnimplementedChatAPIServer) SearchChats(context.Context, *SearchChatsRequest) (*ChatsResponse, error)
func (UnimplementedChatAPIServer) SendCircleInvite ¶
func (UnimplementedChatAPIServer) SendCircleInvite(context.Context, *SendCircleInviteRequest) (*Empty, error)
func (UnimplementedChatAPIServer) SendGlitterBomb ¶
func (UnimplementedChatAPIServer) SendGlitterBomb(context.Context, *SendGlitterBombRequest) (*Empty, error)
func (UnimplementedChatAPIServer) SendMessage ¶
func (UnimplementedChatAPIServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
func (UnimplementedChatAPIServer) SendSeedsExchange ¶
func (UnimplementedChatAPIServer) SendSeedsExchange(context.Context, *SendSeedsExchangeRequest) (*Empty, error)
func (UnimplementedChatAPIServer) SetChatUserRole ¶
func (UnimplementedChatAPIServer) SetChatUserRole(context.Context, *SetChatUserRoleRequest) (*Empty, error)
func (UnimplementedChatAPIServer) SetChatUserRoleNoAuth ¶
func (UnimplementedChatAPIServer) SetChatUserRoleNoAuth(context.Context, *SetChatUserRoleRequest) (*Empty, error)
func (UnimplementedChatAPIServer) StartLastMessageReadAtMigration ¶
func (UnimplementedChatAPIServer) StartLastMessageReadAtMigration(context.Context, *StartLastMessageReadAtMigrationRequest) (*StartLastMessageReadAtMigrationResponse, error)
func (UnimplementedChatAPIServer) StopLastMessageReadAtMigration ¶
func (UnimplementedChatAPIServer) StopLastMessageReadAtMigration(context.Context, *StopLastMessageReadAtMigrationRequest) (*StopLastMessageReadAtMigrationResponse, error)
func (UnimplementedChatAPIServer) UnbanUser ¶
func (UnimplementedChatAPIServer) UnbanUser(context.Context, *UnbanUserRequest) (*Empty, error)
func (UnimplementedChatAPIServer) UnwatchChat ¶
func (UnimplementedChatAPIServer) UnwatchChat(context.Context, *UnwatchChatRequest) (*Empty, error)
func (UnimplementedChatAPIServer) UpdateSettings ¶
func (UnimplementedChatAPIServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*Empty, error)
func (UnimplementedChatAPIServer) UserChats ¶
func (UnimplementedChatAPIServer) UserChats(context.Context, *UserChatsRequest) (*ChatsResponse, error)
func (UnimplementedChatAPIServer) WatchChat ¶
func (UnimplementedChatAPIServer) WatchChat(context.Context, *WatchChatRequest) (*Empty, error)
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 UnwatchChatRequest ¶
type UnwatchChatRequest 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 (*UnwatchChatRequest) Descriptor
deprecated
func (*UnwatchChatRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnwatchChatRequest.ProtoReflect.Descriptor instead.
func (*UnwatchChatRequest) GetChatId ¶
func (x *UnwatchChatRequest) GetChatId() string
func (*UnwatchChatRequest) GetUserId ¶
func (x *UnwatchChatRequest) GetUserId() string
func (*UnwatchChatRequest) ProtoMessage ¶
func (*UnwatchChatRequest) ProtoMessage()
func (*UnwatchChatRequest) ProtoReflect ¶
func (x *UnwatchChatRequest) ProtoReflect() protoreflect.Message
func (*UnwatchChatRequest) Reset ¶
func (x *UnwatchChatRequest) Reset()
func (*UnwatchChatRequest) String ¶
func (x *UnwatchChatRequest) String() string
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
type WatchChatRequest ¶
type WatchChatRequest 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 (*WatchChatRequest) Descriptor
deprecated
func (*WatchChatRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchChatRequest.ProtoReflect.Descriptor instead.
func (*WatchChatRequest) GetChatId ¶
func (x *WatchChatRequest) GetChatId() string
func (*WatchChatRequest) GetUserId ¶
func (x *WatchChatRequest) GetUserId() string
func (*WatchChatRequest) ProtoMessage ¶
func (*WatchChatRequest) ProtoMessage()
func (*WatchChatRequest) ProtoReflect ¶
func (x *WatchChatRequest) ProtoReflect() protoreflect.Message
func (*WatchChatRequest) Reset ¶
func (x *WatchChatRequest) Reset()
func (*WatchChatRequest) String ¶
func (x *WatchChatRequest) String() string