typings/lib2/messagev2/action/locationAction.js

  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.LocationAction = void 0;
  4. const internal_1 = require("../internal");
  5. /**
  6. * Represents a geo location action.
  7. * @extends Action
  8. */
  9. class LocationAction extends internal_1.Action {
  10. /**
  11. * Creates an instance of LocationAction.
  12. * @param label - The label of the location action.
  13. */
  14. constructor(label) {
  15. super(label);
  16. this.type = 'location';
  17. }
  18. }
  19. exports.LocationAction = LocationAction;