BotCommand

public struct BotCommand : Codable, Equatable, FunctionResult

Represents commands supported by a bot

  • Text of the bot command

    Declaration

    Swift

    public let command: String
  • Description of the bot command

    Declaration

    Swift

    public let description: String
  • Represents commands supported by a bot

    Declaration

    Swift

    public init(command: String, description: String)

    Parameters

    command

    Text of the bot command

    description

    Description of the bot command