[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003ecast.framework.system.Message\u003c/code\u003e objects represent custom messages received from a sender application.\u003c/p\u003e\n"],["\u003cp\u003eUse \u003ccode\u003ecast.framework.CastReceiverContext#addCustomMessageListener\u003c/code\u003e to listen for these custom message events.\u003c/p\u003e\n"],["\u003cp\u003eMessages contain a \u003ccode\u003etype\u003c/code\u003e (always "message"), a \u003ccode\u003esenderId\u003c/code\u003e, and a \u003ccode\u003edata\u003c/code\u003e payload with the message content.\u003c/p\u003e\n"]]],[],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).[system](/cast/docs/reference/web_receiver/cast.framework.system).Message \nclass static\n\nA custom message received from a sender. To listen for custom events use the\n[cast.framework.CastReceiverContext#addCustomMessageListener](/cast/docs/reference/web_receiver/cast.framework.CastReceiverContext#addCustomMessageListener) method.\n\nConstructor\n\nMessage\n\nnew\nMessage(type, senderId, data)\n\n| Parameter ||\n|----------|-------------------------------------------------------|\n| type | string The message type. It is always \"message\". |\n| senderId | string The sender ID. |\n| data | any type The message payload. Value must not be null. |\n\nProperties\n\ndata \nconstant\n\nnon-null any type\n\nThe message payload.\n\nsenderId \nconstant\n\nstring\n\nThe sender ID.\n\ntype\n\n\u003cbr /\u003e\n\nThe message type. It is always \"message\"."]]