根据这篇文章:https://developers.facebook.com/docs/messenger-platform/reference/buttons/game-play/我可以使用“SERIALIZED_JSON_PAYLOAD”和“此数据将被发送到游戏”的按钮发布参数“payload”。我如何才能在游戏中收到这些数据?
你可以在游戏中使用getEntryPointData来访问有效载荷。请注意,它必须是有效的JSON才能工作。
getEntryPointData