jormungandr-bite/packages/iceshrimp-js/markdown/iceshrimp-js.entities.userlite.md
2023-07-21 19:33:01 +02:00

982 B

Home > iceshrimp-js > entities > UserLite

entities.UserLite type

Signature:

export declare type UserLite = {
	id: ID;
	username: string;
	host: string | null;
	name: string;
	onlineStatus: "online" | "active" | "offline" | "unknown";
	avatarUrl: string;
	avatarBlurhash: string;
	alsoKnownAs: string[];
	movedToUri: any;
	emojis: {
		name: string;
		url: string;
	}[];
	instance?: {
		name: Instance["name"];
		softwareName: Instance["softwareName"];
		softwareVersion: Instance["softwareVersion"];
		iconUrl: Instance["iconUrl"];
		faviconUrl: Instance["faviconUrl"];
		themeColor: Instance["themeColor"];
	};
};

References: ID, Instance