jamespot-user-api
Preparing search index...
JExtraBotApi
Class JExtraBotApi
Hierarchy (
View Summary
)
JBaseApi
JExtraBotApi
Index
Constructors
constructor
Properties
j
Api
network
Methods
create
Bot
generate
Prompt
list
update
Bot
Constructors
constructor
new
JExtraBotApi
(
jApi
:
JamespotUserApi
)
:
JExtraBotApi
Parameters
jApi
:
JamespotUserApi
Returns
JExtraBotApi
Properties
j
Api
jApi
:
JamespotUserApi
network
network
:
Network
Methods
create
Bot
createBot
(
uri
:
string
,
signal
?:
AbortSignal
,
)
:
Promise
<
ApiWrapper
<
jUserLittle
,
BaseMessages
>
>
Parameters
uri
:
string
Optional
signal
:
AbortSignal
Returns
Promise
<
ApiWrapper
<
jUserLittle
,
BaseMessages
>
>
generate
Prompt
generatePrompt
(
signal
?:
AbortSignal
)
:
Promise
<
ApiWrapper
<
string
,
BaseMessages
>
>
Parameters
Optional
signal
:
AbortSignal
Returns
Promise
<
ApiWrapper
<
string
,
BaseMessages
>
>
list
list
<
F
extends
"raw-little"
|
"raw-list"
|
"raw-view"
=
VIEW
,
T
extends
string
|
number
|
symbol
=
never
,
>
(
type
:
"all"
|
"mines"
,
payload
:
ListQueryParameters
,
options
?:
{
signal
?:
AbortSignal
}
,
)
:
PromiseApiPagingResults
<
Articles
<
F
,
T
>
>
Type Parameters
F
extends
"raw-little"
|
"raw-list"
|
"raw-view"
=
VIEW
T
extends
string
|
number
|
symbol
=
never
Parameters
type
:
"all"
|
"mines"
payload
:
ListQueryParameters
Optional
options
:
{
signal
?:
AbortSignal
}
Returns
PromiseApiPagingResults
<
Articles
<
F
,
T
>
>
update
Bot
updateBot
(
uriConfiguration
:
string
,
signal
?:
AbortSignal
,
)
:
Promise
<
ApiWrapper
<
jUserLittle
,
BaseMessages
>
>
Parameters
uriConfiguration
:
string
Optional
signal
:
AbortSignal
Returns
Promise
<
ApiWrapper
<
jUserLittle
,
BaseMessages
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
j
Api
network
Methods
create
Bot
generate
Prompt
list
update
Bot
jamespot-user-api
Loading...