UserRoutes
Signature
export interface UserRoutesProperties
1Methods
0No methods.
Properties
users: { (id: string): { get(args?: RestArgumentsNoBody): Promise<RESTGetAPIUserResult>; }; (id: '@me'): { get(args?: RestArgumentsNoBody): Promise<RESTGetAPICurrentUserResult>; patch(args: RestArguments<RESTPatchAPICurrentUserJSONBody>): Promise<RESTPatchAPICurrentUserResult>; guilds: { get(args?: RestArgumentsNoBody<RESTGetAPICurrentUserGuildsQuery>): Promise<RESTGetAPICurrentUserGuildsResult>; (id: string): { member: { get(args?: RestArgumentsNoBody): Promise<RESTGetCurrentUserGuildMemberResult>; }; delete(args?: RestArgumentsNoBody): Promise<RESTDeleteAPIGuildResult>; }; }; channels: { post(args: RestArguments<RESTPostAPICurrentUserCreateDMChannelJSONBody>): Promise<APIDMChannel>; }; connections: { get(args?: RestArgumentsNoBody): Promise<RESTGetAPICurrentUserConnectionsResult>; }; applications(applicationId: string): { 'role-connection': { get(args?: RestArgumentsNoBody): Promise<RESTGetAPICurrentUserApplicationRoleConnectionResult>; put(args: RestArguments<RESTPutAPICurrentUserApplicationRoleConnectionJSONBody>): Promise<RESTPutAPICurrentUserApplicationRoleConnectionResult>; }; }; };};