UNPKG

@coze/api

Version:

Official Coze Node.js SDK for seamless AI integration into your applications | 扣子官方 Node.js SDK,助您轻松集成 AI 能力到应用中

35 lines (34 loc) 825 B
import { APIResource } from '../resource'; import { type RequestOptions } from '../../core'; /** * User model representing a user's information */ export interface User { /** * The unique identifier of the user */ user_id: string; /** * The username of the user */ user_name: string; /** * The nickname of the user */ nick_name: string; /** * The URL of the user's avatar */ avatar_url: string; } /** * Users client for interacting with user-related APIs */ export declare class Users extends APIResource { /** * Get information about the authenticated user. * @param options - Optional request configuration options. * @returns Information about the authenticated user. */ me(options?: RequestOptions): Promise<User>; }