UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

21 lines (20 loc) 442 B
export default class ControlMessage { constructor(s, t) { (this.triggerId = s), (this.messageExtras = t), (this.triggerId = s), (this.messageExtras = t), (this.extras = {}), (this.isControl = !0), (this.kt = !1); } static fromJson(s) { return new ControlMessage(s.trigger_id, s.message_extras); } Qt() { return !this.kt && ((this.kt = !0), !0); } Ur() { return this.kt; } }