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 GetGlobalConfigRequest
- type GetGlobalConfigResponse
- func (*GetGlobalConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGlobalConfigResponse) GetConfig() *commons.GlobalConfig
- func (x *GetGlobalConfigResponse) GetDateCreated() *timestamppb.Timestamp
- func (x *GetGlobalConfigResponse) GetEditedBy() string
- func (x *GetGlobalConfigResponse) GetLastEdited() *timestamppb.Timestamp
- func (*GetGlobalConfigResponse) ProtoMessage()
- func (x *GetGlobalConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetGlobalConfigResponse) Reset()
- func (x *GetGlobalConfigResponse) 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 ListUsersNamesRequest
- func (*ListUsersNamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersNamesRequest) GetAgent() bool
- func (x *ListUsersNamesRequest) GetArchivedFilter() commons.UserArchivedStateFilter
- func (x *ListUsersNamesRequest) GetOrgId() string
- func (*ListUsersNamesRequest) ProtoMessage()
- func (x *ListUsersNamesRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersNamesRequest) Reset()
- func (x *ListUsersNamesRequest) String() string
- type ListUsersNamesResponse
- func (*ListUsersNamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersNamesResponse) GetUserDetails() []*UserDetails
- func (*ListUsersNamesResponse) ProtoMessage()
- func (x *ListUsersNamesResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersNamesResponse) Reset()
- func (x *ListUsersNamesResponse) 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_ListUsersNamesClient
- type Room303API_ListUsersNamesServer
- 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) GetGlobalConfig(context.Context, *GetGlobalConfigRequest) (*GetGlobalConfigResponse, 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) ListUsersNames(*ListUsersNamesRequest, Room303API_ListUsersNamesServer) 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
- func (UnimplementedRoom303APIServer) UpdateGlobalConfig(context.Context, *UpdateGlobalConfigRequest) (*UpdateGlobalConfigResponse, error)
- func (UnimplementedRoom303APIServer) UpdateRoomConfig(context.Context, *UpdateRoomConfigRequest) (*commons.Room, error)
- type UnsafeRoom303APIServer
- type UpdateGlobalConfigRequest
- func (*UpdateGlobalConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGlobalConfigRequest) GetConfig() *commons.GlobalConfig
- func (x *UpdateGlobalConfigRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (*UpdateGlobalConfigRequest) ProtoMessage()
- func (x *UpdateGlobalConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGlobalConfigRequest) Reset()
- func (x *UpdateGlobalConfigRequest) String() string
- type UpdateGlobalConfigResponse
- func (*UpdateGlobalConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGlobalConfigResponse) GetConfig() *commons.GlobalConfig
- func (x *UpdateGlobalConfigResponse) GetDateCreated() *timestamppb.Timestamp
- func (x *UpdateGlobalConfigResponse) GetEditedBy() string
- func (x *UpdateGlobalConfigResponse) GetLastEdited() *timestamppb.Timestamp
- func (*UpdateGlobalConfigResponse) ProtoMessage()
- func (x *UpdateGlobalConfigResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateGlobalConfigResponse) Reset()
- func (x *UpdateGlobalConfigResponse) String() string
- type UpdateRoomConfigRequest
- func (*UpdateRoomConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoomConfigRequest) GetConfig() *commons.RoomConfig
- func (x *UpdateRoomConfigRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *UpdateRoomConfigRequest) GetRoomId() string
- func (*UpdateRoomConfigRequest) ProtoMessage()
- func (x *UpdateRoomConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoomConfigRequest) Reset()
- func (x *UpdateRoomConfigRequest) String() string
- type UserDetails
- func (*UserDetails) Descriptor() ([]byte, []int)deprecated
- func (x *UserDetails) GetFirstName() string
- func (x *UserDetails) GetLastName() string
- func (x *UserDetails) GetUserId() string
- func (x *UserDetails) GetUserName() string
- func (*UserDetails) ProtoMessage()
- func (x *UserDetails) ProtoReflect() protoreflect.Message
- func (x *UserDetails) Reset()
- func (x *UserDetails) String() string
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" Room303API_ListUsersNames_FullMethodName = "/api.v1alpha1.room303.Room303API/ListUsersNames" Room303API_UpdateRoomConfig_FullMethodName = "/api.v1alpha1.room303.Room303API/UpdateRoomConfig" Room303API_UpdateGlobalConfig_FullMethodName = "/api.v1alpha1.room303.Room303API/UpdateGlobalConfig" Room303API_GetGlobalConfig_FullMethodName = "/api.v1alpha1.room303.Room303API/GetGlobalConfig" )
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, }, { MethodName: "UpdateRoomConfig", Handler: _Room303API_UpdateRoomConfig_Handler, }, { MethodName: "UpdateGlobalConfig", Handler: _Room303API_UpdateGlobalConfig_Handler, }, { MethodName: "GetGlobalConfig", Handler: _Room303API_GetGlobalConfig_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamMessageUpdates", Handler: _Room303API_StreamMessageUpdates_Handler, ServerStreams: true, }, { StreamName: "ListUsersNames", Handler: _Room303API_ListUsersNames_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 GetGlobalConfigRequest ¶ added in v1.7.43
type GetGlobalConfigRequest struct {
// contains filtered or unexported fields
}
request to get global configuration
func (*GetGlobalConfigRequest) Descriptor
deprecated
added in
v1.7.43
func (*GetGlobalConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGlobalConfigRequest.ProtoReflect.Descriptor instead.
func (*GetGlobalConfigRequest) ProtoMessage ¶ added in v1.7.43
func (*GetGlobalConfigRequest) ProtoMessage()
func (*GetGlobalConfigRequest) ProtoReflect ¶ added in v1.7.43
func (x *GetGlobalConfigRequest) ProtoReflect() protoreflect.Message
func (*GetGlobalConfigRequest) Reset ¶ added in v1.7.43
func (x *GetGlobalConfigRequest) Reset()
func (*GetGlobalConfigRequest) String ¶ added in v1.7.43
func (x *GetGlobalConfigRequest) String() string
type GetGlobalConfigResponse ¶ added in v1.7.43
type GetGlobalConfigResponse struct { // last edited_by user EditedBy string `protobuf:"bytes,1,opt,name=edited_by,json=editedBy,proto3" json:"edited_by,omitempty"` // global configuration details Config *commons.GlobalConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // date created DateCreated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // last edited on LastEdited *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_edited,json=lastEdited,proto3" json:"last_edited,omitempty"` // contains filtered or unexported fields }
response to get global configuration
func (*GetGlobalConfigResponse) Descriptor
deprecated
added in
v1.7.43
func (*GetGlobalConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGlobalConfigResponse.ProtoReflect.Descriptor instead.
func (*GetGlobalConfigResponse) GetConfig ¶ added in v1.7.43
func (x *GetGlobalConfigResponse) GetConfig() *commons.GlobalConfig
func (*GetGlobalConfigResponse) GetDateCreated ¶ added in v1.7.43
func (x *GetGlobalConfigResponse) GetDateCreated() *timestamppb.Timestamp
func (*GetGlobalConfigResponse) GetEditedBy ¶ added in v1.7.43
func (x *GetGlobalConfigResponse) GetEditedBy() string
func (*GetGlobalConfigResponse) GetLastEdited ¶ added in v1.7.43
func (x *GetGlobalConfigResponse) GetLastEdited() *timestamppb.Timestamp
func (*GetGlobalConfigResponse) ProtoMessage ¶ added in v1.7.43
func (*GetGlobalConfigResponse) ProtoMessage()
func (*GetGlobalConfigResponse) ProtoReflect ¶ added in v1.7.43
func (x *GetGlobalConfigResponse) ProtoReflect() protoreflect.Message
func (*GetGlobalConfigResponse) Reset ¶ added in v1.7.43
func (x *GetGlobalConfigResponse) Reset()
func (*GetGlobalConfigResponse) String ¶ added in v1.7.43
func (x *GetGlobalConfigResponse) 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 ListUsersNamesRequest ¶ added in v1.7.16
type ListUsersNamesRequest struct { // Filter by org ID. OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Return a list of only user agents (users whose default app is agent). When this is false all users are returned. Agent bool `protobuf:"varint,2,opt,name=agent,proto3" json:"agent,omitempty"` // Filter by the user's archived status ArchivedFilter commons.UserArchivedStateFilter `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
Request message for the ListUsersNames rpc.
func (*ListUsersNamesRequest) Descriptor
deprecated
added in
v1.7.16
func (*ListUsersNamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersNamesRequest.ProtoReflect.Descriptor instead.
func (*ListUsersNamesRequest) GetAgent ¶ added in v1.7.16
func (x *ListUsersNamesRequest) GetAgent() bool
func (*ListUsersNamesRequest) GetArchivedFilter ¶ added in v1.7.16
func (x *ListUsersNamesRequest) GetArchivedFilter() commons.UserArchivedStateFilter
func (*ListUsersNamesRequest) GetOrgId ¶ added in v1.7.16
func (x *ListUsersNamesRequest) GetOrgId() string
func (*ListUsersNamesRequest) ProtoMessage ¶ added in v1.7.16
func (*ListUsersNamesRequest) ProtoMessage()
func (*ListUsersNamesRequest) ProtoReflect ¶ added in v1.7.16
func (x *ListUsersNamesRequest) ProtoReflect() protoreflect.Message
func (*ListUsersNamesRequest) Reset ¶ added in v1.7.16
func (x *ListUsersNamesRequest) Reset()
func (*ListUsersNamesRequest) String ¶ added in v1.7.16
func (x *ListUsersNamesRequest) String() string
type ListUsersNamesResponse ¶ added in v1.7.16
type ListUsersNamesResponse struct { // List of returned users with names and ids UserDetails []*UserDetails `protobuf:"bytes,1,rep,name=user_details,json=userDetails,proto3" json:"user_details,omitempty"` // contains filtered or unexported fields }
Response message for the ListUsersNames rpc.
func (*ListUsersNamesResponse) Descriptor
deprecated
added in
v1.7.16
func (*ListUsersNamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersNamesResponse.ProtoReflect.Descriptor instead.
func (*ListUsersNamesResponse) GetUserDetails ¶ added in v1.7.16
func (x *ListUsersNamesResponse) GetUserDetails() []*UserDetails
func (*ListUsersNamesResponse) ProtoMessage ¶ added in v1.7.16
func (*ListUsersNamesResponse) ProtoMessage()
func (*ListUsersNamesResponse) ProtoReflect ¶ added in v1.7.16
func (x *ListUsersNamesResponse) ProtoReflect() protoreflect.Message
func (*ListUsersNamesResponse) Reset ¶ added in v1.7.16
func (x *ListUsersNamesResponse) Reset()
func (*ListUsersNamesResponse) String ¶ added in v1.7.16
func (x *ListUsersNamesResponse) 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) // ListUsersNames returns a list of users with names and ids ListUsersNames(ctx context.Context, in *ListUsersNamesRequest, opts ...grpc.CallOption) (Room303API_ListUsersNamesClient, error) // allow room configurations to be updated UpdateRoomConfig(ctx context.Context, in *UpdateRoomConfigRequest, opts ...grpc.CallOption) (*commons.Room, error) // update global configuration UpdateGlobalConfig(ctx context.Context, in *UpdateGlobalConfigRequest, opts ...grpc.CallOption) (*UpdateGlobalConfigResponse, error) // get global configuration GetGlobalConfig(ctx context.Context, in *GetGlobalConfigRequest, opts ...grpc.CallOption) (*GetGlobalConfigResponse, 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) // ListUsersNames returns a list of users with names and ids ListUsersNames(*ListUsersNamesRequest, Room303API_ListUsersNamesServer) error // allow room configurations to be updated UpdateRoomConfig(context.Context, *UpdateRoomConfigRequest) (*commons.Room, error) // update global configuration UpdateGlobalConfig(context.Context, *UpdateGlobalConfigRequest) (*UpdateGlobalConfigResponse, error) // get global configuration GetGlobalConfig(context.Context, *GetGlobalConfigRequest) (*GetGlobalConfigResponse, error) // contains filtered or unexported methods }
Room303APIServer is the server API for Room303API service. All implementations must embed UnimplementedRoom303APIServer for forward compatibility
type Room303API_ListUsersNamesClient ¶ added in v1.7.16
type Room303API_ListUsersNamesClient interface { Recv() (*ListUsersNamesResponse, error) grpc.ClientStream }
type Room303API_ListUsersNamesServer ¶ added in v1.7.16
type Room303API_ListUsersNamesServer interface { Send(*ListUsersNamesResponse) error grpc.ServerStream }
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) GetGlobalConfig ¶ added in v1.7.43
func (UnimplementedRoom303APIServer) GetGlobalConfig(context.Context, *GetGlobalConfigRequest) (*GetGlobalConfigResponse, 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) ListUsersNames ¶ added in v1.7.16
func (UnimplementedRoom303APIServer) ListUsersNames(*ListUsersNamesRequest, Room303API_ListUsersNamesServer) 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
func (UnimplementedRoom303APIServer) UpdateGlobalConfig ¶ added in v1.7.43
func (UnimplementedRoom303APIServer) UpdateGlobalConfig(context.Context, *UpdateGlobalConfigRequest) (*UpdateGlobalConfigResponse, error)
func (UnimplementedRoom303APIServer) UpdateRoomConfig ¶ added in v1.7.43
func (UnimplementedRoom303APIServer) UpdateRoomConfig(context.Context, *UpdateRoomConfigRequest) (*commons.Room, 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.
type UpdateGlobalConfigRequest ¶ added in v1.7.43
type UpdateGlobalConfigRequest struct { // global configuration details Config *commons.GlobalConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // list of global config options to be updated FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
request to update global configuration
func (*UpdateGlobalConfigRequest) Descriptor
deprecated
added in
v1.7.43
func (*UpdateGlobalConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGlobalConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateGlobalConfigRequest) GetConfig ¶ added in v1.7.43
func (x *UpdateGlobalConfigRequest) GetConfig() *commons.GlobalConfig
func (*UpdateGlobalConfigRequest) GetFieldMask ¶ added in v1.7.43
func (x *UpdateGlobalConfigRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*UpdateGlobalConfigRequest) ProtoMessage ¶ added in v1.7.43
func (*UpdateGlobalConfigRequest) ProtoMessage()
func (*UpdateGlobalConfigRequest) ProtoReflect ¶ added in v1.7.43
func (x *UpdateGlobalConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateGlobalConfigRequest) Reset ¶ added in v1.7.43
func (x *UpdateGlobalConfigRequest) Reset()
func (*UpdateGlobalConfigRequest) String ¶ added in v1.7.43
func (x *UpdateGlobalConfigRequest) String() string
type UpdateGlobalConfigResponse ¶ added in v1.7.43
type UpdateGlobalConfigResponse struct { // last edited_by user EditedBy string `protobuf:"bytes,1,opt,name=edited_by,json=editedBy,proto3" json:"edited_by,omitempty"` // global configuration details Config *commons.GlobalConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // date created DateCreated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date_created,json=dateCreated,proto3" json:"date_created,omitempty"` // last edited on LastEdited *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_edited,json=lastEdited,proto3" json:"last_edited,omitempty"` // contains filtered or unexported fields }
response to update global configuration
func (*UpdateGlobalConfigResponse) Descriptor
deprecated
added in
v1.7.43
func (*UpdateGlobalConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGlobalConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateGlobalConfigResponse) GetConfig ¶ added in v1.7.43
func (x *UpdateGlobalConfigResponse) GetConfig() *commons.GlobalConfig
func (*UpdateGlobalConfigResponse) GetDateCreated ¶ added in v1.7.43
func (x *UpdateGlobalConfigResponse) GetDateCreated() *timestamppb.Timestamp
func (*UpdateGlobalConfigResponse) GetEditedBy ¶ added in v1.7.43
func (x *UpdateGlobalConfigResponse) GetEditedBy() string
func (*UpdateGlobalConfigResponse) GetLastEdited ¶ added in v1.7.43
func (x *UpdateGlobalConfigResponse) GetLastEdited() *timestamppb.Timestamp
func (*UpdateGlobalConfigResponse) ProtoMessage ¶ added in v1.7.43
func (*UpdateGlobalConfigResponse) ProtoMessage()
func (*UpdateGlobalConfigResponse) ProtoReflect ¶ added in v1.7.43
func (x *UpdateGlobalConfigResponse) ProtoReflect() protoreflect.Message
func (*UpdateGlobalConfigResponse) Reset ¶ added in v1.7.43
func (x *UpdateGlobalConfigResponse) Reset()
func (*UpdateGlobalConfigResponse) String ¶ added in v1.7.43
func (x *UpdateGlobalConfigResponse) String() string
type UpdateRoomConfigRequest ¶ added in v1.7.43
type UpdateRoomConfigRequest struct { // room id RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // room configuration details Config *commons.RoomConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // list of config options to be updated FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
request to update room configuration
func (*UpdateRoomConfigRequest) Descriptor
deprecated
added in
v1.7.43
func (*UpdateRoomConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoomConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoomConfigRequest) GetConfig ¶ added in v1.7.43
func (x *UpdateRoomConfigRequest) GetConfig() *commons.RoomConfig
func (*UpdateRoomConfigRequest) GetFieldMask ¶ added in v1.7.43
func (x *UpdateRoomConfigRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*UpdateRoomConfigRequest) GetRoomId ¶ added in v1.7.43
func (x *UpdateRoomConfigRequest) GetRoomId() string
func (*UpdateRoomConfigRequest) ProtoMessage ¶ added in v1.7.43
func (*UpdateRoomConfigRequest) ProtoMessage()
func (*UpdateRoomConfigRequest) ProtoReflect ¶ added in v1.7.43
func (x *UpdateRoomConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoomConfigRequest) Reset ¶ added in v1.7.43
func (x *UpdateRoomConfigRequest) Reset()
func (*UpdateRoomConfigRequest) String ¶ added in v1.7.43
func (x *UpdateRoomConfigRequest) String() string
type UserDetails ¶ added in v1.7.10
type UserDetails struct { // The ID of the user UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The name of the user. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // user first name FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` // user last name LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` // contains filtered or unexported fields }
wrapper for listing user names with ids
func (*UserDetails) Descriptor
deprecated
added in
v1.7.10
func (*UserDetails) Descriptor() ([]byte, []int)
Deprecated: Use UserDetails.ProtoReflect.Descriptor instead.
func (*UserDetails) GetFirstName ¶ added in v1.7.16
func (x *UserDetails) GetFirstName() string
func (*UserDetails) GetLastName ¶ added in v1.7.16
func (x *UserDetails) GetLastName() string
func (*UserDetails) GetUserId ¶ added in v1.7.16
func (x *UserDetails) GetUserId() string
func (*UserDetails) GetUserName ¶ added in v1.7.16
func (x *UserDetails) GetUserName() string
func (*UserDetails) ProtoMessage ¶ added in v1.7.10
func (*UserDetails) ProtoMessage()
func (*UserDetails) ProtoReflect ¶ added in v1.7.10
func (x *UserDetails) ProtoReflect() protoreflect.Message
func (*UserDetails) Reset ¶ added in v1.7.10
func (x *UserDetails) Reset()
func (*UserDetails) String ¶ added in v1.7.10
func (x *UserDetails) String() string