typings/lib2/messagev2/action/shareAction.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShareAction = void 0;
const internal_1 = require("../internal");
/**
 * Represents a share action.
 * @extends Action
 */
class ShareAction extends internal_1.Action {
    /**
     * Creates a new instance of the ShareAction class.
     * @param label - The label of the share action.
     */
    constructor(label) {
        super(label);
        this.type = 'share';
    }
}
exports.ShareAction = ShareAction;