@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
14 lines (13 loc) • 358 B
TypeScript
import type { IUser } from '../../definition/users';
type ClientUserInfo = Pick<IUser, 'id' | 'username'>;
/**
* Represents the user's information returned to
* the external component.
*/
export interface IExternalComponentUserInfo extends ClientUserInfo {
/**
* the avatar URL of the Rocket.Chat user
*/
avatarUrl: string;
}
export {};