Get desktop application:
View/edit binary Protocol Buffers messages
ID ID is a unique identifier for a Resource. An example: userID := ID{ Key: "748d31e2-5732-4cb5-8bc9-64d4ad51efe8", Type: "user", } The ID has two elements for several reasons. First, by storing the Type we know which service to query for additional info on the Resource. Second, while a Key may be unique for a particular resource (e.g. channel), it might not be unique across all resources. We need something universally unique across the entire Synnax Core.
Used in:
type defines the type of resource the key refers to. For example, a channel is a resource of type "channel". A user is a resource of type "user".
key is the unique key identifying the resource within its type.
ResourceType is the type of the resource.
Used in: