[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (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,["# Class: Message\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[system](/cast/docs/reference/web_receiver/cast.framework.system).Message\n============================================================================================================================================\n\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-----------\n\n### Message\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----------\n\n### data\n\nconstant\n\nnon-null any type\n\nThe message payload.\n\n### senderId\n\nconstant\n\nstring\n\nThe sender ID.\n\n### type\n\n\u003cbr /\u003e\n\nThe message type. It is always \"message\"."]]