Skip to main content

Load from Bot Data

Category: Processing

Description: Allows your bot to load and remember information. You can load a piece of data (like text or a number) with a unique "key" (a name for the data). You can also choose to associate this data with a specific user or chat.

Text​

Inputs​

NameTypeRequiredDescription
KeytexttrueThe unique identifier or variable name to load the data from
User IDnumberfalseThe user identifier to scope the data
Chat IDnumberfalseThe chat identifier to scope the data

Outputs​

NameTypeDescription
DatatextThe loaded data

Output Event Triggers​

Name
Success
Not Found

Number​

Inputs​

NameTypeRequiredDescription
KeytexttrueThe unique identifier or variable name to load the data from
User IDnumberfalseThe user identifier to scope the data
Chat IDnumberfalseThe chat identifier to scope the data

Outputs​

NameTypeDescription
DatanumberThe loaded data

Output Event Triggers​

Name
Success
Not Found

Boolean​

Inputs​

NameTypeRequiredDescription
KeytexttrueThe unique identifier or variable name to load the data from
User IDnumberfalseThe user identifier to scope the data
Chat IDnumberfalseThe chat identifier to scope the data

Outputs​

NameTypeDescription
DatabooleanThe loaded data

Output Event Triggers​

Name
Success
Not Found

Text Array​

Inputs​

NameTypeRequiredDescription
KeytexttrueThe unique identifier or variable name to load the data from
User IDnumberfalseThe user identifier to scope the data
Chat IDnumberfalseThe chat identifier to scope the data

Outputs​

NameTypeDescription
Datatext-arrayThe loaded data

Output Event Triggers​

Name
Success
Not Found

Number Array​

Inputs​

NameTypeRequiredDescription
KeytexttrueThe unique identifier or variable name to load the data from
User IDnumberfalseThe user identifier to scope the data
Chat IDnumberfalseThe chat identifier to scope the data

Outputs​

NameTypeDescription
Datanumber-arrayThe loaded data

Output Event Triggers​

Name
Success
Not Found

JSON​

Inputs​

NameTypeRequiredDescription
KeytexttrueThe unique identifier or variable name to load the data from
User IDnumberfalseThe user identifier to scope the data
Chat IDnumberfalseThe chat identifier to scope the data

Outputs​

NameTypeDescription
DatajsonThe loaded data

Output Event Triggers​

Name
Success
Not Found