Create generic class collection
Client
Private #objectsPrivate #storageReadonly clientReadonly getReadonly updateCreate a new instance of an object
Id
Type
Instance
Context
Optional data: unknownData
Get or create
Id
Data
Bot Id
Optional analytics?: booleanWhether to enable analytics
Optional discoverable?: booleanWhether this bot should be publicly discoverable
Optional flags?: numberFormat: uint32
Enum of bot flags
Optional interactions_Reserved; URL for handling interactions
User Id of the bot owner
Optional privacy_URL for privacy policy
Whether the bot is public (may be invited by anyone)
Optional terms_URL for terms of service
Token used to authenticate requests for this bot
Bot
Map the collection using a given callback
Callback
Generated using TypeDoc
Collection of Bots