CommandsKeeperKey

value class CommandsKeeperKey(val key: Pair<BotCommandScope, String?>)

Full info about the command scope including BotCommandScope and its optional language code (see languageCode and languageCodeIetf)

See also

Constructors

Link copied to clipboard
fun CommandsKeeperKey(scope: BotCommandScope = BotCommandScope.Default, languageCode: String? = null)
Link copied to clipboard
fun CommandsKeeperKey(scope: BotCommandScope, languageCode: IetfLanguageCode)
Link copied to clipboard
fun CommandsKeeperKey(key: Pair<BotCommandScope, String?>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val key: Pair<BotCommandScope, String?>
Link copied to clipboard
val languageCode: String?
Link copied to clipboard
val languageCodeIetf: IetfLanguageCode?
Link copied to clipboard
val scope: BotCommandScope

Sources

Link copied to clipboard