Class: default
client/apis/PresenceAPI.default
Hierarchy
↳ default
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new default(client
: default): default
Parameters:
Name | Type |
---|---|
client |
default |
Returns: default
Inherited from: default
Defined in: client/apis/PresenceAPI.ts:28
Properties
client
• client: default
Inherited from: default.client
Defined in: client/apis/BaseAPI.ts:25
options
• options: BaseAPIOptions
Inherited from: default.options
Defined in: client/apis/BaseAPI.ts:26
Methods
getUsersPresences
▸ getUsersPresences(options
: GetUsersPresencesOptions): Promise<GetUsersPresences>
Parameters:
Name | Type |
---|---|
options |
GetUsersPresencesOptions |
Returns: Promise<GetUsersPresences>
Defined in: client/apis/PresenceAPI.ts:49
registerAppPresence
▸ registerAppPresence(options
: RegisterAppPresenceOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
RegisterAppPresenceOptions |
Returns: Promise<unknown>
Defined in: client/apis/PresenceAPI.ts:36
request
▸ request(options
: BaseAPIRequestOptions): Promise<RESTResponseDataType>
Parameters:
Name | Type |
---|---|
options |
BaseAPIRequestOptions |
Returns: Promise<RESTResponseDataType>
Inherited from: default
Defined in: client/apis/BaseAPI.ts:33