scope property

BotCommandScope get scope

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

BotCommandScope get scope {
  try {
    if (rawData["scope"] is Map == false) {
      return BotCommandScope({});
    }
    return BotCommandScope(rawData["scope"] as Map);
  } catch (e) {
    return BotCommandScope({});
  }
}
set scope (BotCommandScope value)

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

set scope(BotCommandScope value) {
  rawData["scope"] = value.toJson();
}