ApplicationsAPI

export declare class ApplicationsAPI
export declare class ApplicationsAPI

No summary provided.

constructor(rest)
Constructs a new instance of the ApplicationsAPI class
NameTypeOptionalDescription
restRESTNoNone
editCurrent(body, options?):Promise<APIApplication>
Edits properties of the application associated with the requesting bot user.
NameTypeOptionalDescription
bodyRESTPatchCurrentApplicationJSONBodyNoThe new application data
optionsPick<RequestData, 'signal'>YesThe options for editing the application
getCurrent(options?):Promise<APIApplication>
Fetches the application associated with the requesting bot user.
NameTypeOptionalDescription
optionsPick<RequestData, 'signal'>YesThe options for fetching the application