tjc-sdk
Version:
TIANJI IM SDK
2 lines (1 loc) • 374 B
JavaScript
import t from"./notificationMessageContent.js";import{MessageContentType as e}from"../messageContentType.js";class s extends t{tip="";constructor(t){super(e.Tip_Notification),this.tip=t}formatNotification(){return this.tip}digest(){return this.tip}encode(){let t=super.encode();return t.content=this.tip,t}decode(t){super.decode(t),this.tip=t.content}}export{s as default};