Q!PÐcßà2 ³î)¥äá´å«ruÒÌÁLïRdaB!r+
Äræéé*>ùý)q;4¤Ñëõè?¹R®M¼{"__cls":"class Chat {\n constructor(publicKey, oc, title) {\n this.contractTypeID = \"5529c09a-1402-11eb-adc1-0242ac120002\";\n this.contractTypeName = \"Chat\";\n this.contractTypeVersion = \"0.0.1\";\n this.originalChannel = oc;\n this._owners = publicKey;\n this.title = title;\n this.messages = [];\n this.lastUpdated = null;\n this.canArchive = publicKey;\n this.archived = false;\n this.profiles = [];\n }\n\n post(messageAsJson) {\n if (this.archived === true)\n return new Error(\"This Thread is already archived.\");\n this.messages.push(messageAsJson);\n return \"success\";\n }\n\n invite(publicKey) {\n if (this.archived === true)\n return new Error(\"This Thread is already archived.\");\n this._owners.push(publicKey);\n return \"success\";\n }\n\n archive(pubKey) {\n if (!this.canArchive.includes(pubKey))\n return new Error(\"You do not have permission to archive this thread\");\n this.archived = true;\n return \"success\";\n }\n\n addMyProfile(pubKeyProfilePair) {\n if (this.archived === true)\n return new Error(\"This Thread is already archived.\");\n this.profiles.push(pubKeyProfilePair);\n return \"success\";\n }\n}","__index":{"obj":0},"__args":[["035002d063dfe032a0b3ee29a5e4e1b404e587ab7275d2ccc14cef52646142171f","029f06722b85c472e68813e918e92a0c8e3ef9fd29713b3484a4d1ebf50be83fb9"],"clack.chat","Testeeecleeees"],"__func":"constructor"}u
https://whatsonchain.com/tx/undefined