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-dm
editoptions?: Pick<RequestData, 'signal'>) : Promise<APIUser> (
Edits the current user
See also: https://discord.com/developers/docs/resources/user#modify-current-user
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-member
getuserId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<APIUser> (
Fetches a user by their id
See also: https://discord.com/developers/docs/resources/user#get-user
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-connection
getConnectionsoptions?: Pick<RequestData, 'signal'>) : Promise<RESTGetAPICurrentUserConnectionsResult> (
Gets the current user's connections
See also: https://discord.com/developers/docs/resources/user#get-user-connections
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-user
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-member
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-guilds
leaveGuildguildId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<void> (
Leaves the guild with the given id
See also: https://discord.com/developers/docs/resources/user#leave-guild
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-connection