export declare class UsersAPI
createDMuserId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<APIChannel> (
Opens a new DM channel with a user
See also: https://discord.com/developers/docs/resources/user#create-dmundefined
editoptions?: Pick<RequestData, 'signal'>) : Promise<APIUser> (
Edits the current user
See also: https://discord.com/developers/docs/resources/user#modify-current-userundefined
editCurrentGuildMemberguildId: Snowflakeoptions?: Pick<RequestData, 'reason' | 'signal'>) : Promise<APIGuildMember> (
Edits the guild member for the current user
See also: https://discord.com/developers/docs/resources/guild#modify-current-memberundefined
getuserId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<APIUser> (
Fetches a user by their id
See also: https://discord.com/developers/docs/resources/user#get-userundefined
getApplicationRoleConnectionapplicationId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<APIApplicationRoleConnection> (
Gets the current user's active application role connection
See also: https://discord.com/developers/docs/resources/user#get-user-application-role-connectionundefined
getConnectionsoptions?: Pick<RequestData, 'signal'>) : Promise<RESTGetAPICurrentUserConnectionsResult> (
Gets the current user's connections
See also: https://discord.com/developers/docs/resources/user#get-user-connectionsundefined
getCurrentoptions?: Pick<RequestData, 'signal'>) : Promise<APIUser> (
Returns the user object of the requester's account
See also: https://discord.com/developers/docs/resources/user#get-current-userundefined
getGuildMemberguildId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<APIGuildMember> (
Fetches the guild member for the current user
See also: https://discord.com/developers/docs/resources/user#get-current-user-guild-memberundefined
getGuildsquery?: RESTGetAPICurrentUserGuildsQueryoptions?: Pick<RequestData, 'signal'>) : Promise<RESTGetAPICurrentUserGuildsResult> (
Returns a list of partial guild objects the current user is a member of
See also: https://discord.com/developers/docs/resources/user#get-current-user-guildsundefined
leaveGuildguildId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<void> (
Leaves the guild with the given id
See also: https://discord.com/developers/docs/resources/user#leave-guildundefined
updateApplicationRoleConnectionapplicationId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<APIApplicationRoleConnection> (
Updates the current user's application role connection
See also: https://discord.com/developers/docs/resources/user#update-user-application-role-connectionundefined