Cotton code
12 lines · 1.3 KB · JSONRaw
{"thread":"t1","header":{"name":"Book club","picture":{"initials":"BC","tint":3},"group":true,"source":"cotton","status":"6 members"}, "items":[{"item":"day","label":"Today"},{"item":"unread","label":"2 unread messages"},          {"item":"event","message":"e1","text":"Asha made the group"},          {"item":"bubble","message":"m1","mine":false,"kind":"text","text":"Hi","head":true,"tail":true,"time":"09:41",           "sender":{"name":"Asha Menon","picture":{"photo":"p:asha","initials":"AM","tint":1},"tint":1},"pinned":false,           "reactions":[{"emoji":"👍","count":2,"mine":true}],"actions":["reply","react","copy","forward","pin","select"]}], "older":"60","unread":2,"jump":{"count":2,"label":"Jump to latest"}, "composer":{"thread":"t1","text":"","placeholder":"Message","button":"idle","buttonLabel":"Send","attach":true,"attachLabel":"Attach",             "sendEnabled":false,"dictate":true,"dictateLabel":"Dictate","returnSends":false,"hardwareReturnSends":true}, "request":{"title":"Asha wants to message you","line":"They won't know you've seen this until you reply.","accept":"Accept","block":"Block","refuse":"Delete"}, "actions":{"reply":"Reply","react":"React","copy":"Copy","forward":"Forward","edit":"Edit","delete":"Delete","pin":"Pin",            "unpin":"Unpin","select":"Select","copied":"Copied","emoji":["👍","❤️"]}}