Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterRoom303APIServer(s grpc.ServiceRegistrar, srv Room303APIServer)
- type AddRoomMemberRequest
- func (*AddRoomMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRoomMemberRequest) GetAdmin() bool
- func (x *AddRoomMemberRequest) GetRoomId() string
- func (x *AddRoomMemberRequest) GetUserId() string
- func (*AddRoomMemberRequest) ProtoMessage()
- func (x *AddRoomMemberRequest) ProtoReflect() protoreflect.Message
- func (x *AddRoomMemberRequest) Reset()
- func (x *AddRoomMemberRequest) String() string
- type ArchiveRoomRequest
- func (*ArchiveRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveRoomRequest) GetRoomId() string
- func (*ArchiveRoomRequest) ProtoMessage()
- func (x *ArchiveRoomRequest) ProtoReflect() protoreflect.Message
- func (x *ArchiveRoomRequest) Reset()
- func (x *ArchiveRoomRequest) String() string
- type BulkMarkMessageReadRequest
- func (*BulkMarkMessageReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BulkMarkMessageReadRequest) GetMessageIds() []string
- func (x *BulkMarkMessageReadRequest) GetRoomId() string
- func (*BulkMarkMessageReadRequest) ProtoMessage()
- func (x *BulkMarkMessageReadRequest) ProtoReflect() protoreflect.Message
- func (x *BulkMarkMessageReadRequest) Reset()
- func (x *BulkMarkMessageReadRequest) String() string
- type BulkMarkMessageReadResponse
- func (*BulkMarkMessageReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BulkMarkMessageReadResponse) GetMessages() []*commons.Message
- func (*BulkMarkMessageReadResponse) ProtoMessage()
- func (x *BulkMarkMessageReadResponse) ProtoReflect() protoreflect.Message
- func (x *BulkMarkMessageReadResponse) Reset()
- func (x *BulkMarkMessageReadResponse) String() string
- type CreateMessageRequest
- func (*CreateMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMessageRequest) GetNonce() string
- func (x *CreateMessageRequest) GetPayload() string
- func (x *CreateMessageRequest) GetRoomId() string
- func (*CreateMessageRequest) ProtoMessage()
- func (x *CreateMessageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMessageRequest) Reset()
- func (x *CreateMessageRequest) String() string
- type CreateMessageResponse
- func (*CreateMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMessageResponse) GetMessage() *commons.Message
- func (*CreateMessageResponse) ProtoMessage()
- func (x *CreateMessageResponse) ProtoReflect() protoreflect.Message
- func (x *CreateMessageResponse) Reset()
- func (x *CreateMessageResponse) String() string
- type CreateRoomRequest
- func (*CreateRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoomRequest) GetMembers() []string
- func (x *CreateRoomRequest) GetName() string
- func (x *CreateRoomRequest) GetType() commons.RoomType
- func (*CreateRoomRequest) ProtoMessage()
- func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoomRequest) Reset()
- func (x *CreateRoomRequest) String() string
- type DeleteMessageRequest
- func (*DeleteMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMessageRequest) GetMessageId() string
- func (x *DeleteMessageRequest) GetNonce() string
- func (x *DeleteMessageRequest) GetRoomId() string
- func (*DeleteMessageRequest) ProtoMessage()
- func (x *DeleteMessageRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMessageRequest) Reset()
- func (x *DeleteMessageRequest) String() string
- type DeleteMessageResponse
- func (*DeleteMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMessageResponse) GetMessage() *commons.Message
- func (*DeleteMessageResponse) ProtoMessage()
- func (x *DeleteMessageResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteMessageResponse) Reset()
- func (x *DeleteMessageResponse) String() string
- type EditMessageRequest
- func (*EditMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditMessageRequest) GetMessageId() string
- func (x *EditMessageRequest) GetNonce() string
- func (x *EditMessageRequest) GetPayload() string
- func (x *EditMessageRequest) GetRoomId() string
- func (*EditMessageRequest) ProtoMessage()
- func (x *EditMessageRequest) ProtoReflect() protoreflect.Message
- func (x *EditMessageRequest) Reset()
- func (x *EditMessageRequest) String() string
- type EditMessageResponse
- func (*EditMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EditMessageResponse) GetMessage() *commons.Message
- func (*EditMessageResponse) ProtoMessage()
- func (x *EditMessageResponse) ProtoReflect() protoreflect.Message
- func (x *EditMessageResponse) Reset()
- func (x *EditMessageResponse) String() string
- type GetMessagesRequest
- func (*GetMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesRequest) GetOffset() *timestamppb.Timestamp
- func (x *GetMessagesRequest) GetRoomId() 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() []*commons.Message
- func (*GetMessagesResponse) ProtoMessage()
- func (x *GetMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetMessagesResponse) Reset()
- func (x *GetMessagesResponse) String() string
- type GetRoomMemberRequest
- func (*GetRoomMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoomMemberRequest) GetRoomId() string
- func (x *GetRoomMemberRequest) GetUserId() string
- func (*GetRoomMemberRequest) ProtoMessage()
- func (x *GetRoomMemberRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoomMemberRequest) Reset()
- func (x *GetRoomMemberRequest) String() string
- type GetRoomRequest
- type GetUnreadStatsRequest
- type GetUnreadStatsResponse
- func (*GetUnreadStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnreadStatsResponse) GetStats() []*commons.MessageStat
- func (*GetUnreadStatsResponse) ProtoMessage()
- func (x *GetUnreadStatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUnreadStatsResponse) Reset()
- func (x *GetUnreadStatsResponse) String() string
- type JoinRoomRequest
- type ListAllRoomsRequest
- type ListRoomMembersRequest
- func (*ListRoomMembersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoomMembersRequest) GetRoomId() string
- func (*ListRoomMembersRequest) ProtoMessage()
- func (x *ListRoomMembersRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoomMembersRequest) Reset()
- func (x *ListRoomMembersRequest) String() string
- type ListRoomMembersResponse
- func (*ListRoomMembersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoomMembersResponse) GetMembers() []*commons.Member
- func (*ListRoomMembersResponse) ProtoMessage()
- func (x *ListRoomMembersResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoomMembersResponse) Reset()
- func (x *ListRoomMembersResponse) String() string
- type ListRoomsForMemberRequest
- type ListRoomsResponse
- func (*ListRoomsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoomsResponse) GetRooms() []*commons.Room
- func (*ListRoomsResponse) ProtoMessage()
- func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoomsResponse) Reset()
- func (x *ListRoomsResponse) String() string
- type MarkAllMessagesReadRequest
- func (*MarkAllMessagesReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarkAllMessagesReadRequest) GetRoomId() string
- func (*MarkAllMessagesReadRequest) ProtoMessage()
- func (x *MarkAllMessagesReadRequest) ProtoReflect() protoreflect.Message
- func (x *MarkAllMessagesReadRequest) Reset()
- func (x *MarkAllMessagesReadRequest) String() string
- type MarkAllMessagesReadResponse
- func (*MarkAllMessagesReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MarkAllMessagesReadResponse) GetRowsUpdated() []*commons.Message
- func (*MarkAllMessagesReadResponse) ProtoMessage()
- func (x *MarkAllMessagesReadResponse) ProtoReflect() protoreflect.Message
- func (x *MarkAllMessagesReadResponse) Reset()
- func (x *MarkAllMessagesReadResponse) String() string
- type MarkMessageReadRequest
- func (*MarkMessageReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarkMessageReadRequest) GetMemberId() string
- func (x *MarkMessageReadRequest) GetMessageId() string
- func (*MarkMessageReadRequest) ProtoMessage()
- func (x *MarkMessageReadRequest) ProtoReflect() protoreflect.Message
- func (x *MarkMessageReadRequest) Reset()
- func (x *MarkMessageReadRequest) String() string
- type MarkMessageReadResponse
- type RemoveRoomMemberRequest
- func (*RemoveRoomMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRoomMemberRequest) GetRoomId() string
- func (x *RemoveRoomMemberRequest) GetUserId() string
- func (*RemoveRoomMemberRequest) ProtoMessage()
- func (x *RemoveRoomMemberRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRoomMemberRequest) Reset()
- func (x *RemoveRoomMemberRequest) String() string
- type RemoveRoomMemberResponse
- type Room303APIClient
- type Room303APIServer
- type Room303API_StreamMessageUpdatesClient
- type Room303API_StreamMessageUpdatesServer
- type SetAdminForRoomMemberRequest
- func (*SetAdminForRoomMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAdminForRoomMemberRequest) GetRoomId() string
- func (x *SetAdminForRoomMemberRequest) GetUserId() string
- func (*SetAdminForRoomMemberRequest) ProtoMessage()
- func (x *SetAdminForRoomMemberRequest) ProtoReflect() protoreflect.Message
- func (x *SetAdminForRoomMemberRequest) Reset()
- func (x *SetAdminForRoomMemberRequest) String() string
- type SetAdminForRoomMemberResponse
- func (*SetAdminForRoomMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetAdminForRoomMemberResponse) ProtoMessage()
- func (x *SetAdminForRoomMemberResponse) ProtoReflect() protoreflect.Message
- func (x *SetAdminForRoomMemberResponse) Reset()
- func (x *SetAdminForRoomMemberResponse) String() string
- type StreamMessageUpdatesRequest
- func (*StreamMessageUpdatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMessageUpdatesRequest) GetMemberId() string
- func (x *StreamMessageUpdatesRequest) GetRoomId() string
- func (*StreamMessageUpdatesRequest) ProtoMessage()
- func (x *StreamMessageUpdatesRequest) ProtoReflect() protoreflect.Message
- func (x *StreamMessageUpdatesRequest) Reset()
- func (x *StreamMessageUpdatesRequest) String() string
- type StreamMessageUpdatesResponse
- func (*StreamMessageUpdatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMessageUpdatesResponse) GetMessage() *commons.Message
- func (*StreamMessageUpdatesResponse) ProtoMessage()
- func (x *StreamMessageUpdatesResponse) ProtoReflect() protoreflect.Message
- func (x *StreamMessageUpdatesResponse) Reset()
- func (x *StreamMessageUpdatesResponse) String() string
- type UnimplementedRoom303APIServer
- func (UnimplementedRoom303APIServer) AddRoomMember(context.Context, *AddRoomMemberRequest) (*commons.Member, error)
- func (UnimplementedRoom303APIServer) ArchiveRoom(context.Context, *ArchiveRoomRequest) (*commons.Room, error)
- func (UnimplementedRoom303APIServer) BulkMarkMessageRead(context.Context, *BulkMarkMessageReadRequest) (*BulkMarkMessageReadResponse, error)
- func (UnimplementedRoom303APIServer) CreateMessage(context.Context, *CreateMessageRequest) (*CreateMessageResponse, error)
- func (UnimplementedRoom303APIServer) CreateRoom(context.Context, *CreateRoomRequest) (*commons.Room, error)
- func (UnimplementedRoom303APIServer) DeleteMessage(context.Context, *DeleteMessageRequest) (*DeleteMessageResponse, error)
- func (UnimplementedRoom303APIServer) EditMessage(context.Context, *EditMessageRequest) (*EditMessageResponse, error)
- func (UnimplementedRoom303APIServer) GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
- func (UnimplementedRoom303APIServer) GetRoom(context.Context, *GetRoomRequest) (*commons.Room, error)
- func (UnimplementedRoom303APIServer) GetRoomMember(context.Context, *GetRoomMemberRequest) (*commons.Member, error)
- func (UnimplementedRoom303APIServer) GetUnreadStats(context.Context, *GetUnreadStatsRequest) (*GetUnreadStatsResponse, error)
- func (UnimplementedRoom303APIServer) JoinRoom(context.Context, *JoinRoomRequest) (*commons.Room, error)
- func (UnimplementedRoom303APIServer) ListAllRooms(context.Context, *ListAllRoomsRequest) (*ListRoomsResponse, error)
- func (UnimplementedRoom303APIServer) ListRoomMembers(context.Context, *ListRoomMembersRequest) (*ListRoomMembersResponse, error)
- func (UnimplementedRoom303APIServer) ListRoomsForMember(context.Context, *ListRoomsForMemberRequest) (*ListRoomsResponse, error)
- func (UnimplementedRoom303APIServer) MarkAllMessagesRead(context.Context, *MarkAllMessagesReadRequest) (*MarkAllMessagesReadResponse, error)
- func (UnimplementedRoom303APIServer) MarkMessageRead(context.Context, *MarkMessageReadRequest) (*MarkMessageReadResponse, error)
- func (UnimplementedRoom303APIServer) RemoveRoomMember(context.Context, *RemoveRoomMemberRequest) (*RemoveRoomMemberResponse, error)
- func (UnimplementedRoom303APIServer) SetAdminForRoomMember(context.Context, *SetAdminForRoomMemberRequest) (*SetAdminForRoomMemberResponse, error)
- func (UnimplementedRoom303APIServer) StreamMessageUpdates(*StreamMessageUpdatesRequest, Room303API_StreamMessageUpdatesServer) error
- type UnsafeRoom303APIServer
Constants ¶
const ( Room303API_AddRoomMember_FullMethodName = "/api.v1alpha1.room303.Room303API/AddRoomMember" Room303API_RemoveRoomMember_FullMethodName = "/api.v1alpha1.room303.Room303API/RemoveRoomMember" Room303API_ListRoomMembers_FullMethodName = "/api.v1alpha1.room303.Room303API/ListRoomMembers" Room303API_SetAdminForRoomMember_FullMethodName = "/api.v1alpha1.room303.Room303API/SetAdminForRoomMember" Room303API_JoinRoom_FullMethodName = "/api.v1alpha1.room303.Room303API/JoinRoom" Room303API_GetRoomMember_FullMethodName = "/api.v1alpha1.room303.Room303API/GetRoomMember" Room303API_CreateMessage_FullMethodName = "/api.v1alpha1.room303.Room303API/CreateMessage" Room303API_EditMessage_FullMethodName = "/api.v1alpha1.room303.Room303API/EditMessage" Room303API_DeleteMessage_FullMethodName = "/api.v1alpha1.room303.Room303API/DeleteMessage" Room303API_GetMessages_FullMethodName = "/api.v1alpha1.room303.Room303API/GetMessages" Room303API_StreamMessageUpdates_FullMethodName = "/api.v1alpha1.room303.Room303API/StreamMessageUpdates" Room303API_GetUnreadStats_FullMethodName = "/api.v1alpha1.room303.Room303API/GetUnreadStats" Room303API_MarkMessageRead_FullMethodName = "/api.v1alpha1.room303.Room303API/MarkMessageRead" Room303API_MarkAllMessagesRead_FullMethodName = "/api.v1alpha1.room303.Room303API/MarkAllMessagesRead" Room303API_BulkMarkMessageRead_FullMethodName = "/api.v1alpha1.room303.Room303API/BulkMarkMessageRead" Room303API_CreateRoom_FullMethodName = "/api.v1alpha1.room303.Room303API/CreateRoom" Room303API_GetRoom_FullMethodName = "/api.v1alpha1.room303.Room303API/GetRoom" Room303API_ListAllRooms_FullMethodName = "/api.v1alpha1.room303.Room303API/ListAllRooms" Room303API_ListRoomsForMember_FullMethodName = "/api.v1alpha1.room303.Room303API/ListRoomsForMember" Room303API_ArchiveRoom_FullMethodName = "/api.v1alpha1.room303.Room303API/ArchiveRoom" )
Variables ¶
var File_api_v1alpha1_room303_member_proto protoreflect.FileDescriptor
var File_api_v1alpha1_room303_message_proto protoreflect.FileDescriptor
var File_api_v1alpha1_room303_notification_proto protoreflect.FileDescriptor
var File_api_v1alpha1_room303_room_proto protoreflect.FileDescriptor
var File_api_v1alpha1_room303_service_proto protoreflect.FileDescriptor
var Room303API_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.room303.Room303API", HandlerType: (*Room303APIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddRoomMember", Handler: _Room303API_AddRoomMember_Handler, }, { MethodName: "RemoveRoomMember", Handler: _Room303API_RemoveRoomMember_Handler, }, { MethodName: "ListRoomMembers", Handler: _Room303API_ListRoomMembers_Handler, }, { MethodName: "SetAdminForRoomMember", Handler: _Room303API_SetAdminForRoomMember_Handler, }, { MethodName: "JoinRoom", Handler: _Room303API_JoinRoom_Handler, }, { MethodName: "GetRoomMember", Handler: _Room303API_GetRoomMember_Handler, }, { MethodName: "CreateMessage", Handler: _Room303API_CreateMessage_Handler, }, { MethodName: "EditMessage", Handler: _Room303API_EditMessage_Handler, }, { MethodName: "DeleteMessage", Handler: _Room303API_DeleteMessage_Handler, }, { MethodName: "GetMessages", Handler: _Room303API_GetMessages_Handler, }, { MethodName: "GetUnreadStats", Handler: _Room303API_GetUnreadStats_Handler, }, { MethodName: "MarkMessageRead", Handler: _Room303API_MarkMessageRead_Handler, }, { MethodName: "MarkAllMessagesRead", Handler: _Room303API_MarkAllMessagesRead_Handler, }, { MethodName: "BulkMarkMessageRead", Handler: _Room303API_BulkMarkMessageRead_Handler, }, { MethodName: "CreateRoom", Handler: _Room303API_CreateRoom_Handler, }, { MethodName: "GetRoom", Handler: _Room303API_GetRoom_Handler, }, { MethodName: "ListAllRooms", Handler: _Room303API_ListAllRooms_Handler, }, { MethodName: "ListRoomsForMember", Handler: _Room303API_ListRoomsForMember_Handler, }, { MethodName: "ArchiveRoom", Handler: _Room303API_ArchiveRoom_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamMessageUpdates", Handler: _Room303API_StreamMessageUpdates_Handler, ServerStreams: true, }, }, Metadata: "api/v1alpha1/room303/service.proto", }
Room303API_ServiceDesc is the grpc.ServiceDesc for Room303API service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRoom303APIServer ¶
func RegisterRoom303APIServer(s grpc.ServiceRegistrar, srv Room303APIServer)
Types ¶
type AddRoomMemberRequest ¶
type AddRoomMemberRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Admin bool `protobuf:"varint,3,opt,name=admin,proto3" json:"admin,omitempty"` // contains filtered or unexported fields }
func (*AddRoomMemberRequest) Descriptor
deprecated
func (*AddRoomMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRoomMemberRequest.ProtoReflect.Descriptor instead.
func (*AddRoomMemberRequest) GetAdmin ¶
func (x *AddRoomMemberRequest) GetAdmin() bool
func (*AddRoomMemberRequest) GetRoomId ¶
func (x *AddRoomMemberRequest) GetRoomId() string
func (*AddRoomMemberRequest) GetUserId ¶
func (x *AddRoomMemberRequest) GetUserId() string
func (*AddRoomMemberRequest) ProtoMessage ¶
func (*AddRoomMemberRequest) ProtoMessage()
func (*AddRoomMemberRequest) ProtoReflect ¶
func (x *AddRoomMemberRequest) ProtoReflect() protoreflect.Message
func (*AddRoomMemberRequest) Reset ¶
func (x *AddRoomMemberRequest) Reset()
func (*AddRoomMemberRequest) String ¶
func (x *AddRoomMemberRequest) String() string
type ArchiveRoomRequest ¶
type ArchiveRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*ArchiveRoomRequest) Descriptor
deprecated
func (*ArchiveRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveRoomRequest.ProtoReflect.Descriptor instead.
func (*ArchiveRoomRequest) GetRoomId ¶
func (x *ArchiveRoomRequest) GetRoomId() string
func (*ArchiveRoomRequest) ProtoMessage ¶
func (*ArchiveRoomRequest) ProtoMessage()
func (*ArchiveRoomRequest) ProtoReflect ¶
func (x *ArchiveRoomRequest) ProtoReflect() protoreflect.Message
func (*ArchiveRoomRequest) Reset ¶
func (x *ArchiveRoomRequest) Reset()
func (*ArchiveRoomRequest) String ¶
func (x *ArchiveRoomRequest) String() string
type BulkMarkMessageReadRequest ¶
type BulkMarkMessageReadRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` MessageIds []string `protobuf:"bytes,2,rep,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"` // contains filtered or unexported fields }
func (*BulkMarkMessageReadRequest) Descriptor
deprecated
func (*BulkMarkMessageReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkMarkMessageReadRequest.ProtoReflect.Descriptor instead.
func (*BulkMarkMessageReadRequest) GetMessageIds ¶
func (x *BulkMarkMessageReadRequest) GetMessageIds() []string
func (*BulkMarkMessageReadRequest) GetRoomId ¶
func (x *BulkMarkMessageReadRequest) GetRoomId() string
func (*BulkMarkMessageReadRequest) ProtoMessage ¶
func (*BulkMarkMessageReadRequest) ProtoMessage()
func (*BulkMarkMessageReadRequest) ProtoReflect ¶
func (x *BulkMarkMessageReadRequest) ProtoReflect() protoreflect.Message
func (*BulkMarkMessageReadRequest) Reset ¶
func (x *BulkMarkMessageReadRequest) Reset()
func (*BulkMarkMessageReadRequest) String ¶
func (x *BulkMarkMessageReadRequest) String() string
type BulkMarkMessageReadResponse ¶
type BulkMarkMessageReadResponse struct { Messages []*commons.Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*BulkMarkMessageReadResponse) Descriptor
deprecated
func (*BulkMarkMessageReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkMarkMessageReadResponse.ProtoReflect.Descriptor instead.
func (*BulkMarkMessageReadResponse) GetMessages ¶
func (x *BulkMarkMessageReadResponse) GetMessages() []*commons.Message
func (*BulkMarkMessageReadResponse) ProtoMessage ¶
func (*BulkMarkMessageReadResponse) ProtoMessage()
func (*BulkMarkMessageReadResponse) ProtoReflect ¶
func (x *BulkMarkMessageReadResponse) ProtoReflect() protoreflect.Message
func (*BulkMarkMessageReadResponse) Reset ¶
func (x *BulkMarkMessageReadResponse) Reset()
func (*BulkMarkMessageReadResponse) String ¶
func (x *BulkMarkMessageReadResponse) String() string
type CreateMessageRequest ¶
type CreateMessageRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // nonce is set by UI and used to tell if the message coming through the message update stream was created by that client. // this is so when the user is logged in on multiple clients (different device, tabs, browser) they can see their updated message on those clients. Nonce string `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*CreateMessageRequest) Descriptor
deprecated
func (*CreateMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMessageRequest.ProtoReflect.Descriptor instead.
func (*CreateMessageRequest) GetNonce ¶
func (x *CreateMessageRequest) GetNonce() string
func (*CreateMessageRequest) GetPayload ¶
func (x *CreateMessageRequest) GetPayload() string
func (*CreateMessageRequest) GetRoomId ¶
func (x *CreateMessageRequest) GetRoomId() string
func (*CreateMessageRequest) ProtoMessage ¶
func (*CreateMessageRequest) ProtoMessage()
func (*CreateMessageRequest) ProtoReflect ¶
func (x *CreateMessageRequest) ProtoReflect() protoreflect.Message
func (*CreateMessageRequest) Reset ¶
func (x *CreateMessageRequest) Reset()
func (*CreateMessageRequest) String ¶
func (x *CreateMessageRequest) String() string
type CreateMessageResponse ¶
type CreateMessageResponse struct { Message *commons.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*CreateMessageResponse) Descriptor
deprecated
func (*CreateMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMessageResponse.ProtoReflect.Descriptor instead.
func (*CreateMessageResponse) GetMessage ¶
func (x *CreateMessageResponse) GetMessage() *commons.Message
func (*CreateMessageResponse) ProtoMessage ¶
func (*CreateMessageResponse) ProtoMessage()
func (*CreateMessageResponse) ProtoReflect ¶
func (x *CreateMessageResponse) ProtoReflect() protoreflect.Message
func (*CreateMessageResponse) Reset ¶
func (x *CreateMessageResponse) Reset()
func (*CreateMessageResponse) String ¶
func (x *CreateMessageResponse) String() string
type CreateRoomRequest ¶
type CreateRoomRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type commons.RoomType `protobuf:"varint,2,opt,name=type,proto3,enum=api.commons.RoomType" json:"type,omitempty"` Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
func (*CreateRoomRequest) Descriptor
deprecated
func (*CreateRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead.
func (*CreateRoomRequest) GetMembers ¶
func (x *CreateRoomRequest) GetMembers() []string
func (*CreateRoomRequest) GetName ¶
func (x *CreateRoomRequest) GetName() string
func (*CreateRoomRequest) GetType ¶
func (x *CreateRoomRequest) GetType() commons.RoomType
func (*CreateRoomRequest) ProtoMessage ¶
func (*CreateRoomRequest) ProtoMessage()
func (*CreateRoomRequest) ProtoReflect ¶
func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message
func (*CreateRoomRequest) Reset ¶
func (x *CreateRoomRequest) Reset()
func (*CreateRoomRequest) String ¶
func (x *CreateRoomRequest) String() string
type DeleteMessageRequest ¶
type DeleteMessageRequest struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // nonce is set by UI and used to tell if the message coming through the message update stream was created by that client. // this is so when the user is logged in on multiple clients (different device, tabs, browser) they can see their updated message on those clients. Nonce string `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*DeleteMessageRequest) Descriptor
deprecated
func (*DeleteMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMessageRequest.ProtoReflect.Descriptor instead.
func (*DeleteMessageRequest) GetMessageId ¶
func (x *DeleteMessageRequest) GetMessageId() string
func (*DeleteMessageRequest) GetNonce ¶
func (x *DeleteMessageRequest) GetNonce() string
func (*DeleteMessageRequest) GetRoomId ¶
func (x *DeleteMessageRequest) GetRoomId() 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 DeleteMessageResponse ¶
type DeleteMessageResponse struct { Message *commons.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DeleteMessageResponse) Descriptor
deprecated
func (*DeleteMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMessageResponse.ProtoReflect.Descriptor instead.
func (*DeleteMessageResponse) GetMessage ¶
func (x *DeleteMessageResponse) GetMessage() *commons.Message
func (*DeleteMessageResponse) ProtoMessage ¶
func (*DeleteMessageResponse) ProtoMessage()
func (*DeleteMessageResponse) ProtoReflect ¶
func (x *DeleteMessageResponse) ProtoReflect() protoreflect.Message
func (*DeleteMessageResponse) Reset ¶
func (x *DeleteMessageResponse) Reset()
func (*DeleteMessageResponse) String ¶
func (x *DeleteMessageResponse) String() string
type EditMessageRequest ¶
type EditMessageRequest struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` RoomId string `protobuf:"bytes,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // nonce is set by UI and used to tell if the message coming through the message update stream was created by that client. // this is so when the user is logged in on multiple clients (different device, tabs, browser) they can see their updated message on those clients. Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*EditMessageRequest) Descriptor
deprecated
func (*EditMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditMessageRequest.ProtoReflect.Descriptor instead.
func (*EditMessageRequest) GetMessageId ¶
func (x *EditMessageRequest) GetMessageId() string
func (*EditMessageRequest) GetNonce ¶
func (x *EditMessageRequest) GetNonce() string
func (*EditMessageRequest) GetPayload ¶
func (x *EditMessageRequest) GetPayload() string
func (*EditMessageRequest) GetRoomId ¶
func (x *EditMessageRequest) GetRoomId() string
func (*EditMessageRequest) ProtoMessage ¶
func (*EditMessageRequest) ProtoMessage()
func (*EditMessageRequest) ProtoReflect ¶
func (x *EditMessageRequest) ProtoReflect() protoreflect.Message
func (*EditMessageRequest) Reset ¶
func (x *EditMessageRequest) Reset()
func (*EditMessageRequest) String ¶
func (x *EditMessageRequest) String() string
type EditMessageResponse ¶
type EditMessageResponse struct { Message *commons.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*EditMessageResponse) Descriptor
deprecated
func (*EditMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditMessageResponse.ProtoReflect.Descriptor instead.
func (*EditMessageResponse) GetMessage ¶
func (x *EditMessageResponse) GetMessage() *commons.Message
func (*EditMessageResponse) ProtoMessage ¶
func (*EditMessageResponse) ProtoMessage()
func (*EditMessageResponse) ProtoReflect ¶
func (x *EditMessageResponse) ProtoReflect() protoreflect.Message
func (*EditMessageResponse) Reset ¶
func (x *EditMessageResponse) Reset()
func (*EditMessageResponse) String ¶
func (x *EditMessageResponse) String() string
type GetMessagesRequest ¶
type GetMessagesRequest struct { RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Offset *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetMessagesRequest) Descriptor
deprecated
func (*GetMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetMessagesRequest) GetOffset ¶
func (x *GetMessagesRequest) GetOffset() *timestamppb.Timestamp
func (*GetMessagesRequest) GetRoomId ¶
func (x *GetMessagesRequest) GetRoomId() 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 []*commons.Message `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() []*commons.Message
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 GetRoomMemberRequest ¶
type GetRoomMemberRequest struct { RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetRoomMemberRequest) Descriptor
deprecated
func (*GetRoomMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomMemberRequest.ProtoReflect.Descriptor instead.
func (*GetRoomMemberRequest) GetRoomId ¶
func (x *GetRoomMemberRequest) GetRoomId() string
func (*GetRoomMemberRequest) GetUserId ¶
func (x *GetRoomMemberRequest) GetUserId() string
func (*GetRoomMemberRequest) ProtoMessage ¶
func (*GetRoomMemberRequest) ProtoMessage()
func (*GetRoomMemberRequest) ProtoReflect ¶
func (x *GetRoomMemberRequest) ProtoReflect() protoreflect.Message
func (*GetRoomMemberRequest) Reset ¶
func (x *GetRoomMemberRequest) Reset()
func (*GetRoomMemberRequest) String ¶
func (x *GetRoomMemberRequest) String() string
type GetRoomRequest ¶
type GetRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*GetRoomRequest) Descriptor
deprecated
func (*GetRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomRequest.ProtoReflect.Descriptor instead.
func (*GetRoomRequest) GetRoomId ¶
func (x *GetRoomRequest) GetRoomId() string
func (*GetRoomRequest) ProtoMessage ¶
func (*GetRoomRequest) ProtoMessage()
func (*GetRoomRequest) ProtoReflect ¶
func (x *GetRoomRequest) ProtoReflect() protoreflect.Message
func (*GetRoomRequest) Reset ¶
func (x *GetRoomRequest) Reset()
func (*GetRoomRequest) String ¶
func (x *GetRoomRequest) String() string
type GetUnreadStatsRequest ¶
type GetUnreadStatsRequest struct {
// contains filtered or unexported fields
}
func (*GetUnreadStatsRequest) Descriptor
deprecated
func (*GetUnreadStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUnreadStatsRequest.ProtoReflect.Descriptor instead.
func (*GetUnreadStatsRequest) ProtoMessage ¶
func (*GetUnreadStatsRequest) ProtoMessage()
func (*GetUnreadStatsRequest) ProtoReflect ¶
func (x *GetUnreadStatsRequest) ProtoReflect() protoreflect.Message
func (*GetUnreadStatsRequest) Reset ¶
func (x *GetUnreadStatsRequest) Reset()
func (*GetUnreadStatsRequest) String ¶
func (x *GetUnreadStatsRequest) String() string
type GetUnreadStatsResponse ¶
type GetUnreadStatsResponse struct { Stats []*commons.MessageStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*GetUnreadStatsResponse) Descriptor
deprecated
func (*GetUnreadStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUnreadStatsResponse.ProtoReflect.Descriptor instead.
func (*GetUnreadStatsResponse) GetStats ¶
func (x *GetUnreadStatsResponse) GetStats() []*commons.MessageStat
func (*GetUnreadStatsResponse) ProtoMessage ¶
func (*GetUnreadStatsResponse) ProtoMessage()
func (*GetUnreadStatsResponse) ProtoReflect ¶
func (x *GetUnreadStatsResponse) ProtoReflect() protoreflect.Message
func (*GetUnreadStatsResponse) Reset ¶
func (x *GetUnreadStatsResponse) Reset()
func (*GetUnreadStatsResponse) String ¶
func (x *GetUnreadStatsResponse) String() string
type JoinRoomRequest ¶
type JoinRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*JoinRoomRequest) Descriptor
deprecated
func (*JoinRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinRoomRequest.ProtoReflect.Descriptor instead.
func (*JoinRoomRequest) GetRoomId ¶
func (x *JoinRoomRequest) GetRoomId() string
func (*JoinRoomRequest) ProtoMessage ¶
func (*JoinRoomRequest) ProtoMessage()
func (*JoinRoomRequest) ProtoReflect ¶
func (x *JoinRoomRequest) ProtoReflect() protoreflect.Message
func (*JoinRoomRequest) Reset ¶
func (x *JoinRoomRequest) Reset()
func (*JoinRoomRequest) String ¶
func (x *JoinRoomRequest) String() string
type ListAllRoomsRequest ¶
type ListAllRoomsRequest struct {
// contains filtered or unexported fields
}
func (*ListAllRoomsRequest) Descriptor
deprecated
func (*ListAllRoomsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAllRoomsRequest.ProtoReflect.Descriptor instead.
func (*ListAllRoomsRequest) ProtoMessage ¶
func (*ListAllRoomsRequest) ProtoMessage()
func (*ListAllRoomsRequest) ProtoReflect ¶
func (x *ListAllRoomsRequest) ProtoReflect() protoreflect.Message
func (*ListAllRoomsRequest) Reset ¶
func (x *ListAllRoomsRequest) Reset()
func (*ListAllRoomsRequest) String ¶
func (x *ListAllRoomsRequest) String() string
type ListRoomMembersRequest ¶
type ListRoomMembersRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*ListRoomMembersRequest) Descriptor
deprecated
func (*ListRoomMembersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomMembersRequest.ProtoReflect.Descriptor instead.
func (*ListRoomMembersRequest) GetRoomId ¶
func (x *ListRoomMembersRequest) GetRoomId() string
func (*ListRoomMembersRequest) ProtoMessage ¶
func (*ListRoomMembersRequest) ProtoMessage()
func (*ListRoomMembersRequest) ProtoReflect ¶
func (x *ListRoomMembersRequest) ProtoReflect() protoreflect.Message
func (*ListRoomMembersRequest) Reset ¶
func (x *ListRoomMembersRequest) Reset()
func (*ListRoomMembersRequest) String ¶
func (x *ListRoomMembersRequest) String() string
type ListRoomMembersResponse ¶
type ListRoomMembersResponse struct { Members []*commons.Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
func (*ListRoomMembersResponse) Descriptor
deprecated
func (*ListRoomMembersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomMembersResponse.ProtoReflect.Descriptor instead.
func (*ListRoomMembersResponse) GetMembers ¶
func (x *ListRoomMembersResponse) GetMembers() []*commons.Member
func (*ListRoomMembersResponse) ProtoMessage ¶
func (*ListRoomMembersResponse) ProtoMessage()
func (*ListRoomMembersResponse) ProtoReflect ¶
func (x *ListRoomMembersResponse) ProtoReflect() protoreflect.Message
func (*ListRoomMembersResponse) Reset ¶
func (x *ListRoomMembersResponse) Reset()
func (*ListRoomMembersResponse) String ¶
func (x *ListRoomMembersResponse) String() string
type ListRoomsForMemberRequest ¶
type ListRoomsForMemberRequest struct {
// contains filtered or unexported fields
}
func (*ListRoomsForMemberRequest) Descriptor
deprecated
func (*ListRoomsForMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomsForMemberRequest.ProtoReflect.Descriptor instead.
func (*ListRoomsForMemberRequest) ProtoMessage ¶
func (*ListRoomsForMemberRequest) ProtoMessage()
func (*ListRoomsForMemberRequest) ProtoReflect ¶
func (x *ListRoomsForMemberRequest) ProtoReflect() protoreflect.Message
func (*ListRoomsForMemberRequest) Reset ¶
func (x *ListRoomsForMemberRequest) Reset()
func (*ListRoomsForMemberRequest) String ¶
func (x *ListRoomsForMemberRequest) String() string
type ListRoomsResponse ¶
type ListRoomsResponse struct { Rooms []*commons.Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` // contains filtered or unexported fields }
func (*ListRoomsResponse) Descriptor
deprecated
func (*ListRoomsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomsResponse.ProtoReflect.Descriptor instead.
func (*ListRoomsResponse) GetRooms ¶
func (x *ListRoomsResponse) GetRooms() []*commons.Room
func (*ListRoomsResponse) ProtoMessage ¶
func (*ListRoomsResponse) ProtoMessage()
func (*ListRoomsResponse) ProtoReflect ¶
func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message
func (*ListRoomsResponse) Reset ¶
func (x *ListRoomsResponse) Reset()
func (*ListRoomsResponse) String ¶
func (x *ListRoomsResponse) String() string
type MarkAllMessagesReadRequest ¶
type MarkAllMessagesReadRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*MarkAllMessagesReadRequest) Descriptor
deprecated
func (*MarkAllMessagesReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarkAllMessagesReadRequest.ProtoReflect.Descriptor instead.
func (*MarkAllMessagesReadRequest) GetRoomId ¶
func (x *MarkAllMessagesReadRequest) GetRoomId() string
func (*MarkAllMessagesReadRequest) ProtoMessage ¶
func (*MarkAllMessagesReadRequest) ProtoMessage()
func (*MarkAllMessagesReadRequest) ProtoReflect ¶
func (x *MarkAllMessagesReadRequest) ProtoReflect() protoreflect.Message
func (*MarkAllMessagesReadRequest) Reset ¶
func (x *MarkAllMessagesReadRequest) Reset()
func (*MarkAllMessagesReadRequest) String ¶
func (x *MarkAllMessagesReadRequest) String() string
type MarkAllMessagesReadResponse ¶
type MarkAllMessagesReadResponse struct { RowsUpdated []*commons.Message `protobuf:"bytes,1,rep,name=rows_updated,json=rowsUpdated,proto3" json:"rows_updated,omitempty"` // contains filtered or unexported fields }
func (*MarkAllMessagesReadResponse) Descriptor
deprecated
func (*MarkAllMessagesReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarkAllMessagesReadResponse.ProtoReflect.Descriptor instead.
func (*MarkAllMessagesReadResponse) GetRowsUpdated ¶
func (x *MarkAllMessagesReadResponse) GetRowsUpdated() []*commons.Message
func (*MarkAllMessagesReadResponse) ProtoMessage ¶
func (*MarkAllMessagesReadResponse) ProtoMessage()
func (*MarkAllMessagesReadResponse) ProtoReflect ¶
func (x *MarkAllMessagesReadResponse) ProtoReflect() protoreflect.Message
func (*MarkAllMessagesReadResponse) Reset ¶
func (x *MarkAllMessagesReadResponse) Reset()
func (*MarkAllMessagesReadResponse) String ¶
func (x *MarkAllMessagesReadResponse) String() string
type MarkMessageReadRequest ¶
type MarkMessageReadRequest struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // contains filtered or unexported fields }
func (*MarkMessageReadRequest) Descriptor
deprecated
func (*MarkMessageReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarkMessageReadRequest.ProtoReflect.Descriptor instead.
func (*MarkMessageReadRequest) GetMemberId ¶
func (x *MarkMessageReadRequest) GetMemberId() string
func (*MarkMessageReadRequest) GetMessageId ¶
func (x *MarkMessageReadRequest) GetMessageId() string
func (*MarkMessageReadRequest) ProtoMessage ¶
func (*MarkMessageReadRequest) ProtoMessage()
func (*MarkMessageReadRequest) ProtoReflect ¶
func (x *MarkMessageReadRequest) ProtoReflect() protoreflect.Message
func (*MarkMessageReadRequest) Reset ¶
func (x *MarkMessageReadRequest) Reset()
func (*MarkMessageReadRequest) String ¶
func (x *MarkMessageReadRequest) String() string
type MarkMessageReadResponse ¶
type MarkMessageReadResponse struct {
// contains filtered or unexported fields
}
func (*MarkMessageReadResponse) Descriptor
deprecated
func (*MarkMessageReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarkMessageReadResponse.ProtoReflect.Descriptor instead.
func (*MarkMessageReadResponse) ProtoMessage ¶
func (*MarkMessageReadResponse) ProtoMessage()
func (*MarkMessageReadResponse) ProtoReflect ¶
func (x *MarkMessageReadResponse) ProtoReflect() protoreflect.Message
func (*MarkMessageReadResponse) Reset ¶
func (x *MarkMessageReadResponse) Reset()
func (*MarkMessageReadResponse) String ¶
func (x *MarkMessageReadResponse) String() string
type RemoveRoomMemberRequest ¶
type RemoveRoomMemberRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveRoomMemberRequest) Descriptor
deprecated
func (*RemoveRoomMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRoomMemberRequest.ProtoReflect.Descriptor instead.
func (*RemoveRoomMemberRequest) GetRoomId ¶
func (x *RemoveRoomMemberRequest) GetRoomId() string
func (*RemoveRoomMemberRequest) GetUserId ¶
func (x *RemoveRoomMemberRequest) GetUserId() string
func (*RemoveRoomMemberRequest) ProtoMessage ¶
func (*RemoveRoomMemberRequest) ProtoMessage()
func (*RemoveRoomMemberRequest) ProtoReflect ¶
func (x *RemoveRoomMemberRequest) ProtoReflect() protoreflect.Message
func (*RemoveRoomMemberRequest) Reset ¶
func (x *RemoveRoomMemberRequest) Reset()
func (*RemoveRoomMemberRequest) String ¶
func (x *RemoveRoomMemberRequest) String() string
type RemoveRoomMemberResponse ¶
type RemoveRoomMemberResponse struct {
// contains filtered or unexported fields
}
func (*RemoveRoomMemberResponse) Descriptor
deprecated
func (*RemoveRoomMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRoomMemberResponse.ProtoReflect.Descriptor instead.
func (*RemoveRoomMemberResponse) ProtoMessage ¶
func (*RemoveRoomMemberResponse) ProtoMessage()
func (*RemoveRoomMemberResponse) ProtoReflect ¶
func (x *RemoveRoomMemberResponse) ProtoReflect() protoreflect.Message
func (*RemoveRoomMemberResponse) Reset ¶
func (x *RemoveRoomMemberResponse) Reset()
func (*RemoveRoomMemberResponse) String ¶
func (x *RemoveRoomMemberResponse) String() string
type Room303APIClient ¶
type Room303APIClient interface { // Member // // Add a new member to a room, you must be a room admin in order to do that AddRoomMember(ctx context.Context, in *AddRoomMemberRequest, opts ...grpc.CallOption) (*commons.Member, error) // Remove room member (kick), the room member will not receive notifications from that room RemoveRoomMember(ctx context.Context, in *RemoveRoomMemberRequest, opts ...grpc.CallOption) (*RemoveRoomMemberResponse, error) // List the members of this room ListRoomMembers(ctx context.Context, in *ListRoomMembersRequest, opts ...grpc.CallOption) (*ListRoomMembersResponse, error) // Set a room member as admin, you must be a room admin in order to do this. SetAdminForRoomMember(ctx context.Context, in *SetAdminForRoomMemberRequest, opts ...grpc.CallOption) (*SetAdminForRoomMemberResponse, error) // adds new member to a room and does not require the member to be admin JoinRoom(ctx context.Context, in *JoinRoomRequest, opts ...grpc.CallOption) (*commons.Room, error) // gets the member entity from the provided room if it exists GetRoomMember(ctx context.Context, in *GetRoomMemberRequest, opts ...grpc.CallOption) (*commons.Member, error) // Message CreateMessage(ctx context.Context, in *CreateMessageRequest, opts ...grpc.CallOption) (*CreateMessageResponse, error) EditMessage(ctx context.Context, in *EditMessageRequest, opts ...grpc.CallOption) (*EditMessageResponse, error) DeleteMessage(ctx context.Context, in *DeleteMessageRequest, opts ...grpc.CallOption) (*DeleteMessageResponse, error) GetMessages(ctx context.Context, in *GetMessagesRequest, opts ...grpc.CallOption) (*GetMessagesResponse, error) StreamMessageUpdates(ctx context.Context, in *StreamMessageUpdatesRequest, opts ...grpc.CallOption) (Room303API_StreamMessageUpdatesClient, error) GetUnreadStats(ctx context.Context, in *GetUnreadStatsRequest, opts ...grpc.CallOption) (*GetUnreadStatsResponse, error) MarkMessageRead(ctx context.Context, in *MarkMessageReadRequest, opts ...grpc.CallOption) (*MarkMessageReadResponse, error) MarkAllMessagesRead(ctx context.Context, in *MarkAllMessagesReadRequest, opts ...grpc.CallOption) (*MarkAllMessagesReadResponse, error) BulkMarkMessageRead(ctx context.Context, in *BulkMarkMessageReadRequest, opts ...grpc.CallOption) (*BulkMarkMessageReadResponse, error) // Room CreateRoom(ctx context.Context, in *CreateRoomRequest, opts ...grpc.CallOption) (*commons.Room, error) GetRoom(ctx context.Context, in *GetRoomRequest, opts ...grpc.CallOption) (*commons.Room, error) ListAllRooms(ctx context.Context, in *ListAllRoomsRequest, opts ...grpc.CallOption) (*ListRoomsResponse, error) ListRoomsForMember(ctx context.Context, in *ListRoomsForMemberRequest, opts ...grpc.CallOption) (*ListRoomsResponse, error) ArchiveRoom(ctx context.Context, in *ArchiveRoomRequest, opts ...grpc.CallOption) (*commons.Room, error) }
Room303APIClient is the client API for Room303API 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 NewRoom303APIClient ¶
func NewRoom303APIClient(cc grpc.ClientConnInterface) Room303APIClient
type Room303APIServer ¶
type Room303APIServer interface { // Member // // Add a new member to a room, you must be a room admin in order to do that AddRoomMember(context.Context, *AddRoomMemberRequest) (*commons.Member, error) // Remove room member (kick), the room member will not receive notifications from that room RemoveRoomMember(context.Context, *RemoveRoomMemberRequest) (*RemoveRoomMemberResponse, error) // List the members of this room ListRoomMembers(context.Context, *ListRoomMembersRequest) (*ListRoomMembersResponse, error) // Set a room member as admin, you must be a room admin in order to do this. SetAdminForRoomMember(context.Context, *SetAdminForRoomMemberRequest) (*SetAdminForRoomMemberResponse, error) // adds new member to a room and does not require the member to be admin JoinRoom(context.Context, *JoinRoomRequest) (*commons.Room, error) // gets the member entity from the provided room if it exists GetRoomMember(context.Context, *GetRoomMemberRequest) (*commons.Member, error) // Message CreateMessage(context.Context, *CreateMessageRequest) (*CreateMessageResponse, error) EditMessage(context.Context, *EditMessageRequest) (*EditMessageResponse, error) DeleteMessage(context.Context, *DeleteMessageRequest) (*DeleteMessageResponse, error) GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error) StreamMessageUpdates(*StreamMessageUpdatesRequest, Room303API_StreamMessageUpdatesServer) error GetUnreadStats(context.Context, *GetUnreadStatsRequest) (*GetUnreadStatsResponse, error) MarkMessageRead(context.Context, *MarkMessageReadRequest) (*MarkMessageReadResponse, error) MarkAllMessagesRead(context.Context, *MarkAllMessagesReadRequest) (*MarkAllMessagesReadResponse, error) BulkMarkMessageRead(context.Context, *BulkMarkMessageReadRequest) (*BulkMarkMessageReadResponse, error) // Room CreateRoom(context.Context, *CreateRoomRequest) (*commons.Room, error) GetRoom(context.Context, *GetRoomRequest) (*commons.Room, error) ListAllRooms(context.Context, *ListAllRoomsRequest) (*ListRoomsResponse, error) ListRoomsForMember(context.Context, *ListRoomsForMemberRequest) (*ListRoomsResponse, error) ArchiveRoom(context.Context, *ArchiveRoomRequest) (*commons.Room, error) // contains filtered or unexported methods }
Room303APIServer is the server API for Room303API service. All implementations must embed UnimplementedRoom303APIServer for forward compatibility
type Room303API_StreamMessageUpdatesClient ¶
type Room303API_StreamMessageUpdatesClient interface { Recv() (*StreamMessageUpdatesResponse, error) grpc.ClientStream }
type Room303API_StreamMessageUpdatesServer ¶
type Room303API_StreamMessageUpdatesServer interface { Send(*StreamMessageUpdatesResponse) error grpc.ServerStream }
type SetAdminForRoomMemberRequest ¶
type SetAdminForRoomMemberRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*SetAdminForRoomMemberRequest) Descriptor
deprecated
func (*SetAdminForRoomMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAdminForRoomMemberRequest.ProtoReflect.Descriptor instead.
func (*SetAdminForRoomMemberRequest) GetRoomId ¶
func (x *SetAdminForRoomMemberRequest) GetRoomId() string
func (*SetAdminForRoomMemberRequest) GetUserId ¶
func (x *SetAdminForRoomMemberRequest) GetUserId() string
func (*SetAdminForRoomMemberRequest) ProtoMessage ¶
func (*SetAdminForRoomMemberRequest) ProtoMessage()
func (*SetAdminForRoomMemberRequest) ProtoReflect ¶
func (x *SetAdminForRoomMemberRequest) ProtoReflect() protoreflect.Message
func (*SetAdminForRoomMemberRequest) Reset ¶
func (x *SetAdminForRoomMemberRequest) Reset()
func (*SetAdminForRoomMemberRequest) String ¶
func (x *SetAdminForRoomMemberRequest) String() string
type SetAdminForRoomMemberResponse ¶
type SetAdminForRoomMemberResponse struct {
// contains filtered or unexported fields
}
func (*SetAdminForRoomMemberResponse) Descriptor
deprecated
func (*SetAdminForRoomMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAdminForRoomMemberResponse.ProtoReflect.Descriptor instead.
func (*SetAdminForRoomMemberResponse) ProtoMessage ¶
func (*SetAdminForRoomMemberResponse) ProtoMessage()
func (*SetAdminForRoomMemberResponse) ProtoReflect ¶
func (x *SetAdminForRoomMemberResponse) ProtoReflect() protoreflect.Message
func (*SetAdminForRoomMemberResponse) Reset ¶
func (x *SetAdminForRoomMemberResponse) Reset()
func (*SetAdminForRoomMemberResponse) String ¶
func (x *SetAdminForRoomMemberResponse) String() string
type StreamMessageUpdatesRequest ¶
type StreamMessageUpdatesRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // contains filtered or unexported fields }
func (*StreamMessageUpdatesRequest) Descriptor
deprecated
func (*StreamMessageUpdatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamMessageUpdatesRequest.ProtoReflect.Descriptor instead.
func (*StreamMessageUpdatesRequest) GetMemberId ¶
func (x *StreamMessageUpdatesRequest) GetMemberId() string
func (*StreamMessageUpdatesRequest) GetRoomId ¶
func (x *StreamMessageUpdatesRequest) GetRoomId() string
func (*StreamMessageUpdatesRequest) ProtoMessage ¶
func (*StreamMessageUpdatesRequest) ProtoMessage()
func (*StreamMessageUpdatesRequest) ProtoReflect ¶
func (x *StreamMessageUpdatesRequest) ProtoReflect() protoreflect.Message
func (*StreamMessageUpdatesRequest) Reset ¶
func (x *StreamMessageUpdatesRequest) Reset()
func (*StreamMessageUpdatesRequest) String ¶
func (x *StreamMessageUpdatesRequest) String() string
type StreamMessageUpdatesResponse ¶
type StreamMessageUpdatesResponse struct { Message *commons.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*StreamMessageUpdatesResponse) Descriptor
deprecated
func (*StreamMessageUpdatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamMessageUpdatesResponse.ProtoReflect.Descriptor instead.
func (*StreamMessageUpdatesResponse) GetMessage ¶
func (x *StreamMessageUpdatesResponse) GetMessage() *commons.Message
func (*StreamMessageUpdatesResponse) ProtoMessage ¶
func (*StreamMessageUpdatesResponse) ProtoMessage()
func (*StreamMessageUpdatesResponse) ProtoReflect ¶
func (x *StreamMessageUpdatesResponse) ProtoReflect() protoreflect.Message
func (*StreamMessageUpdatesResponse) Reset ¶
func (x *StreamMessageUpdatesResponse) Reset()
func (*StreamMessageUpdatesResponse) String ¶
func (x *StreamMessageUpdatesResponse) String() string
type UnimplementedRoom303APIServer ¶
type UnimplementedRoom303APIServer struct { }
UnimplementedRoom303APIServer must be embedded to have forward compatible implementations.
func (UnimplementedRoom303APIServer) AddRoomMember ¶
func (UnimplementedRoom303APIServer) AddRoomMember(context.Context, *AddRoomMemberRequest) (*commons.Member, error)
func (UnimplementedRoom303APIServer) ArchiveRoom ¶
func (UnimplementedRoom303APIServer) ArchiveRoom(context.Context, *ArchiveRoomRequest) (*commons.Room, error)
func (UnimplementedRoom303APIServer) BulkMarkMessageRead ¶
func (UnimplementedRoom303APIServer) BulkMarkMessageRead(context.Context, *BulkMarkMessageReadRequest) (*BulkMarkMessageReadResponse, error)
func (UnimplementedRoom303APIServer) CreateMessage ¶
func (UnimplementedRoom303APIServer) CreateMessage(context.Context, *CreateMessageRequest) (*CreateMessageResponse, error)
func (UnimplementedRoom303APIServer) CreateRoom ¶
func (UnimplementedRoom303APIServer) CreateRoom(context.Context, *CreateRoomRequest) (*commons.Room, error)
func (UnimplementedRoom303APIServer) DeleteMessage ¶
func (UnimplementedRoom303APIServer) DeleteMessage(context.Context, *DeleteMessageRequest) (*DeleteMessageResponse, error)
func (UnimplementedRoom303APIServer) EditMessage ¶
func (UnimplementedRoom303APIServer) EditMessage(context.Context, *EditMessageRequest) (*EditMessageResponse, error)
func (UnimplementedRoom303APIServer) GetMessages ¶
func (UnimplementedRoom303APIServer) GetMessages(context.Context, *GetMessagesRequest) (*GetMessagesResponse, error)
func (UnimplementedRoom303APIServer) GetRoom ¶
func (UnimplementedRoom303APIServer) GetRoom(context.Context, *GetRoomRequest) (*commons.Room, error)
func (UnimplementedRoom303APIServer) GetRoomMember ¶
func (UnimplementedRoom303APIServer) GetRoomMember(context.Context, *GetRoomMemberRequest) (*commons.Member, error)
func (UnimplementedRoom303APIServer) GetUnreadStats ¶
func (UnimplementedRoom303APIServer) GetUnreadStats(context.Context, *GetUnreadStatsRequest) (*GetUnreadStatsResponse, error)
func (UnimplementedRoom303APIServer) JoinRoom ¶
func (UnimplementedRoom303APIServer) JoinRoom(context.Context, *JoinRoomRequest) (*commons.Room, error)
func (UnimplementedRoom303APIServer) ListAllRooms ¶
func (UnimplementedRoom303APIServer) ListAllRooms(context.Context, *ListAllRoomsRequest) (*ListRoomsResponse, error)
func (UnimplementedRoom303APIServer) ListRoomMembers ¶
func (UnimplementedRoom303APIServer) ListRoomMembers(context.Context, *ListRoomMembersRequest) (*ListRoomMembersResponse, error)
func (UnimplementedRoom303APIServer) ListRoomsForMember ¶
func (UnimplementedRoom303APIServer) ListRoomsForMember(context.Context, *ListRoomsForMemberRequest) (*ListRoomsResponse, error)
func (UnimplementedRoom303APIServer) MarkAllMessagesRead ¶
func (UnimplementedRoom303APIServer) MarkAllMessagesRead(context.Context, *MarkAllMessagesReadRequest) (*MarkAllMessagesReadResponse, error)
func (UnimplementedRoom303APIServer) MarkMessageRead ¶
func (UnimplementedRoom303APIServer) MarkMessageRead(context.Context, *MarkMessageReadRequest) (*MarkMessageReadResponse, error)
func (UnimplementedRoom303APIServer) RemoveRoomMember ¶
func (UnimplementedRoom303APIServer) RemoveRoomMember(context.Context, *RemoveRoomMemberRequest) (*RemoveRoomMemberResponse, error)
func (UnimplementedRoom303APIServer) SetAdminForRoomMember ¶
func (UnimplementedRoom303APIServer) SetAdminForRoomMember(context.Context, *SetAdminForRoomMemberRequest) (*SetAdminForRoomMemberResponse, error)
func (UnimplementedRoom303APIServer) StreamMessageUpdates ¶
func (UnimplementedRoom303APIServer) StreamMessageUpdates(*StreamMessageUpdatesRequest, Room303API_StreamMessageUpdatesServer) error
type UnsafeRoom303APIServer ¶
type UnsafeRoom303APIServer interface {
// contains filtered or unexported methods
}
UnsafeRoom303APIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to Room303APIServer will result in compilation errors.