tgsnake
Version:
Telegram MTProto framework for nodejs.
21 lines (20 loc) • 503 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Dice = void 0;
const TL_js_1 = require("../../TL.js");
class Dice extends TL_js_1.TLObject {
emoji;
value;
constructor({ emoji, value, }, client) {
super(client);
this.emoji = emoji;
this.value = value;
}
static parse(client, dice) {
return new Dice({
emoji: dice.emoticon,
value: dice.value,
}, client);
}
}
exports.Dice = Dice;