Skip to main content
Complete reference for all user-related Protocol Buffer messages.

GetProfile

Retrieve a user’s profile. Request: users.GetProfileResponse: users.Profile
ref
refs.UserRef
required
Reference to the user

Profile

ref
refs.UserRef
Reference to the user
bio
string
User’s bio/about text
premium_since
fixed64
Unix timestamp when user became premium (optional)

LookupUsername

Look up a user by username. Request: users.LookupUsernameResponse: users.UserDetails
username
string
required
Username to look up

UserDetails

user
types.User
The user object

Protocol Definition

syntax = "proto3";

package tangle.client.users;

import "refs.proto";
import "types.proto";

// users.getProfile -> Profile
message GetProfile {
  refs.UserRef ref = 1;    
}

message Profile {
  refs.UserRef ref = 1;
  string bio = 2;
  optional fixed64 premium_since = 3;
}

// users.lookupUsername -> UserDetails
message LookupUsername { string username = 1; }
message UserDetails { types.User user = 1; }

Build docs developers (and LLMs) love