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
description
Long description shown on the user info page
commands
A list of commands supported by the bot