mirror of
https://github.com/hexastack/hexabot
synced 2025-02-22 20:38:32 +00:00
docs: add context var docs
This commit is contained in:
parent
418510aab2
commit
7771969deb
@ -29,6 +29,11 @@ export class ContextVar extends BaseSchema {
|
|||||||
})
|
})
|
||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The permanent attribute allows the chatbot to know where to store the context variable.
|
||||||
|
* If the context variable is not permanent, it will be stored in the converation context, which is temporary.
|
||||||
|
* If the context variable is permanent, it will be stored in the subscriber context, which is permanent.
|
||||||
|
*/
|
||||||
@Prop({
|
@Prop({
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user