BotInfo
public struct BotInfo : Codable, Equatable, FunctionResult
Provides information about a bot and its supported commands
-
Long description shown on the user info page
Declaration
Swift
public let description: String -
A list of commands supported by the bot
Declaration
Swift
public let commands: [BotCommand] -
Provides information about a bot and its supported commands
Declaration
Swift
public init(description: String, commands: [BotCommand])Parameters
descriptionLong description shown on the user info page
commandsA list of commands supported by the bot
View on GitHub
Install in Dash
BotInfo Structure Reference